* search.c (Freplace_match): Treat \? in the replacement text literally.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9e3b7800 12012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2
3 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4 indentation declaration.
5 (viper-loop): Add indentation declaration (Bug#7025).
6
e5d9c0d1
CY
72012-08-05 Chong Yidong <cyd@gnu.org>
8
f0422feb
CY
9 * help-fns.el (describe-variable): Add hyperlink for
10 directory-local variables files. Improve buffer-local and
11 permanent-local reporting; suggested by MON KEY (Bug#6644).
12
13 * help-mode.el (help-dir-local-var-def): New button type.
14
e5d9c0d1
CY
15 * files.el (kill-buffer-hook): Provide a defvar.
16
a4f2deaa
GM
172012-08-05 Glenn Morris <rgm@gnu.org>
18
19 * eshell/esh-ext.el (eshell/addpath):
20 Also update eshell-path-env. (Bug#12013)
21
a9dd5754
CY
222012-08-05 Chong Yidong <cyd@gnu.org>
23
a4f2deaa 24 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 25
d014c740
CY
26 * fringe.el (fringe-styles): Add docstring.
27 (fringe--check-mode): New function.
28 (set-fringe-mode, set-fringe-style): Use it.
29 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
30
a9dd5754
CY
31 * files.el (set-auto-mode): Fix invalid setq call.
32
7c2dc8bd
SM
332012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * isearch.el: Misc simplification; use defstruct.
36 (isearch-mode-map): Dense maps now work like sparse ones.
37 (isearch--state): New defstruct.
38 (isearch-string-state, isearch-message-state, isearch-point-state)
39 (isearch-success-state, isearch-forward-state)
40 (isearch-other-end-state, isearch-word-state, isearch-error-state)
41 (isearch-wrapped-state, isearch-barrier-state)
42 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
43 replaced by defstruct's accessors.
44 (isearch--set-state): Rename from isearch-top-state and change
45 calling convention.
46 (isearch-push-state): Use new isearch--get-state.
47 (isearch-toggle-word): Disable regexp when enabling word.
48 (isearch-message-prefix): Remove unused arg _c-q-hack.
49 (isearch-message-suffix): Remove unused arg _ellipsis.
50
7fcc0070
AS
512012-08-04 Andreas Schwab <schwab@linux-m68k.org>
52
53 * simple.el (list-processes--refresh): For a server use :host or
54 :local as the address.
97ad0769 55 (list-processes): Doc fix.
7fcc0070 56
00340faf
MN
572012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
58
59 * lisp/mpc.el: Support password in host argument.
60 (mpc--proc-connect): Parse and use new password element.
61 Set mpc-proc variable instead of returning process.
62 (mpc-proc): Adjust accordingly.
63
6dad7178
EZ
642012-08-03 Eli Zaretskii <eliz@gnu.org>
65
18949c2f
EZ
66 * whitespace.el (whitespace-display-mappings): Use Unicode
67 codepoints, instead of emacs-mule codepoints. See
68 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
69 for the details.
70
6dad7178
EZ
71 * files.el (file-truename): Don't skip symlink-chasing part on
72 windows-nt. Incorporate the resolution of 8+3 short aliases on
73 Windows into the loop that recursively chases symlinks. Compare
74 directory and its parent case-insensitively on MS-Windows and
75 MS-DOS.
76
385b0198
CY
772012-08-03 Chong Yidong <cyd@gnu.org>
78
6200f3c4
CY
79 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
80
385b0198
CY
81 * sort.el (sort-regexp-fields): Doc fix.
82
b9e74744
TH
832012-08-03 Tassilo Horn <tsdh@gnu.org>
84
85 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
86 labels regex position point at the expected place.
87
41013cb4
MK
882012-08-03 MON KEY <monkey@sandpframing.com>
89
90 * net/imap.el (imap-interactive-login, imap-authenticate)
91 (imap-mailbox-lsub, imap-mailbox-list)
92 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
93 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
94 (imap-parse-response): Doc fix.
95
0ffee616
JT
962012-08-03 João Távora <joaotavora@gmail.com>
97
98 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
99 if sexp scanning does not move point (Bug#5734).
100
cfcc9cc8
TH
1012012-08-02 Tassilo Horn <tsdh@gnu.org>
102
103 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
104 Add listings, minted, and ctable packages.
105 (reftex-label-alist-builtin): Move listings, minted, and ctable
106 entries before LaTeX.
a01bbb84 107 (reftex-label-alist): Docfix.
cfcc9cc8 108
66ec2442
BG
1092012-08-02 Bastien Guerry <bzg@gnu.org>
110
111 * replace.el (occur): Fix docstring (bug#12122).
112
837b365b
GM
1132012-08-02 Glenn Morris <rgm@gnu.org>
114
115 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
116
e098de97
PE
1172012-08-02 Paul Eggert <eggert@cs.ucla.edu>
118
119 Obsolete alias inactivate-current-input-method-function (Bug#10150).
120 * international/mule-cmds.el: Create
121 inactivate-current-input-method-function as an obsolete alias for
122 deactivate-current-input-method-function. See Katsumi Yamaoka in
123 <http://bugs.gnu.org/10150#46>.
124
a0f95636
JB
1252012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
126
127 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
128 of nested `if's.
129
0d26d7c4
GM
1302012-08-01 Glenn Morris <rgm@gnu.org>
131
132 * progmodes/autoconf.el (autoconf-definition-regexp):
133 Add AH_TEMPLATE, adjust submatch numbering.
134 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
135 (autoconf-current-defun-function): Update for above change.
136 (autoconf-current-defun-function): First skip to end of current word.
137
b686ba06
RS
1382012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
139
140 * calendar/cal-html.el (cal-html-insert-agenda-days):
141 Fix typo. (Bug#12018)
142
0d49da68
FEG
1432012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
144
145 Shell processes: enhancements to startup and CEDET compatibility.
146 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
147 (python-shell-make-comint): accept-process-output at startup.
148 (run-python-internal): Set inferior-python-mode-hook to nil.
149 (python-shell-internal-get-or-create-process): call sit-for.
150 (python-preoutput-result): Add obsolete alias.
151 (python-shell-internal-send-string): Use it.
152 (python-shell-send-setup-code): Remove call to
153 accept-process-output.
154
f1a71c6e
AS
1552012-07-31 Andreas Schwab <schwab@linux-m68k.org>
156
157 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
158 (Bug#12108)
159
d2605269
JB
1602012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
161
162 * calc-mode.el (calc-basic-simplification-mode): Rename from
163 `calc-limited-simplification-mode'.
164 (calc-alg-simplification-mode): New function.
d66060f8 165 (calc-set-simplify-mode): Adjust message.
f1a71c6e 166
d2605269
JB
167 * calc.el (calc-set-mode-line): Adjust mode line display for
168 basic simplification mode.
169
170 * calc-help.el (calc-m-prefix-help): Update help message.
171
172 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
173 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
174
a3827a43
BG
1752012-07-31 Bastien Guerry <bzg@gnu.org>
176
177 * man.el (man): Fix comment. (bug#12101)
178
502e3f89
MR
1792012-07-31 Martin Rudalics <rudalics@gmx.at>
180
181 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
182 Don't return a non-nil value when no suitable buffer was found.
183
d7714961
FEG
1842012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
185
186 * progmodes/python.el (run-python-internal): Disable font lock for
187 internal shells.
188
1f45e27e
SM
1892012-07-30 Stefan Merten <smerten@oekonux.de>
190
191 * rst.el: Silence `checkdoc-ispell'.
192 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
193 (rst-official-version, rst-official-cvs-rev)
194 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
195 (rst-mode-map): New key binding.
196
0aee6912
PE
1972012-07-30 Paul Eggert <eggert@cs.ucla.edu>
198
199 Update .PHONY listings in makefiles.
200 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
201 autoloads, update-subdirs, updates, bzr-update, update-authors,
202 compile-onefile, compile-calc, backup-compiled-files,
203 compile-after-backup, compile-one-process, mh-autoloads,
204 bootstrap-clean, distclean, maintainer-clean.
205
9052f9f0
JB
2062012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
207
1823ac5a
JB
208 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
209 (calc-set-mode-line): Don't display "AlgSimp ".
210
211 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
212 (calc-lim-simplify-mode): New function.
213 (calc-set-simplify-mode): Default to 'alg.
214 (calc-default-simplify-mode): Make algebraic simplifications
215 the default.
216
217 * calc/calc-ext.el (calc-init-extensions): Remove binding for
218 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
219
8d7c7eed 220 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
221 indicate new simplification modes.
222
1823ac5a
JB
223 * calc/README: Mention new default simplification mode.
224
9052f9f0
JB
225 * calc/calc.el (math-normalize-error): New variable.
226 (math-normalize): Set `math-normalize-error' to t
227 when there's an error.
228
229 * calc/calc-alg.el (math-simplify): Don't simplify when
230 `math-normalize' returns an error.
231
20ba0cb4
EZ
2322012-07-29 Eli Zaretskii <eliz@gnu.org>
233
234 * international/mule-cmds.el (set-locale-environment): Revert last
235 change, since display-graphic-p returns nil when this function is
236 called during startup. Instead...
237
238 * term/w32console.el (terminal-init-w32console): ...setup the
239 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
240
a5dcc929
JL
2412012-07-29 Juri Linkov <juri@jurta.org>
242
243 * simple.el (goto-line): Don't display default line number in the
244 prompt because it should be displayed by `read-number' (bug#9952).
245 Add the current line number to the defaults of `goto-line' to
246 allow its easier modification by users with `M-n' (bug#9201).
247
248 * subr.el (read-number): Support multiple default values like in
249 other minibuffer reading functions. Replace `read' with
250 `string-to-number' for consistency with `number-to-string'.
251
72b255c7
PE
2522012-07-29 Paul Eggert <eggert@cs.ucla.edu>
253
254 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
255 * emulation/viper-init.el (viper-deactivate-input-method-action):
256 Rename from viper-inactivate-input-method-action.
257 (viper-deactivate-input-method):
258 Rename from viper-inactivate-input-method.
259 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
260 * international/mule-cmds.el (deactivate-input-method):
261 Rename from inactivate-input-method.
262 Also run input-method-deactivate-hook.
263 (deactivate-current-input-method-function):
264 Rename from inactivate-current-input-method-function.
265 (input-method-deactivate-hook): New hook.
266 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
267 (inactivate-input-method): Mark obsolete.
268
72b255c7
PE
269 * international/quail.el (quail-activate):
270 Also run quail-deactivate-hook.
271 (quail-deactivate): Rename from quail-inactivate.
272 * international/robin.el (robin-activate):
273 Also run robin-deactivate-hook.
274 (robin-deactivate): Rename from robin-inactivate.
275
2549c068
CY
2762012-07-29 Chong Yidong <cyd@gnu.org>
277
278 * simple.el (indicate-copied-region): New function.
279 (kill-ring-save): Split off from here.
280
281 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
282 (kill-rectangle): Set deactivate-mark to t on read-only error.
283
284 * register.el (copy-to-register, copy-rectangle-to-register):
285 Deactivate the mark, and use indicate-copied-region (Bug#10056).
286 (append-to-register, prepend-to-register): Call
287
17711ed9
JL
2882012-07-29 Juri Linkov <juri@jurta.org>
289
290 * simple.el (async-shell-command-buffer): New defcustom.
291 (shell-command): Use it. (Bug#4719)
292
01bd1b0d
EZ
2932012-07-28 Eli Zaretskii <eliz@gnu.org>
294
295 * international/mule-cmds.el (set-locale-environment): In a
296 console session on MS-Windows, set up keyboard and terminal
297 encoding from the OEM codepage, not the ANSI codepage.
298 (Bug#12055)
299
a55739d3
CY
3002012-07-28 Chong Yidong <cyd@gnu.org>
301
302 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
303 gdb-get-location.
304
9a0f8f2e
LL
3052012-07-25 Leo Liu <sdl.web@gmail.com>
306
307 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
308 the alist (bug#12029).
309
20329d73
EZ
3102012-07-28 Eli Zaretskii <eliz@gnu.org>
311
312 * makefile.w32-in (custom-deps, finder-data, updates, compile)
313 (compile-always, compile-first)
314 ($(lisp)/calendar/cal-loaddefs.el)
315 ($(lisp)/calendar/diary-loaddefs.el)
316 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
317 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
318 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
319 instead of on update-subdirs.
320 (bootstrap-clean): Delete $(lisp)/subdirs.el.
321
345a2258
CY
3222012-07-28 Chong Yidong <cyd@gnu.org>
323
1eee6341
CY
324 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
325 directory if vc-deduce-backend returns nil (Bug#7350).
326
345a2258
CY
327 * simple.el (delete-trailing-lines): New option.
328 (delete-trailing-whitespace): Obey it (Bug#11879).
329
049a0936
DE
3302012-07-28 David Engster <deng@randomsample.de>
331
332 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
333 Explanation of new 'symbol-qnames feature in doc-strings.
334 (xml-maybe-do-ns): Return expanded names as plain symbols if
335 'symbol-qnames was provided in XML-NS argument (Bug#11916).
336 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
337
aa81af71
FEG
3382012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
339
340 Consistent completion in inferior python with emacs -nw.
341 * progmodes/python.el (inferior-python-mode): replace "<tab>"
342 binding in inferior-python-mode-map with "\t".
343 (python-shell-completion-complete-at-point)
344 (python-completion-complete-at-point): Remove interactive spec.
345
e827b1eb
JB
3462012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
347
348 * calc/calccomp.el (math-compose-expr): Undo previous change.
349
a90dfb95
FEG
3502012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
351
352 * progmodes/python.el (python-mode-map): Added keybinding for
353 run-python.
354 (python-shell-make-comint): Fix pop-to-buffer call.
355 (run-python): Autoload. New arg SHOW.
356 (python-shell-get-or-create-process): Do not pop python process
357 buffer.
358
32770973 3592012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
360
361 * notifications.el (notifications-on-action-signal)
362 (notifications-on-closed-signal): Use also the bus address for the map.
363 (notifications-notify, notifications-close-notification)
364 (notifications-get-capabilities): Add optional argument BUS.
365
86332df2
TH
3662012-07-27 Tassilo Horn <tsdh@gnu.org>
367
368 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
369 support for the lstlisting and minted environments, and for the
370 ctable macro.
371 * textmodes/reftex.el (reftex-compile-variables): Also recognize
372 labels written in keyvals syntax.
373
ca1302a4
JB
3742012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
375
376 * calc/calccomp.el (math-compose-expr): Use parentheses when
377 there is a product in the denominator of a fraction.
378
f8b91036
EZ
3792012-07-26 Eli Zaretskii <eliz@gnu.org>
380
381 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
382 ($(lisp)/calendar/diary-loaddefs.el)
383 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
384 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
385 failures in parallel bootstrap because subdirs.el is being
386 rewritten while the autoload files are built at the same time,
387 which needs to load subdirs.el.
388
c8e5a42c
MR
3892012-07-26 Martin Rudalics <rudalics@gmx.at>
390
391 * mouse.el (popup-menu): Fix doc-string and re-indent code.
392 (mouse-drag-line): Don't exit tracking when a switch-frame or
393 switch-window event occurs (Bug#12006).
394
670d85ea
SM
3952012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * mouse.el (popup-menu): Fix last change.
398
7abaf5cc
SM
3992012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 Autoload from Lisp with more care. Follow aliases when looking for
402 function properties.
403 * subr.el (autoloadp): New function.
404 (symbol-file): Use it.
405 (function-get): New function.
406 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
407 autoload-do-load.
408 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
409 (lisp-indent-function):
410 * emacs-lisp/gv.el (gv-get):
411 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
412 * emacs-lisp/byte-opt.el (byte-optimize-form):
413 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
414 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
415 Use function-get.
416 * emacs-lisp/cl.el: Don't propagate function properties any more.
417
418 * speedbar.el (speedbar-add-localized-speedbar-support):
419 * emacs-lisp/disass.el (disassemble-internal):
420 * desktop.el (desktop-load-file):
421 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
422 (describe-function-1):
423 * emacs-lisp/find-func.el (find-function-noselect):
424 * emacs-lisp/elp.el (elp-instrument-function):
425 * emacs-lisp/advice.el (ad-has-proper-definition):
426 * apropos.el (apropos-safe-documentation, apropos-macrop):
427 * emacs-lisp/debug.el (debug-on-entry):
428 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
429 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
430 * calc/calc.el (name): Use autoloadp & autoload-do-load.
431
b1364986
AA
4322012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
433
434 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
435 function, not an obsolete variable (Bug#12046).
436
67ada220
AS
4372012-07-25 Andreas Schwab <schwab@linux-m68k.org>
438
439 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
440
f08088e3
CS
4412012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
442
443 * emacs-lisp/pp.el (pp-display-expression): Select old selected
444 window only if it is still live (Bug#12034).
445
8137e7b3
MR
4462012-07-25 Martin Rudalics <rudalics@gmx.at>
447
448 * subr.el (redirect-frame-focus): Add advertised calling
449 convention (Bug#12030).
450
09ae5da1
PE
4512012-07-25 Paul Eggert <eggert@cs.ucla.edu>
452
453 Prefer typical American spelling for "acknowledgment".
454 * vc/add-log.el (change-log-acknowledgment): Rename from
455 change-log-acknowledgement, with an alias for the old name.
456
3cc5a3a8
JB
4572012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
458
459 * calc-alg.el (math-simplify-divide): Don't cross multiply
460 in an equation when the lhs is a variable.
461
b7af7f62
JD
4622012-07-24 Julien Danjou <julien@danjou.info>
463
464 * net/netrc.el (netrc-find-service-number, netrc-store-data):
465 Remove, unused.
466
ec1b09b1
EZ
4672012-07-23 Eli Zaretskii <eliz@gnu.org>
468
469 * startup.el (command-line): Don't display an empty user name in
470 the error message about non-existent home directory, when
471 init-file-user was set to an empty string. See
472 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
473 for the details and context.
474
b525fd8a
VB
4752012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
476
477 * ses.el (ses-cell-formula-aset): New macro.
478 (ses-cell-references-aset): New macro.
479 (ses-cell-p): New function.
480 (ses-rename-cell): Do no longer rely on complex operations like
481 ses-cell-set-formula or ses-set-cell to change the cell and handle
482 the undo at the same time, but rather use lower level new macros
483 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
484 the undo directly. Refresh the mode line.
485
2c73e345
LL
4862012-07-21 Leo Liu <sdl.web@gmail.com>
487
670d85ea
SM
488 * progmodes/cc-cmds.el (c-defun-name):
489 Use match-string-no-properties instead for consistency.
2c73e345 490
542dfbde
LL
4912012-07-20 Leo Liu <sdl.web@gmail.com>
492
3646bcd6
LL
493 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
494 (Bug#7879)
495
542dfbde
LL
496 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
497
25721031
CY
4982012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
501 * progmodes/bug-reference.el, misearch.el: Provide themselves
502 (bug#11915).
503
504 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
505 of narrowed buffer (bug#11966).
506
316e68a7
VB
5072012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
508
509 * ses.el (ses-rename-cell): Set new name also in reference list of
510 cells of which the renamed cell depends.
511
bbf0e7d9
MY
5122012-07-20 Masatake YAMATO <yamato@redhat.com>
513
514 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
515 to check whether menu-bar is shown or not. If not shown,
516 show the menu-bar as a popup menu instead of using tmm.
517 * mouse.el (popup-menu): Accept `point' as `position' argument.
518
c28662a8
DG
5192012-07-20 Dmitry Gutov <dgutov@yandex.ru>
520
521 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
522 up inside string symbol literal (bug#11923).
523
87ab808f
EZ
5242012-07-20 Eli Zaretskii <eliz@gnu.org>
525
526 * startup.el (fancy-startup-text): Read the whole tutorial, not
527 just its first 256 bytes. Prevents gibberish in display of the
528 tutorial title.
529
89dea803
DA
5302012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
531
532 Drop idle buffer compaction due to an absence of the
533 proved efficiency.
534 * compact.el: Remove.
535
8a4e6db8
SS
5362012-07-19 Sam Steingold <sds@gnu.org>
537
538 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
539 vc-bzr-pull & vc-bzr-merge-branch.
540 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
541 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
542 for consistency with compilation-error-regexp-alist.
543 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
544 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
545 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
546 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
547
5db81e33
SM
5482012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * emacs-lisp/chart.el: Use lexical-binding.
551 (chart-emacs-storage): Don't hardcode the list of entries.
552
5b835e1d
DA
5532012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
554
555 Next round of tweaks caused by Fgarbage_collect changes.
556 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
557
9cd47b72
DA
5582012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
559
560 Compact buffers when idle.
561 * compact.el: New file.
562
1d6fc0df
SM
5632012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * subr.el (eventp): Presume that if it looks vaguely like an event,
566 it's an event (bug#10190).
567
1d29cc7d
FEG
5682012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
569
570 Enhancements to ppss related code (thanks Stefan).
571 * progmodes/python.el (python-indent-context)
572 (python-indent-calculate-indentation, python-indent-dedent-line)
573 (python-indent-electric-colon, python-nav-forward-block)
574 (python-mode-abbrev-table)
1d6fc0df 575 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
576 for ppss context.
577 (python-info-continuation-line-p): Cleanup.
578 (python-info-ppss-context): Do not catch 'quote.
579 (python-info-ppss-context-type)
580 (python-info-ppss-comment-or-string-p): Simplify.
581
d583cbe6
FEG
5822012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
583
584 * progmodes/python.el: Enhancements to eldoc support.
585 (python-info-current-symbol): New function.
586 (python-eldoc-at-point): Use python-info-current-symbol.
587 (python-info-current-defun): Fix cornercase on first defun scan.
588 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
589 and signal error when no inferior python process is available.
590
eceb6feb
DG
5912012-07-18 Dmitry Gutov <dgutov@yandex.ru>
592
593 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
594 assume it's always t.
595 (vc-git-registered): Remove caching, the function is only called
596 once.
597 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
598
4c8ff0fe
CY
5992012-07-18 Chong Yidong <cyd@gnu.org>
600
19fb7186
CY
601 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
602
9587c688
CY
603 * simple.el (count-words): Report on narrowing (Bug#9959).
604
0fe776a1
CY
605 * bindings.el: Bind M-= to count-words.
606
4c8ff0fe
CY
607 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
608
7f5331cc
MY
6092012-07-18 Masatake YAMATO <yamato@redhat.com>
610
611 * progmodes/sh-script.el (sh-imenu-generic-expression):
612 Capture a function with `function' keyword and without parentheses
613 like "function FOO" (bug#11856).
614
2dc2a609
TH
6152012-07-18 Tassilo Horn <tassilo@member.fsf.org>
616
617 * window.el (split-window-sensibly): Make WINDOW argument
618 optional.
619
439f7677
CY
6202012-07-18 Chong Yidong <cyd@gnu.org>
621
9aeb25a6
CY
622 * subr.el (keyboard-translate): Doc fix (Bug#7261).
623
439f7677
CY
624 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
625 and make C-x 8 RET exit isearch (Bug#11439).
626
627 * international/iso-transl.el: Move isearch-mode-map key
628 definitions to isearch.el.
629
12999ea8
SM
6302012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
633 (eieio-defclass): Use gv-define-setter when possible.
634
3ab6e069
DA
6352012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
636
637 Reflect recent changes in Fgarbage_collect.
638 * emacs-lisp/chart.el (chart-emacs-storage): Change to
639 reflect new format of data returned by Fgarbage_collect.
640
0a60bc10
FEG
6412012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
642
643 New utility functions + python-info-ppss-context fix (Bug#11910).
644 * progmodes/python.el (python-info-beginning-of-block-statement-p)
645 (python-info-ppss-comment-or-string-p): New functions.
646 (python-info-ppss-context): Small fix for string check.
647
6dafa0d5
JL
6482012-07-17 Juri Linkov <juri@jurta.org>
649
650 * dired-aux.el (dired-do-async-shell-command): Doc fix.
651 (dired-do-async-shell-command): Don't add `*' at the end of the
652 command (Bug#11815).
653 (dired-do-shell-command): Doc fix.
654 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
655 Join the individual commands using either "&" or ";" as the
656 separator depending on the values of these trailing characters.
657 At the end re-add the trailing "&". (Bug#10598)
658
659 * simple.el (async-shell-command): Sync the interactive spec with
660 `shell-command'. Doc fix.
661 (shell-command): Doc fix.
662
b19dd9d1
JL
6632012-07-17 Juri Linkov <juri@jurta.org>
664
665 * descr-text.el (describe-char): Fix format args. (Bug#10129)
666
bcdc27d7 6672012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 668
bcdc27d7 669 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
670 * progmodes/python.el (python-nav-beginning-of-statement):
671 Rename from python-nav-statement-start.
bcdc27d7
FEG
672 (python-nav-end-of-statement): Rename from
673 python-nav-statement-end.
674 (python-nav-beginning-of-block): Rename from
675 python-nav-block-start.
676 (python-nav-end-of-block): Rename from python-nav-block-end.
677
191da00e
FEG
6782012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
679
7f5331cc
MY
680 * progmodes/python.el (python-shell-send-string-no-output):
681 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
682 future interactions (Bug#11868).
683
4dc7c8d5 6842012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 685
88ecaf8f
SM
686 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
687
ef501ef0
SM
688 * emacs-lisp/elint.el (elint-find-args-in-code):
689 Use help-function-arglist, so as to handle lexical byte-code.
690
aa7aaf8f
SM
691 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
692 change (bug#11826).
693
45fd731c
SM
6942012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
695
2143fa32
SM
696 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
697 Avoid spuriously marking the buffer as modified because of c-is-sws.
698
efc26dbe
SM
699 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
700 as not-a-comment (bug#11946).
701
f5695c9a
SM
702 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
703 for uninterned vars.
704
705 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
706 Use read-event since we don't really want to read chars but bytes.
707
45fd731c
SM
708 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
709 $$..$$ but also $..$ using regexps (bug#11953).
710 Use tex-verbatim for \url and \path.
711 (tex-font-lock-keywords): Define as defconst like the others.
712 (tex-common-initialization): Don't use font-lock-syntax-table any more.
713
ddfc8813
RK
7142012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
715
716 * international/mule-cmds.el (ucs-insert): Make it an obsolete
717 alias for insert-char.
718
758e556a
FEG
7192012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
720
721 * progmodes/python.el: Simplified imenu implementation.
722 (python-nav-jump-to-defun): Remove command.
723 (python-mode-map): Use `imenu' instead.
724 (python-nav-list-defun-positions-cache)
725 (python-imenu-include-defun-type, python-imenu-make-tree)
726 (python-imenu-subtree-root-label, python-imenu-index-alist):
727 Remove vars.
728 (python-nav-list-defun-positions, python-nav-read-defun)
729 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
730 (python-imenu-make-tree, python-imenu-create-index):
731 Remove functions.
758e556a
FEG
732 (python-mode): Update to interact with imenu by setting
733 `imenu-extract-index-name-function' only.
734
032d23ab
FEG
7352012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
736
737 * progmodes/python.el: Enhancements to navigation commands.
738 (python-nav-backward-sentence)
739 (python-nav-forward-sentence): Remove.
740 (python-nav-backward-statement, python-nav-forward-statement)
741 (python-nav-statement-start, python-nav-statement-end)
742 (python-nav-backward-block, python-nav-forward-block)
743 (python-nav-block-start, python-nav-block-end)
744 (python-nav-forward-sexp-function)
745 (python-info-current-line-comment-p)
746 (python-info-current-line-empty-p): New functions.
747 (python-indent-context): Use `python-nav-statement-start'.
748
01795a1b
MA
7492012-07-16 Michael Albinus <michael.albinus@gmx.de>
750
9328d9aa
MA
751 * eshell/em-ls.el (eshell/ls): Use `apply'.
752
753 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
754 multi-hops, instead of Tramp internals.
755
01795a1b
MA
756 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
757
758 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
759 when F1 and F2 are located on different hosts.
760
63408057
CY
7612012-07-14 Chong Yidong <cyd@gnu.org>
762
763 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
764 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
765 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
766 (xterm-mouse--read-event-sequence-1000)
767 (xterm-mouse--read-event-sequence-1006): New functions. For old
768 mouse protocol, handle M-mouse-X events correctly.
769 (xterm-mouse-event): New arg specifying mouse protocol.
770 (turn-on-xterm-mouse-tracking-on-terminal)
771 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
772 sequence to toggle extended coordinates on newer XTerms.
773 This appears to be harmless on terminals which do not support this.
63408057 774
cd276f6e
LL
7752012-07-14 Leo Liu <sdl.web@gmail.com>
776
28ca98ac
LL
777 Add fringe bitmap indicators for flymake. (Bug#11253)
778 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
779 (flymake-make-overlay): New arg BITMAP.
780 (flymake-error-bitmap, flymake-warning-bitmap)
781 (flymake-fringe-indicator-position): New user variables.
782
cd276f6e
LL
783 * fringe.el: New bitmap exclamation-mark.
784
04408072
JD
7852012-07-14 Jan Djärv <jan.h.d@swipnet.se>
786
787 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
788 also (Bug#7879).
789
b5cf7fc4
CY
7902012-07-14 Chong Yidong <cyd@gnu.org>
791
792 * electric.el (electric-pair-post-self-insert-function): Fix pair
793 insertion in empty-region case (Bug#11520).
794
be755c79
RT
7952012-07-14 Chong Yidong <cyd@gnu.org>
796
45fd731c
SM
797 * bindings.el: Consolidate ctl-x-r-map bindings.
798 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
799
800 * rect.el, register.el: Move bindings to bindings.el.
801
8022012-07-14 Reuben Thomas <rrt@sc3d.org>
803
804 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
805
7f5b3198
AS
8062012-07-13 Andreas Schwab <schwab@linux-m68k.org>
807
808 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
809
97662200
JB
8102012-07-13 Juanma Barranquero <lekktu@gmail.com>
811
80185fed
JB
812 * bindings.el (top): Use `mapc' instead of `mapcar'.
813
97662200
JB
814 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
815
2bb1ae55
MA
8162012-07-13 Michael Albinus <michael.albinus@gmx.de>
817
818 * progmodes/sql.el (sql-comint): Suppress the check for program on
819 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
820 (Bug#11908)
821
dea31bd3
CY
8222012-07-13 Chong Yidong <cyd@gnu.org>
823
824 * bindings.el: Assign a non-nil permanent-local property to
825 per-buffer variables which lack a default value (Bug#11930).
826
827 * help-fns.el (describe-variable): In the "automatically becomes
828 local" notice, take note of permanent-local variables.
829
b68b3337
CY
8302012-07-13 Chong Yidong <cyd@gnu.org>
831
832 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
833 to allow printing the message when called from Lisp.
834
835 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
836 Remove toggle-read-only.
837
838 * bs.el (bs-toggle-readonly):
45fd731c
SM
839 * buff-menu.el (Buffer-menu-toggle-read-only):
840 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
841
842 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
843 Remove with-no-warnings around toggle-read-only.
844 (ffap-read-only, ffap-read-only-other-window)
845 (ffap-read-only-other-frame): Callers changed.
846
847 * help-mode.el: Don't require view package.
848 (help-mode-finish): Set buffer-read-only instead of calling
849 toggle-read-only.
850
851 * bindings.el (mode-line-toggle-read-only):
852 * dired.el (dired-toggle-read-only):
853 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
854 with non-nil second arg.
855
856 * emacs-lisp/eieio-custom.el (eieio-customize-object):
857 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
858 directly.
859
56bc1586
EZ
8602012-07-12 Eli Zaretskii <eliz@gnu.org>
861
862 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
863 not incf.
864
a464a6c7
SM
8652012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 More CL cleanups and reduction of use of cl.el.
868 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
869 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
870 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
871 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
872 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
873 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
874 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
875 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
876 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
877 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
878 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
879 * eshell/em-cmpl.el, eshell/em-banner.el:
880 * calendar/parse-time.el: Use cl-lib.
881 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
882 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
883 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
884 * term/ns-win.el, term.el, shell.el, ps-samp.el:
885 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
886 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
887 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
888 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
889 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
890 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
891 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
892 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
893 `lambda' rather than with `quote'.
894 (eshell-do-opt): Adjust accordingly.
895 (eshell-process-option): Simplify.
896 * eshell/esh-var.el:
897 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
898 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
899 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
900 to `pcase--dontcare'.
901 * emacs-lisp/cl.el (labels): Mark obsolete.
902 (cl--letf, letf): Move to cl-lib.
903 (cl--letf*, letf*): Remove.
904 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
905 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
906 (cl-progv): Rewrite.
907 (cl--letf, cl-letf): Move from cl.el.
908 (cl-letf*): New macro.
909 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
910
7ad4afe1
MA
9112012-07-11 Michael Albinus <michael.albinus@gmx.de>
912
913 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
914
9af57756
CY
9152012-07-11 Chong Yidong <cyd@gnu.org>
916
917 * vc/log-edit.el (log-edit-vc-backend): New variable.
918 (log-edit): Doc fix.
919
920 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
921 argument of log-edit to set up all local variables.
922 (vc-start-logentry): New optional arg specifying VC backend.
923
924 * vc/vc.el (vc-checkin): Use it.
925 (vc-deduce-fileset): Handle Log Edit buffers.
926 (vc-diff): Make first argument optional too.
927
928 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
929
8477cc7a
MA
9302012-07-10 Michael Albinus <michael.albinus@gmx.de>
931
932 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
933 command, just in case. The function is not needed anymore.
934 (eshell-external-command): Do not call `eshell-remote-command'.
935
19faa8e8
SM
9362012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
937
f58e0fd5
SM
938 Reduce use of (require 'cl).
939 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
940 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
941 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
942 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
943 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
944 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
945 * battery.el, avoid.el, abbrev.el: Use cl-lib.
946 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
947 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
948 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
949 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
950 * calculator.el, autorevert.el, apropos.el: Don't require CL.
951 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
952 (byte-compile-unfold-bcf, byte-compile-check-variable):
953 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
954 (byte-compile-nilconstp):
955 * emacs-lisp/autoload.el (make-autoload): Use pcase.
956 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
957
2519d43a
SM
958 * emacs-lisp/gv.el (cond): Make it a valid place.
959 (if): Simplify slightly.
960
19faa8e8
SM
961 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
962 (pcase--self-quoting-p): New function.
963 (pcase--u1): Use it.
964
c4907a5e
GM
9652012-07-10 Glenn Morris <rgm@gnu.org>
966
967 * emacs-lisp/authors.el (authors-fixed-entries):
968 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
969
c4444d16
PE
9702012-07-09 Paul Eggert <eggert@cs.ucla.edu>
971
972 Rename configure.in to configure.ac (Bug#11603).
973 * emacs-lisp/authors.el (authors-canonical-file-name):
974 * progmodes/autoconf.el (autoconf-mode):
975 Prefer configure.ac to configure.in.
976
d75be97d
CY
9772012-07-08 Chong Yidong <cyd@gnu.org>
978
01ac65bd
CY
979 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
980 Implement the mouse-1-click-follows-link handling properly.
981
982 * info.el (Info-link-keymap): Use follow-link mechanism for
983 header-line links (Bug#374).
984
d75be97d
CY
985 * simple.el (deactivate-mark): Do not set the primary selection
986 if another program has acquired it (Bug#11772).
987
87a92845 9882012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
989
990 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
991 (woman-decode-region): Replace escaped-escapes without destroying
992 bold or underline (Bug#11552).
87a92845 993 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 994
621b9d6c
CY
9952012-07-07 Chong Yidong <cyd@gnu.org>
996
997 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
998 (interprogram-cut-function, interprogram-paste-function):
999 Mention that we typically mean the clipboard.
621b9d6c 1000
133a11fc
GM
10012012-07-06 Glenn Morris <rgm@gnu.org>
1002
0d27a45e
GM
1003 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1004
133a11fc
GM
1005 * files.el (toggle-read-only): Restrict message to interactive use.
1006
07b151f1
MA
10072012-07-06 Michael Albinus <michael.albinus@gmx.de>
1008
1009 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1010
1011 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1012
211b896b
GM
10132012-07-06 Glenn Morris <rgm@gnu.org>
1014
50394322
GM
1015 * Makefile.in (compile-one-process): Rename from "recompile".
1016
211b896b
GM
1017 * Makefile.in (bzr-update): "compile" is the same as "recompile
1018 autoloads", but parallelizable, so use that instead.
1019
4737eec9
DG
10202012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1021
1022 * window.el (quit-window): Always restore window height when
8137e7b3 1023 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1024
226c3633 10252012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1026
1027 * simple.el (kill-whole-line): Doc tweak.
1028
226c3633 10292012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1030
1031 * files.el (file-relative-name): Compare file names
1032 case-insensitively if on MS-Windows or MS-DOS, or if
1033 read-file-name-completion-ignore-case is non-nil. Don't use
1034 case-fold-search for this purpose. (Bug#11827)
1035
4dc7c8d5
SM
10362012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1037
1038 * calendar/cal-dst.el (calendar-current-time-zone):
1039 Return calendar-current-time-zone-cache if non-nil.
1040
10412012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 10422012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1043
19faa8e8
SM
1044 * calendar/cal-dst.el (calendar-current-time-zone):
1045 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1046
60198fc9
GM
10472012-07-06 Glenn Morris <rgm@gnu.org>
1048
1049 * Makefile.in (cvs-update): Remove old alias.
1050
957b3189
MA
10512012-07-05 Michael Albinus <michael.albinus@gmx.de>
1052
1053 Sync with Tramp 2.2.6-pre.
1054
1055 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1056 compatible declaration.
1057
19faa8e8
SM
1058 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1059 Protect `list-load-path-shadows' call.
957b3189
MA
1060
1061 * net/tramp-compat.el (top): Require packages, which aren't
1062 autoloaded anymore for XEmacs. Protect call of
1063 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1064 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1065 it hurts at least for SXEmacs.
1066 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1067 standard-value for `temporary-file-directory'.
1068
1069 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1070 Redirect stderr to /dev/null.
1071 (tramp-sh-handle-write-region): uid and gid can be floats.
1072 Reported by Russell Sim <russell.sim@gmail.com>.
1073 (tramp-sh-handle-vc-registered): Hide errors.
1074 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1075 and `start-file-process'.
1076 (tramp-maybe-open-connection): Check also whether `non-essential'
1077 is bound.
1078
566df3fc
CY
10792012-07-04 Chong Yidong <cyd@gnu.org>
1080
1081 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1082 (xml-parse-tag): Likewise, and avoid changing entity tables.
1083 (xml-syntax-table): Define from scratch, making sure not to give
1084 x2000 and other Unicode spaces whitespace syntax, since those are
1085 not spaces in XML.
1086 (xml-parse-fragment): Delete unused function.
1087 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1088 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1089 (xml-entity-ref, xml-pe-reference-re)
1090 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1091 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1092 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1093 (xml-entity-value-re): Use syntax references in regexps where
1094 possible; no need to define inside a let-binding.
1095 (xml-parse-dtd): Use xml-pe-reference-re.
1096 (xml-entity-or-char-ref-re): New defconst.
1097 (xml-parse-string, xml-substitute-special): Use it.
1098
30eabd7a
SM
10992012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1100
0781098a
SM
1101 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1102 (find-file--read-only): New function.
1103 (find-file-read-only, find-file-read-only-other-window)
1104 (find-file-read-only-other-frame): Use it.
1105 (insert-file-contents-literally): Don't `fset'.
1106 (get-free-disk-space): Use locate-dominating-file.
1107
b5771c0d
SM
1108 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1109 function is already compiled.
1110
30eabd7a
SM
1111 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1112
b4886f6e
MA
11132012-07-03 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1116 files on the same host.
1117
b9d82339
AS
11182012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1119
1120 * help-fns.el (describe-function-1): Only call
1121 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1122
a76e6535
CY
11232012-07-03 Chong Yidong <cyd@gnu.org>
1124
1125 * xml.el: Protect parser against XML bombs.
1126 (xml-entity-expansion-limit): New variable.
1127 (xml-parse-string, xml-substitute-special): Use it.
1128 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1129
b544fef2
GM
11302012-07-03 Glenn Morris <rgm@gnu.org>
1131
1132 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1133 Allow linking to specific messages in debbugs reports (eg 123#5).
1134
a7aef6f5
CY
11352012-07-02 Chong Yidong <cyd@gnu.org>
1136
1137 * xml.el: Fix entity and character reference expansion, allowing
1138 them to expand into markup as per XML spec.
1139 (xml-default-ns): New variable.
1140 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1141 (xml-parse-region): Make first two arguments optional.
1142 Discard text properties.
1143 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1144 All callers changed.
a7aef6f5
CY
1145 (xml-parse-tag): Call xml-parse-tag-1. For backward
1146 compatibility, this function should not modify buffer contents.
1147 (xml-parse-tag-1): Fix opening-tag regexp.
1148 (xml-parse-string): Rewrite, handling entity and character
1149 references properly.
1150 (xml--entity-replacement-text): Signal an error if a parameter
1151 entity is undefined.
1152
3df31c9f
SM
11532012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1154
2b5208f1
SM
1155 * comint.el (comint-output-filter): Filter out repeated prompts.
1156
3df31c9f
SM
1157 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1158 and file-name-absolute-p.
1159 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1160 internal calls.
1161
e3ac1281
PE
11622012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1163
1164 Spelling fixes.
1165 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1166 Rename from byte-compile--refiy-function. All uses changed.
1167
fbf2e7ad
CY
11682012-07-01 Chong Yidong <cyd@gnu.org>
1169
1170 * xml.el (xml--parse-buffer): New function. Move most of
1171 xml-parse-region here.
1172 (xml-parse-region): Copy region into a temporary buffer, since
1173 parameter entity substitution requires changing buffer contents.
1174 Use xml--parse-buffer.
1175 (xml-parse-file): Use xml--parse-buffer.
1176 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1177 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1178
9bf0aa15
GM
11792012-06-30 Glenn Morris <rgm@gnu.org>
1180
bbce2853
GM
1181 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1182
9bf0aa15
GM
1183 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1184 Remove outdated and unnecessary dbus declarations.
1185
0d23c240
EZ
11862012-06-30 Eli Zaretskii <eliz@gnu.org>
1187
1188 * emacs-lisp/timer.el (timer-until): Subtract results of
1189 float-time, instead of taking float-time of the result of
1190 time-subtract, since float-time signals an error for negative time
1191 arguments.
1192
b3218de1
CY
11932012-06-30 Chong Yidong <cyd@gnu.org>
1194
1195 * xml.el (xml-*-re): Convert defvars into defconsts, and
1196 eval-and-compile them so eval-and-compile works on derivatives.
1197 (xml--entity-replacement-text): Use eval-and-comple.
1198
a40c87a0
MA
11992012-06-30 Michael Albinus <michael.albinus@gmx.de>
1200
1201 * vc/vc-git.el (vc-git-registered): Use cache property
1202 `git-registered'.
1203 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1204 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1205 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1206
ac87de97
DG
12072012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1208
1209 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1210 removed (likely outside Emacs). (Bug#11757)
ac87de97 1211
ac10fe06
SM
12122012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1213
3df31c9f 1214 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1215
7f3fbd5d
CY
12162012-06-30 Chong Yidong <cyd@gnu.org>
1217
1218 * xml.el: Implement XML parameter entities.
1219 (xml-parameter-entity-alist): New variable.
1220 (xml-parse-region, xml-parse-fragment): Preserve previous values
1221 of xml-entity-alist and xml-parameter-entity-alist, so that
1222 repeated calls on different documents do not change them.
1223 (xml-parse-tag): Fix doctype regexp.
1224 (xml--entity-replacement-text): New function.
1225 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1226 properly requires url retrieval which is unimplemented.
1227 (xml-escape-string): Doc fix.
1228
3cfbebba
SM
12292012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1232
2af3565e
DA
12332012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1234
1235 * fringe.el (fringe-mode): Doc fix.
1236
929df0e7
MA
12372012-06-29 Michael Albinus <michael.albinus@gmx.de>
1238
1239 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1240 is non-nil.
1241 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1242 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1243
c8d3a25c 12442012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1245
c8d3a25c
GM
1246 * calendar/cal-dst.el (calendar-current-time-zone):
1247 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1248
c8d3a25c 12492012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1250
1251 * progmodes/which-func.el (which-func-format):
1252 Add mouse-face. (Bug#11698)
1253
c8d3a25c
GM
12542012-06-29 Leo Liu <sdl.web@gmail.com>
1255
1256 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1257
12582012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * minibuffer.el (minibuffer-confirm-exit-commands):
1261 Add completion-at-point (bug#11725).
1262
12632012-06-29 Glenn Morris <rgm@gnu.org>
1264
1265 * progmodes/f90.el (f90-font-lock-keywords-2):
1266 Add some preprocessor elements. (Bug#10499)
1267
12682012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1271 Use syntax-propertize (bug#11739).
1272
2badeec4
JB
12732012-06-28 Juanma Barranquero <lekktu@gmail.com>
1274
1275 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1276
ae4969c2
JD
12772012-06-28 Julien Danjou <julien@danjou.info>
1278
1279 * term.el (term-handle-colors-array): Use a set of new faces to
1280 color the terminal. Also uses :inverse-video property.
1281 (term-default-fg-color): Set to nil by default, deprecate in favor
1282 of `term-face'.
1283 (term-default-bg-color): Set to nil by default, deprecate in favor
1284 of `term-face'.
1285 (term-current-face): Use `term-face' by default.
1286 (term-bold-attribute): Variable deleted.
1287
1c9bd870
GM
12882012-06-28 Glenn Morris <rgm@gnu.org>
1289
1290 * simple.el (completion-list-mode-finish):
1291 Don't use toggle-read-only. (Since completion-list-mode has
1292 a special mode-class, it wasn't doing anything extra anyway.)
1293
c207708c
SM
12942012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 Make inlining of other-mode interpreted functions work (bug#11799).
1297 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1298 (byte-compile): Use it to fix compilation of lexical-binding closures.
1299 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1300 function, if needed.
1301
3fd56834
SM
13022012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1303
04901786
SM
1304 * help-mode.el (help-make-xrefs): Don't just withstand
1305 cyclic-variable-indirection but any error in documentation-property.
1306
1ec4b7b2
SM
1307 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1308 memory use.
1309 * bindings.el (bindings--define-key): New function.
1310 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1311 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1312 * bindings.el: Use it to purecopy define-key bindings.
1313
e309e2a5
SM
1314 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1315
d5c6faf9
SM
1316 * emacs-lisp/cl.el (flet): Mark obsolete.
1317 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1318 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1319 * progmodes/js.el (js-c-fill-paragraph):
1320 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1321 (ebrowse-switch-member-buffer-to-derived-class):
1322 * play/5x5.el (5x5-solver): Use cl-flet.
1323
6e9590e2
SM
1324 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1325 (cl--symbol-function): New macro.
1326 (cl--letf, cl--letf*): Use it.
1327
3fd56834
SM
1328 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1329 Strip "toggle-" if any.
1330
35ff222c
GM
13312012-06-27 Glenn Morris <rgm@gnu.org>
1332
1ba6038a
GM
1333 * info.el (Info-default-directory-list): Move here from paths.el.
1334 * paths.el: Remove file, which is now empty.
1335 * loadup.el: No longer load "paths".
1336
0ea0e51b
GM
1337 * custom.el (custom-initialize-delay): Doc fix.
1338
35ff222c
GM
1339 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1340 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1341 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1342 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1343 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1344 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1345 * eshell/eshell.el (eshell-defgroup): Remove alias.
1346
c89926a5
CY
13472012-06-27 Chong Yidong <cyd@gnu.org>
1348
1349 * help.el (help-enable-auto-load): New variable.
1350
1351 * help-fns.el (help-fns--autoloaded-p): New function.
1352 (describe-function-1): Refer to a function as "autoloaded" if it
1353 was autoloaded at any time in the past. Perform autoloading if
1354 help-enable-auto-load is non-nil.
1355
cc06e7e7
EZ
13562012-06-26 Eli Zaretskii <eliz@gnu.org>
1357
1358 * makefile.w32-in (compile, compile-always): Depend on
1359 update-subdirs, not on subdirs.el. Otherwise, several different
1360 sub-targets of 'bootstrap' running in parallel could
1361 simultaneously write to subdirs.el, producing a garbled file.
1362
d2c32364
SS
13632012-06-26 Sam Steingold <sds@gnu.org>
1364
1365 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1366 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1367 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1368 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1369 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1370 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1371 * textmodes/tex-mode.el: Use it.
1372 Did not touch cedet and org because they are maintained elsewhere.
1373
5cf983b2
MR
13742012-06-26 Martin Rudalics <rudalics@gmx.at>
1375
1376 * calendar/calendar.el (calendar-exit): Don't try to delete or
1377 iconify last frame. See:
1378 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1379
8c4f2952
JD
13802012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1381
1382 * server.el (server-process-filter): Remember dir in the
1383 process's `server-client-directory' properties.
1384
772b2e2c
CY
13852012-06-24 Chong Yidong <cyd@gnu.org>
1386
1387 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1388 non-tag text.
1389
711b11e1
JB
13902012-06-23 Juanma Barranquero <lekktu@gmail.com>
1391
1392 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1393
dc5d230c
SM
13942012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * help-fns.el (describe-variable): Don't croak when doc is not found.
1397 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1398 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1399 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1400 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1401 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1402 ((lambda ..) ..).
1403 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1404
136e1c1d
CY
14052012-06-23 Chong Yidong <cyd@gnu.org>
1406
e8c1cabf
CY
1407 * info.el (Info-mouse-follow-link): Accept symbol values of
1408 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1409 (Info-fontify-node): Use Info-link-keymap for all navigation
1410 buttons, with link-args property to perform the desired action.
1411 (Info-link-keymap): Doc fix.
1412 (Info-next-link-keymap, Info-prev-link-keymap)
1413 (Info-up-link-keymap): Delete now-unused keymaps.
1414
0e9e6c6a
CY
14152012-06-23 Chong Yidong <cyd@gnu.org>
1416
05e89fea
CY
1417 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1418
0e9e6c6a
CY
1419 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1420 system abbrevs.
1421
1422 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1423
e33c6771
SM
14242012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1425
b68581e2
SM
1426 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1427 (bug#11719).
1428
e33c6771
SM
1429 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1430 the requote function doesn't work properly (bug#11714).
1431
7117e105
GM
14322012-06-23 Glenn Morris <rgm@gnu.org>
1433
1434 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1435
36cec983
SM
14362012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 Further GV/CL cleanups.
1439 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1440 gv-expander.
1441 (gv--defun-declaration): New function.
1442 (defun-declarations-alist): Use it.
1443 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1444 (gv-place): Autoload.
1445 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1446 original definition of dotimes and dolist.
1447 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1448 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1449 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1450 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1451 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1452 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1453 to the function's definition.
1454 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1455 * window.el:
1456 * files.el:
1457 * faces.el:
1458 * env.el: Don't use CL.
1459
d35af63c
PE
14602012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1461
1462 Support higher-resolution time stamps (Bug#9000).
1463
1464 * calendar/time-date.el (with-decoded-time-value): New arg
1465 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1466 (encode-time-value): New optional arg PICO. New type 3.
1467 (time-to-seconds) [!float-time]: Support the new picoseconds
1468 component if it's used.
1469 (seconds-to-time, time-subtract, time-add):
1470 Support ps-resolution time stamps as well.
1471
1472 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1473 (timerp): Timer vectors now have length 9, not 8.
1474 (timer--time): Support new-style (4-part) time stamps.
1475 (timer-next-integral-multiple-of-time): Time stamps now have
1476 picosecond resolution, so take a bit more care about rounding.
1477 (timer-relative-time, timer-inc-time): New optional arg psecs.
1478 (timer-set-time-with-usecs): Set psecs to 0.
1479 (timer--activate): Check psecs component, too.
1480
1481 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1482
ac77b21a
SM
14832012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1484
f143bfe3
SM
1485 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1486 Move the non-essential binding to the post/pre-command-hook where it is
1487 more obviously correct.
1488
ac77b21a
SM
1489 * subr.el (read-passwd): Don't use a history at all.
1490 * savehist.el (savehist-save): Remove password saved accidentally
1491 because of the above bug.
1492
76386c5a
BG
14932012-06-22 Bastien Guerry <bzg@gnu.org>
1494
1495 * files.el (toggle-read-only): Display a message telling whether
1496 the buffer is read-only or not (bug#11726).
1497
2ee3d7f0
SM
14982012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * emacs-lisp/gv.el: New file.
1501 * subr.el (push, pop): Extend to generalized variables.
1502 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1503 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1504 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1505 gv-define-simple-setter, and gv-define-expander.
1506 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1507 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1508 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1509 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1510 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1511 gv-letplace.
1512 (cl-defstruct): Don't define setf-method any more.
1513 * emacs-lisp/cl.el (flet): Don't autoload.
1514 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1515 (define-setf-expander, defsetf, define-modify-macro)
1516 (cl-struct-setf-expander): Move from cl-lib.el.
1517 * emacs-lisp/syntax.el:
1518 * emacs-lisp/ewoc.el:
1519 * emacs-lisp/smie.el:
1520 * emacs-lisp/cconv.el:
1521 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1522 (timer--time): Use gv-define-simple-setter.
1523 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1524 to avoid coding-system problems in subr.el. Adjust all users.
1525 (macroexp--maxsize, macroexp-small-p): New functions.
1526 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1527 * scroll-bar.el (scroll-bar-mode):
1528 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1529 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1530 * winner.el (winner-configuration, winner-make-point-alist)
1531 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1532 * files.el (locate-file-completion-table): Avoid list*.
1533
c5695d1d
CY
15342012-06-22 Chong Yidong <cyd@gnu.org>
1535
1536 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1537 (dired-create-files): Doc fix (Bug#11329).
1538 (dired-do-copy): Doc fix (Bug#11334).
1539 (dired-mark-read-string): Doc fix (Bug#11553).
1540
2ee3d7f0
SM
1541 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1542 Doc fix (Bug#11326).
c5695d1d
CY
1543 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1544 (dired-dwim-target): Doc fix.
1545
1546 * wdired.el (wdired-mode): Doc fix.
1547
89b5595a
GM
15482012-06-22 Glenn Morris <rgm@gnu.org>
1549
575db3f1
GM
1550 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1551 (pcmpl-rpm-cache-stamp-file): New constant.
1552 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1553 (pcmpl-rpm-packages): Optionally cache list of packages.
1554
a4c8dd51
GM
1555 * pcmpl-rpm.el (pcmpl-rpm): New group.
1556 (pcmpl-rpm-query-options): New option.
1557 (pcmpl-rpm-packages): No need to inline it.
1558 Use pcmpl-rpm-query-options.
1559
89b5595a
GM
1560 * calendar/calendar.el (calendar-in-read-only-buffer):
1561 Avoid some needless mode changes.
1562
e76f0800
CY
15632012-06-21 Chong Yidong <cyd@gnu.org>
1564
1565 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1566 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1567 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1568
297a8f1d
CY
15692012-06-20 Chong Yidong <cyd@gnu.org>
1570
1571 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1572
d34c18b1
DR
15732012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1574
1575 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1576 (bug#11201).
1577
32f7f28e
CY
15782012-06-20 Chong Yidong <cyd@gnu.org>
1579
1580 * term.el (term-window-width): Handle the case of a missing right
1581 fringe (Bug#8837).
1582 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1583 (term-mode): Use define-derived-mode. Minor cleanups.
1584 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1585 (term-move-columns, term-insert-char, term-emulate-terminal)
1586 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1587
493c6688
MA
15882012-06-20 Michael Albinus <michael.albinus@gmx.de>
1589
d34c18b1
DR
1590 * net/ange-ftp.el (ange-ftp-get-passwd):
1591 Bind `enable-recursive-minibuffers'.
493c6688
MA
1592 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1593
3f06ecf4
DR
15942012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1595
1596 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1597
68f12411
GM
15982012-06-19 Glenn Morris <rgm@gnu.org>
1599
1600 * progmodes/python.el (python-mode): Derive from prog-mode.
1601
b3820318
KG
16022012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1603
1604 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1605 (edt-user-menu-bar-update-buffers): New functions.
1606 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1607
c6bf3022
CY
16082012-06-19 Chong Yidong <cyd@gnu.org>
1609
1610 * subr.el (with-selected-window): Preserve the selected window's
1611 terminal's top-frame (Bug#4702).
1612
1613 * window.el (save-selected-window): Likewise.
1614
25f09295
SM
16152012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * progmodes/python.el (python-rx-constituents): Move backquote.
1618 (python-skeleton-define, python-define-auxiliary-skeleton):
1619 Use `declare'.
1620
6b11952a
MA
16212012-06-18 Michael Albinus <michael.albinus@gmx.de>
1622
1623 * minibuffer.el (read-file-name-default): Revert the patch from
1624 2012-06-17.
1625
ee4b1330
SM
16262012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1627
1628 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1629 (pcase--u1, pcase--q1): Don't use apply-partially.
1630
35647f79
GM
16312012-06-18 Glenn Morris <rgm@gnu.org>
1632
1633 * progmodes/python.el (python-proc, python-buffer)
1634 (python-send-receive, python-send-string): Fix obsolete versions.
1635
24b0cff0
MR
16362012-06-18 Martin Rudalics <rudalics@gmx.at>
1637
1638 * window.el (special-display-p): Completely remove stringp
1639 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1640
29855149
MA
16412012-06-17 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1644
1645 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1646
1647 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1648 * net/tramp-sh.el (tramp-maybe-open-connection):
1649 Throw if `non-essential' is non-nil.
1650
07463363
MR
16512012-06-17 Martin Rudalics <rudalics@gmx.at>
1652
1653 * window.el (special-display-p): Signal an error if BUFFER-NAME
1654 is not a string (Bug#11713).
1655
48d1354e
PE
16562012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1657
1658 * progmodes/python.el (python-info-beginning-of-backslash):
1659 Rename from python-info-beginning-of-backlash, as a spelling fix.
1660
eb4a8a9a
CY
16612012-06-17 Chong Yidong <cyd@gnu.org>
1662
1663 * term.el (term-emulate-terminal): If term-check-size is called,
1664 move point to the process mark without resetting point (Bug#4635).
1665
ddfbf826 16662012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1667
1668 * international/mule-cmds.el (mule-menu-keymap)
1669 (set-language-environment, set-locale-environment): Doc tweaks.
1670
9b0e3eba
AA
16712012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1672
1673 * cus-face.el (custom-face-attributes): Add wave-style underline
1674 attribute.
1675 * faces.el (set-face-attribute): Update docstring to describe
1676 wave-style underline attribute.
1677
771e3eae
CY
16782012-06-16 Chong Yidong <cyd@gnu.org>
1679
1680 * term/xterm.el (terminal-init-xterm): Discard input before
1681 querying background mode (Bug#10959).
1682
7ae2ea10
SM
16832012-06-16 Stefan Merten <smerten@oekonux.de>
1684
1685 * textmodes/rst.el: Added and corrected some comments.
1686 (rst-re-alist-def): Improve symbol syntax.
1687 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1688 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1689 (rst-official-version, rst-official-cvs-rev): Update version
1690 information.
7ae2ea10 1691
b6974efa
JB
16922012-06-15 Juanma Barranquero <lekktu@gmail.com>
1693
1694 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1695 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1696
8826d473
GM
16972012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1698
1699 * progmodes/python.el: New python.el merge.
1700 (python-guess-indent): Obsolete var.
1701 (python-indent-guess-indent-offset): New defcustom.
1702 (python-indent): Obsolete var.
1703 (python-indent-offset): New defcustom.
1704 (python-python-command, python-jython-command): Delete var.
1705 (python-shell-interpreter): New defcustom.
1706 (python-pdbtrack-do-tracking-p): Delete var.
1707 (python-pdbtrack-activate): New defcustom.
1708 (python-use-skeletons): Obsolete var.
1709 (python-skeleton-autoinsert): New defcustom.
1710 (inferior-python-filter-regexp, python-continuation-offset)
1711 (python-honour-comment-indentation, python-indent-string-contents)
1712 (python-jython-packages, python-mode-hook)
1713 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1714 (python-shell-prompt-alist)
1715 (python-source-modes): Delete defcustoms.
1716 (python-check-buffer-name, python-eldoc-setup-code)
1717 (python-eldoc-string-code, python-ffap-setup-code)
1718 (python-ffap-string-code, python-fill-comment-function)
1719 (python-fill-decorator-function, python-fill-paren-function)
1720 (python-fill-string-function, python-imenu-include-defun-type)
1721 (python-imenu-make-tree, python-imenu-subtree-root-label)
1722 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1723 (python-shell-compilation-regexp-alist)
1724 (python-shell-completion-module-string-code)
1725 (python-shell-completion-pdb-string-code)
1726 (python-shell-completion-setup-code)
1727 (python-shell-completion-string-code)
1728 (python-shell-enable-font-lock, python-shell-exec-path)
1729 (python-shell-extra-pythonpaths)
1730 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1731 (python-shell-process-environment)
1732 (python-shell-prompt-block-regexp)
1733 (python-shell-prompt-output-regexp)
1734 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1735 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1736 (python-shell-virtualenv-path): New defcustoms.
1737 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1738 (inferior-python-mode-syntax-table, python--prompt-regexp)
1739 (python-buffer, python-command python-python-command)
1740 (python-default-template, python-imports, python-indent-index)
1741 (python-indent-list, python-indent-list-length)
1742 (python-mode-running, python-pdbtrack-is-tracking-p)
1743 (python-preoutput-continuation, python-preoutput-leftover)
1744 (python-preoutput-result, python-preoutput-skip-next-prompt)
1745 (python-prev-dir/file, python-recursing)
1746 (python-saved-check-command, python-version-checked)
1747 (python-which-func-length-limit)
1748 (view-return-to-alist): Delete vars.
1749 (python-check-custom-command, python-dotty-syntax-table)
1750 (python-imenu-index-alist, python-indent-current-level)
1751 (python-indent-dedenters, python-indent-levels)
1752 (python-nav-beginning-of-defun-regexp)
1753 (python-nav-list-defun-positions-cache)
1754 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1755 (python-shell-internal-buffer)
1756 (python-skeleton-available): New vars.
1757 (def-python-skeleton): Delete macro.
1758 (python-skeleton-define): New macro.
1759 (python-define-auxiliary-skeleton, python-rx): New macros.
1760 (python-insert-class): Delete command.
1761 (python-skeleton-class): New command.
1762 (python-insert-def): Delete command.
1763 (python-skeleton-def): New command.
1764 (python-insert-for): Delete command.
1765 (python-skeleton-for): New command.
1766 (python-insert-if): Delete command.
1767 (python-skeleton-if): New command.
1768 (python-insert-try/except, python-insert-try/finally): Delete commands.
1769 (python-skeleton-try): New command.
1770 (python-insert-while): Delete command.
1771 (python-skeleton-while): New command.
1772 (python-backspace): Delete command.
1773 (python-indent-dedent-line-backspace): New command.
1774 (python-electric-colon): Delete command.
1775 (python-indent-electric-colon): New command.
1776 (python-guess-indent): Delete command.
1777 (python-indent-guess-indent-offset): New command.
1778 (python-shift-left): Delete command.
1779 (python-indent-shift-left): New command.
1780 (python-shift-right): Delete command.
1781 (python-indent-shift-right): New command.
1782 (python-find-function): Delete command.
1783 (python-nav-jump-to-defun): New command.
1784 (python-next-statement): Delete command.
1785 (python-nav-forward-sentence): New command.
1786 (python-previous-statement): Delete command.
1787 (python-nav-backward-sentence): New command.
1788 (python-fill-paragraph): Delete command.
1789 (python-fill-paragraph-function): New command.
1790 (python-send-buffer): Delete command.
1791 (python-shell-send-buffer): New command.
1792 (python-send-defun): Delete command.
1793 (python-shell-send-defun): New command.
1794 (python-send-region, python-send-region-and-go): Delete commands.
1795 (python-shell-send-region)
1796 (python-shell-switch-to-shell): New commands.
1797 (python-send-string): Delete command.
1798 (python-shell-send-string): New command.
1799 (python-switch-to-python): Delete command.
1800 (python-shell-switch-to-shell): New command.
1801 (python-describe-symbol): Delete command.
1802 (python-eldoc-at-point): New command.
1803 (python--set-prompt-regexp, python-args-to-list)
1804 (python-after-info-look, python-check-version)
1805 (python-check-comint-prompt, python-find-imports)
1806 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1807 (python-unload-function, python-expand-template)
1808 (python-maybe-jython, python-preoutput-filter)
1809 (python-pdbtrack-get-source-buffer)
1810 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1811 (python-pdbtrack-toggle-stack-tracking)
1812 (python-pdbtrack-track-stack-file, python-initial-text)
1813 (python-first-word, python-comment-line-p, python-send-command)
1814 (python-setup-brm, python-sentinel, python-set-proc)
1815 (python-skip-out, python-input-filter, python-outdent-p)
1816 (python-outline-level, python-backslash-continuation-line-p)
1817 (python-end-of-block, python-end-of-statement, python-mark-block)
1818 (python-beginning-of-block, python-beginning-of-statement)
1819 (python-blank-line-p, python-beginning-of-string)
1820 (python-open-block-statement-p): Delete functions.
1821 (python-indent-line, python-indent-line-1): Delete functions.
1822 (python-indent-line): New function.
1823 (python-indentation-levels): Delete function.
1824 (python-indent-calculate-levels): New function.
1825 (python-proc): Delete function.
1826 (python-shell-get-process): New function.
1827 (python-send-receive): Delete function.
1828 (python-shell-send-string-no-output): New function.
1829 (python-module-path): Delete function.
1830 (python-ffap-module-path): New function.
1831 (python-completion-at-point)
1832 (python-symbol-completions): Delete functions.
1833 (python-completion-complete-at-point): New function.
1834 (python-load-file): Delete function.
1835 (python-shell-send-file): New function.
1836 (python-calculate-indentation): Delete function.
1837 (python-indent-calculate-indentation): New function.
1838 (python-skip-comments/blanks): Delete function.
1839 (python-util-forward-comment): New function.
1840 (python-continuation-line-p): Delete function.
1841 (python-info-continuation-line-p): New function.
1842 (python-which-func, python-current-defun): Delete function.
1843 (python-info-current-defun): New function.
1844 (python-beginning-of-defun): Delete function.
1845 (python-nav-beginning-of-defun): New function.
1846 (python-close-block-statement-p)
1847 (python-block-end-p): Delete function.
1848 (python-info-closing-block): New function.
1849 (python-comint-output-filter-function)
1850 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1851 (python-fill-comment, python-fill-decorator, python-fill-paren)
1852 (python-fill-string, python-imenu-make-element-tree)
1853 (python-imenu-make-tree, python-imenu-tree-assoc)
1854 (python-indent-context, python-indent-dedent-line)
1855 (python-indent-line-function)
1856 (python-indent-post-self-insert-function)
1857 (python-indent-toggle-levels)
1858 (python-info-assignment-continuation-line-p)
1859 (python-info-beginning-of-backlash)
1860 (python-info-block-continuation-line-p)
1861 (python-info-closing-block-message)
1862 (python-info-line-ends-backslash-p)
1863 (python-info-looking-at-beginning-of-defun)
1864 (python-info-ppss-context, python-info-ppss-context-type)
1865 (python-nav-list-defun-positions, python-nav-read-defun)
1866 (python-nav-sentence-end, python-nav-sentence-start)
1867 (python-pdbtrack-comint-output-filter-function)
1868 (python-pdbtrack-set-tracked-buffer)
1869 (python-shell-calculate-exec-path)
1870 (python-shell-calculate-process-environment)
1871 (python-shell-completion--do-completion-at-point)
1872 (python-shell-completion--get-completions)
1873 (python-shell-completion-complete-at-point)
1874 (python-shell-completion-complete-or-indent)
1875 (python-shell-get-or-create-process)
1876 (python-shell-get-process-name)
1877 (python-shell-internal-get-or-create-process)
1878 (python-shell-internal-get-process-name)
1879 (python-shell-internal-send-string, python-shell-make-comint)
1880 (python-shell-parse-command, python-shell-send-setup-code)
1881 (python-skeleton-add-menu-items)
1882 (python-util-clone-local-variables, python-util-position)
1883 (run-python-internal, python-indentation-levels)
1884 (python-nav-beginning-of-defun)
1885 (python-completion-complete-at-point): New functions.
1886 (run-python): Change arguments. New API requirements.
1887
4302f5ba
SM
18882012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1889
f38ea36d
SM
1890 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1891 (bug#11649).
1892
1893 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1894 (macroexp--expand-all): Use it.
1895
4302f5ba
SM
1896 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1897 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1898 Use `cl-function' instead.
1899
33377562
JB
19002012-06-14 Juanma Barranquero <lekktu@gmail.com>
1901
1902 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1903 Suggested by Stefan Monnier while discussing bug#11657.
1904
54c5ba1a
SS
19052012-06-14 Sam Steingold <sds@gnu.org>
1906
1907 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1908
f9f1b1fe
AS
19092012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1910
1911 * play/doctor.el (doctor-doc): Remove parameter and use
1912 doctor-sent instead of sent.
1913 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1914
a81068ba
SM
19152012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1916
5a315f9c
SM
1917 * files.el: Require cl-lib.
1918 (file-name-non-special): Replace case -> cl-case.
1919
1920 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1921
a81068ba
SM
1922 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1923 mapping from #' to function*.
1924
8cca9703
CY
19252012-06-13 Chong Yidong <cyd@gnu.org>
1926
1927 * mouse.el (mouse-drag-track): Do not set the mark if the user
1928 releases the mouse without selecting anything (Bug#11588).
1929
a12ac9d7
SM
19302012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1931
ccf1dc18
SM
1932 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1933 as well (bug#11646).
1934
ef62b23d
SM
1935 * loadup.el: Count byte-code functions as well.
1936
c4c8444a
SM
1937 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1938 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1939
a12ac9d7
SM
1940 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1941 (bug#11649). Add cl-defun and cl-defmacro.
1942
87e6e64f
DA
19432012-06-13 Drew Adams <drew.adams@oracle.com>
1944
1945 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1946 Fix last change.
1947
682cefaf
MA
19482012-06-13 Michael Albinus <michael.albinus@gmx.de>
1949
1950 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1951 Otherwise, it blocks in batch mode.
1952
773e1f08
JB
19532012-06-13 Juanma Barranquero <lekktu@gmail.com>
1954
1955 * help-mode.el (bookmark-make-record-default): Declare.
1956
60057926
CY
19572012-06-13 Chong Yidong <cyd@gnu.org>
1958
1959 * emacs-lisp/package.el (list-packages): Compute a list of
1960 packages that are newly-available since the last list-packages
1961 invocation.
1962 (package-menu--new-package-list): New var.
1963 (package-menu--generate, package-menu--print-info)
1964 (package-menu--status-predicate, package-menu-mark-install):
1965 Handle new status label "new".
1966
ad4d226c
SM
19672012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1970 conversion to backquotes.
1971
f1a4e679
CY
19722012-06-12 Chong Yidong <cyd@gnu.org>
1973
1974 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1975 Rename from gud-inhibit-global-bindings.
1976
1977 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1978
1979 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1980 hook from nxml-glyph-set-hook.
1981
1982 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1983 declaration.
1984
1985 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1986
1987 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1988 Convert to defcustom.
1989
0c9e42b5
DA
19902012-06-12 Drew Adams <drew.adams@oracle.com>
1991
1992 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1993 New functions.
1994 (help-mode): Use them.
1995
09e06855
GM
19962012-06-11 Glenn Morris <rgm@gnu.org>
1997
1998 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1999 Use preprocessor face for directives.
2000 (fortran-directive-re): Doc fix.
2001
71adb94b
SM
20022012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2003
2eb87922
SM
2004 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2005 conversion to backquotes (bug#11652).
2006
71adb94b
SM
2007 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2008 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2009 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2010 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2011 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2012 (cl-ninth, cl-tenth): Mark them as inlinable.
2013 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2014 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2015 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2016 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2017 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2018 (cl-list*, cl-adjoin): Don't put an autoload manually.
2019 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2020 (cl--compiler-macro-list*): Add autoload cookie.
2021 (cl--compiler-macro-cXXr): New function.
2eb87922 2022
71adb94b
SM
2023 * help-fns.el (help-fns--compiler-macro): New function extracted from
2024 describe-function-1; follow aliases and use `compiler-macro' property.
2025 (describe-function-1): Use it.
2026
a6674402
CY
20272012-06-11 Chong Yidong <cyd@gnu.org>
2028
2029 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2030 is uninstalled, if imagemagick is installed.
2031
bb3faf5b
SM
20322012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * emacs-lisp/cl-lib.el: Use lexical-binding.
2035 (cl-map-extents, cl-maclisp-member): Remove.
2036 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2037 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2038 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2039 * emacs-lisp/cl-extra.el: Use lexical-binding.
2040 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2041 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2042 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2043 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2044 * emacs-lisp/cl-seq.el: Use lexical-binding.
2045 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2046 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2047 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2048 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2049 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2050 CL's internals.
2051
2fe4b125
MA
20522012-06-11 Michael Albinus <michael.albinus@gmx.de>
2053
2054 Sync with Tramp 2.2.6-pre.
2055
2056 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2057 `print-length' and `print-level' to nil, in order to avoid
2058 truncation. Reported by Christopher Schmidt
2059 <christopher@ristopher.com>.
2060
2061 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2062
2063 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2064 New defmacro.
2065 (tramp-compat-copy-directory): Add optional argument
2066 COPY-CONTENTS. It is not handled yet.
2067
2068 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2069 (tramp-ftp-file-name-p): Simplify.
2070
2071 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2072 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2073 connection vector.
2074
2075 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2076 (tramp-methods): Do not use `tramp-password-end-of-line'.
2077 (tramp-completion-function-alist-putty): Handle UNIX case.
2078 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2079 (tramp-do-file-attributes-with-stat)
2080 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2081 gid as real numbers. They could run out of integer range on cygwin.
2082 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2083 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2084 (tramp-open-connection-setup-interactive-shell):
2085 Use `tramp-cleanup'. Move check for busyboxes ...
2086 (tramp-find-shell): ... here. Simplify implementation.
2087 Set "remote-shell" property also for alternative shells.
2088 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2089 If failing, a regular file would be written otherwise.
2090 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2091 (tramp-find-inline-encoding): Cache the coding commands in the
2092 process cache. Apply test command on the remote side, if defined.
2093 (tramp-find-inline-compress): Cache the compress commands in the
2094 process cache.
2095 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2096 when requested. Handle hops.
2097 (tramp-current-connection): New defvar.
87e6e64f
DA
2098 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2099 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2100 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2101 (tramp-get-inline-compress, tramp-get-inline-coding):
2102 Read connection properties from the process cache.
2fe4b125
MA
2103
2104 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2105 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2106 New defconsts.
2fe4b125
MA
2107 (tramp-smb-prompt): Extend for powershell prompt.
2108 (tramp-smb-file-name-handler-alist): Add handlers for
2109 `process-file', `shell-command' and `start-file-process'.
2110 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2111 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2112 (tramp-smb-file-name-p): Simplify.
2113 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2114 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2115 (tramp-smb-shell-quote-argument): New defuns.
2116 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2117 Implement using "tar". By this, time-stamps are preserved.
2118 (tramp-smb-handle-copy-file): Handle also the case of directories.
2119 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2120 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2121 Use `tramp-get-connection-buffer').
2fe4b125
MA
2122 (tramp-smb-handle-rename-file): Use "rename", when source and
2123 target are on the same share.
87e6e64f
DA
2124 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2125 Use `tramp-smb-server-version'.
2fe4b125
MA
2126 (tramp-smb-wait-for-output): Remove prompt.
2127
2128 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2129 (tramp-methods, tramp-rsh-end-of-line):
2130 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2131 (tramp-save-ad-hoc-proxies): New defcustom.
2132 (tramp-completion-function-alist): Adapt docstring.
2133 (tramp-default-password-end-of-line): Remove defcustom.
2134 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2135 (tramp-user-regexp, tramp-file-name-regexp-unified)
2136 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2137 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2138 (tramp-remote-file-name-spec-regexp): New defconst.
2139 (tramp-file-name-structure): Extend structure for hops.
2140 (tramp-get-method-parameter): Move up.
2141 (tramp-file-name-p, tramp-dissect-file-name)
2142 (with-parsed-tramp-file-name): Handle hops.
2143 (tramp-file-name-hop): New defun.
2144 (tramp-make-tramp-file-name): New optional arg HOP.
2145 (tramp-message-show-progress-reporter-message): New defvar.
2146 (tramp-with-progress-reporter): Use it. We cannot use
2147 `tramp-message-show-message' here, because this suppresses also
2148 error buffers.
2149 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2150 `tramp-message-show-message' is nil.
2151 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2152 (tramp-cleanup): New defun.
2153 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2154 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2155 an error unchanged.
2156 (tramp-completion-handle-file-name-all-completions): Handle hops.
2157 Fix an error when called from ido.
2158 (tramp-completion-dissect-file-name): Use better local variable
2159 name. Add hop to the vector.
2160 (tramp-handle-insert-file-contents): Use progress-reporter for the
2161 whole scenario.
2162 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2163 to `t'.
2164 (tramp-check-for-regexp): Simplify search.
2165 (tramp-enter-password): Remove it. Move implementation ...
2166 (tramp-action-password): ... here.
2167 (tramp-mode-string-to-int, tramp-local-host-p)
2168 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2169 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2170 Set tramp-autoload cookie.
2fe4b125
MA
2171
2172 * net/trampver.el: Update release number.
2173
21742012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2175 Michael Albinus <michael.albinus@gmx.de>
2176
2177 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2178 (tramp-parse-group, tramp-parse-file)
2179 (tramp-parse-shostkeys-sknownhosts): New defuns.
2180 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2181 (tramp-parse-shosts-group, tramp-parse-sconfig)
2182 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2183 (tramp-parse-sknownhosts, tramp-parse-hosts)
2184 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2185 Use them.
2186 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2187 (tramp-parse-putty-group): Don't narrow.
2188 (tramp-parse-putty): Make a loop.
2189 (tramp-file-name-handler): Catch the `suppress' signal.
2190
72834e10
CY
21912012-06-11 Chong Yidong <cyd@gnu.org>
2192
2193 * image.el (imagemagick-register-types): Put the ImageMagick entry
2194 at the end of image-type-file-name-regexps.
2195
a4712e11
JB
21962012-06-11 Johan Bockgård <bojohan@gnu.org>
2197
2198 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2199 (pcase, pcase-let*, pcase-dolist): Use them.
2200
82ad98e3
SM
22012012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * emacs-lisp/pcase.el (pcase--let*): New function.
2204 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2205 (pcase--expand): Use macroexp-let².
2206
f80efb86
SM
22072012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2210 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2211 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2212 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2213 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2214 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2215
31ca4639 22162012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2217
31ca4639
CY
2218 * mail/rmail.el (rmail-yank-current-message): Leave point at
2219 correct position. (Bug#11660)
94f0aa34 2220
31ca4639 22212012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2222
31ca4639 2223 * allout-widgets.el: Fix code header.
9e1b8ec4 2224
31ca4639 22252012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2226
f80efb86
SM
2227 * cus-edit.el (customize-changed-options-previous-release):
2228 Bump to 24.1.
31ca4639 2229
642b6d30
AS
22302012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2231
2232 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2233
4f5d2ba1
CY
22342012-06-09 Chong Yidong <cyd@gnu.org>
2235
2236 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2237
e75852fd
MR
22382012-06-09 Martin Rudalics <rudalics@gmx.at>
2239
2240 * window.el (special-display-popup-frame): Don't use
2241 window--display-buffer (Bug#11651).
2242
1e48e282
EZ
22432012-06-09 Eli Zaretskii <eliz@gnu.org>
2244
8a26b487
EZ
2245 Fix parallel builds: make sure loaddefs.el is not being written
2246 while Lisp files are compiled.
2247 (compile): Don't depend on 'mh-autoloads'.
2248 (compile-CMD, compile-SH): Depend on 'autoloads'.
2249 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2250
1e48e282
EZ
2251 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2252
6175e34b
CY
22532012-06-09 Chong Yidong <cyd@gnu.org>
2254
2255 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2256 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2257 Doc fixes (Bug#11225).
2258
d9857e53
SM
22592012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2262 a function if there's a clear indication that it has a compiler-macro.
2263 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2264 (macro-declarations-alist): Add arglist to declaration functions.
2265 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2266 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2267 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2268 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2269 Also add autoload to find the compiler macro.
2270 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2271 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2272 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2273 (cl--compiler-macro-get): New functions, replacing calls to
2274 cl-define-compiler-macro.
2275 (cl-typep) [compiler-macro]: Use macroexp-let².
2276
f81298f8 22772012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2278
2279 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2280 string properly, fixes Bug#11473.
2281
4b56d0fe
CY
22822012-06-08 Chong Yidong <cyd@gnu.org>
2283
2284 * faces.el (set-face-attribute): Doc fix.
2285 (modify-face): Don't use :bold and :italic.
2286 (error, warning, success): Tweak definitions.
2287
2288 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2289 (custom-modified, custom-set, custom-changed, custom-themed)
2290 (custom-saved, custom-button, custom-button-mouse)
2291 (custom-button-pressed, custom-state, custom-comment-tag)
2292 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2293 (custom-group-subtitle): Use new-style face specs.
2294 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2295 (custom-set-face, custom-changed-face, custom-saved-face)
2296 (custom-button-face, custom-button-pressed-face)
2297 (custom-documentation-face, custom-state-face)
2298 (custom-comment-face, custom-comment-tag-face)
2299 (custom-variable-tag-face, custom-variable-button-face)
2300 (custom-face-tag-face, custom-group-tag-face-1)
2301 (custom-group-tag-face): Remove obsolete face alias.
2302
2303 * epa.el (epa-validity-high, epa-validity-medium)
2304 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2305 (epa-field-name, epa-field-body):
2306 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2307 (font-lock-keyword-face, font-lock-builtin-face)
2308 (font-lock-function-name-face, font-lock-variable-name-face)
2309 (font-lock-type-face, font-lock-constant-face):
2310 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2311 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2312 * speedbar.el (speedbar-button-face, speedbar-file-face)
2313 (speedbar-directory-face, speedbar-tag-face)
2314 (speedbar-selected-face, speedbar-highlight-face)
2315 (speedbar-separator-face):
2316 * whitespace.el (whitespace-newline, whitespace-space)
2317 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2318 (whitespace-line, whitespace-space-before-tab)
2319 (whitespace-space-after-tab, whitespace-indentation)
2320 (whitespace-empty):
2321 * emulation/cua-base.el (cua-global-mark):
2322 * eshell/em-prompt.el (eshell-prompt):
2323 * net/newst-plainview.el (newsticker-new-item-face)
2324 (newsticker-old-item-face, newsticker-immortal-item-face)
2325 (newsticker-obsolete-item-face, newsticker-date-face)
2326 (newsticker-statistics-face, newsticker-default-face):
2327 * net/newst-reader.el (newsticker-feed-face)
2328 (newsticker-extra-face, newsticker-enclosure-face):
2329 * net/newst-treeview.el (newsticker-treeview-face)
2330 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2331 (newsticker-treeview-immortal-face)
2332 (newsticker-treeview-obsolete-face)
2333 (newsticker-treeview-selection-face):
2334 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2335 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2336 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2337 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2338 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2339 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2340 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2341 (mpuz-text):
2342 * progmodes/vera-mode.el (vera-font-lock-number)
2343 (vera-font-lock-function, vera-font-lock-interface):
2344 * textmodes/table.el (table-cell): Use new-style face specs, and
2345 don't use the old :bold and :italic attributes.
2346
2347 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2348 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2349 (ebrowse-member-class, ebrowse-progress): Likewise.
2350 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2351 (ebrowse-file-name-face, ebrowse-default-face)
2352 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2353 (ebrowse-progress-face): Remove obsolete faces.
2354
2355 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2356 Inherit from error and warning faces respectively.
2357
2358 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2359 Likewise.
f80efb86
SM
2360 (flyspell-incorrect-face, flyspell-duplicate-face):
2361 Remove obsolete aliases.
4b56d0fe 2362
03310646
MA
23632012-06-08 Michael Albinus <michael.albinus@gmx.de>
2364
2365 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2366 Avoid infloop.
2367
513749ee
SM
23682012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * startup.el (argv, argi): Make lexically scoped.
2371 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2372 * emacs-lisp/cl-macs.el: Use lexical-binding.
2373 Rename cl-bind-* to cl--bind-*.
2374 * files.el: Don't require `cl' since it doesn't use it.
2375 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2376
595ef4ad
JB
23772012-06-08 Juanma Barranquero <lekktu@gmail.com>
2378
2379 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2380 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2381 instead of calling external sort utility.
2382 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2383
e9f66fcb
EZ
23842012-06-08 Eli Zaretskii <eliz@gnu.org>
2385
2386 * descr-text.el (describe-char): Mention how to insert the
2387 character, if the current input method doesn't support it.
2388 See the discussion in this thread for the details:
2389 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2390
3d10db47
SS
23912012-06-08 Sam Steingold <sds@gnu.org>
2392
2393 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2394 XF86Back to previous-buffer.
2395 (minibuffer-local-map): Bind them to next-history-element and
2396 previous-history-element respectively.
2397 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2398 help-go-back respectively.
2399 * info.el (Info-mode-map): Bind them to Info-history-forward and
2400 Info-history-back respectively.
2401 These are the keys next to Up on the ThinkPad keyboard.
2402
de7e2b36
SM
24032012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2406 * emacs-lisp/cl-macs.el: Provide itself.
2407 (cl--labels-convert-cache): New var.
2408 (cl--labels-convert): New function.
2409 (cl-flet, cl-labels): New implementation with new semantics, relying on
2410 lexical-binding.
2411 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2412 (cl-closure-vars, cl--function-convert-cache)
2413 (cl--function-convert): Move from cl-macs.el.
2414 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2415 rename by removing the "cl-" prefix.
2416 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2417
6fa6c4ae
SM
24182012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2421 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2422 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2423 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2424 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2425 (cl-hash-table-count): Add old compatibility aliases.
2426
2427 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2428 Use macroexpand-all-environment instead.
2429 (cl--old-macroexpand): New var.
2430 (cl--sm-macroexpand): New function.
2431 (cl-symbol-macrolet): Use it during macro expansion.
2432 (cl--function-convert-cache): New var.
2433 (cl--function-convert): New function, extracted from
2434 cl-macroexpand-all.
2435 (cl-lexical-let): Use it.
2436
2437 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2438 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2439 (cl-member): Remove old alias.
2440
2441 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2442 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2443 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2444 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2445 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2446 (cl-macroexpand-cmacs): Remove var.
2447 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2448 Use macroexpand-all instead.
2449
4dd1c416
SM
24502012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2453 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2454 (macroexp-copyable-p): New functions and macros.
2455 * emacs-lisp/edebug.el (edebug-unwrap):
2456 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2457 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2458 (pcase--let*): Remove.
2459 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2460 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2461 macroexp-const-p instead.
2462 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2463
2464 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2465 instead of "cl-" for internal definitions. Use macroexp-const-p.
2466 (cl-old-bc-file-form): Remove var.
2467 (cl-const-exprs-p): Remove fun.
2468 (cl-labels, cl-macrolet): Use backquote.
2469 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2470 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2471 (cl-define-setf-expander): Rename from cl-define-setf-method.
2472 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2473
2474 * international/mule-cmds.el: Don't require CL.
2475 (view-hello-file): Don't use `letf'.
2476
ed8bd4d7
SM
24772012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2478
7287f2f3
SM
2479 * tmm.el (tmm-prompt): Use string-prefix-p.
2480 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2481 (tmm-add-prompt): Use minibuffer-completion-help.
2482 (tmm-delete-map): Remove.
2483
ed8bd4d7
SM
2484 * subr.el (kbd): Make it its own function.
2485
7b4cdbf4
SM
24862012-06-07 Stefan Merten <smerten@oekonux.de>
2487
2488 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2489 Silence compiler warnings. Fix versions.
ed8bd4d7 2490 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2491 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2492 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2493 (rst-package-emacs-version-alist): Correct Emacs version to
2494 represent major merge with upstream.
ed8bd4d7 2495 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2496
2b48d721
GM
24972012-06-06 Glenn Morris <rgm@gnu.org>
2498
2499 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2500 Only print environment variables if set.
2501
fa779ab0
SM
25022012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2505 (macroexp--cons): Rename from maybe-cons.
2506 (macroexp--accumulate): Rename from macroexp-accumulate.
2507 (macroexp--all-forms): Rename from macroexpand-all-forms.
2508 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2509 (macroexp--expand-all): Rename from macroexpand-all-1.
2510
628299e0
SS
25112012-06-06 Sam Steingold <sds@gnu.org>
2512
2513 * calendar/calendar.el (calendar-in-read-only-buffer):
2514 Call `special-mode' to enable the standard read-only keybindings.
2515
b7bb5838
SM
25162012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2519 with "loading" messages (bug#11635).
2520
dfb308ba
MA
25212012-06-06 Michael Albinus <michael.albinus@gmx.de>
2522
2523 * files.el (enable-remote-dir-locals): New option.
2524 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2525
0372ee92
MA
2526 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2527 Ensure, that the temp directory is local.
2528
2529 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2530 `temporary-file-directory'.
2531
eed0bb91
MA
2532 * progmodes/python.el (python-send-region): Ensure, that the
2533 temporary file is created also in the remote case.
2534
7a58f64d
GM
25352012-06-06 Glenn Morris <rgm@gnu.org>
2536
f7dd4e98
GM
2537 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2538 (vc-rcs-update-changelog): Use it.
2539
090bd7cb 2540 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2541
7a58f64d
GM
2542 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2543 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2544 (vc-sccs-diff): Replace use of the external vcdiff script.
2545
daed4003
GM
25462012-06-05 Glenn Morris <rgm@gnu.org>
2547
2548 * ledit.el: Move to obsolete/.
2549
48c455c7
SS
25502012-06-05 Sam Steingold <sds@gnu.org>
2551
ed9265fc 2552 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2553 patch (Bug#11140).
2554
57a7d507
SM
25552012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2556
090bd7cb 2557 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2558
53aacf21
SM
2559 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2560 compiler-macro expansion.
2561
57a7d507
SM
2562 Add native compiler-macro support.
2563 * emacs-lisp/macroexp.el (macroexpand-all-1):
2564 Support compiler-macros directly. Properly follow aliases and apply
2565 the compiler macros more thoroughly.
2566 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2567 macroexpand now properly follows aliases.
2568 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2569 (cl-compiler-macroexpand): Use new prop.
2570 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2571
2572 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2573
51a5f9d8
MR
25742012-06-05 Martin Rudalics <rudalics@gmx.at>
2575
2576 * window.el (get-lru-window, get-mru-window, get-largest-window):
2577 New argument NOT-SELECTED to avoid picking the selected window.
2578 (window--display-buffer-1, window--display-buffer-2): Replace by
2579 new function window--display-buffer
2580 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2581 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2582 Use window--display-buffer.
51a5f9d8
MR
2583 (display-buffer-use-some-window): Remove temporary dedication
2584 hack by calling get-lru-window and get-largest-window with
2585 NOT-SELECTED argument non-nil. Call window--display-buffer.
2586
08f9f738
GM
25872012-06-05 Glenn Morris <rgm@gnu.org>
2588
2589 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2590 Replace external vcdiff script.
2591
e364a2b7
SM
25922012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2595
041df390
CY
25962012-06-04 Chong Yidong <cyd@gnu.org>
2597
e364a2b7
SM
2598 * image.el (imagemagick-types-inhibit): Revert last change.
2599 Add INFO and M.
47b36b94 2600 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2601
7c1898a7
SM
26022012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * emacs-lisp/cl-lib.el: Rename from cl.el.
2605 * emacs-lisp/cl.el: New compatibility file.
2606 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2607 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2608 to obey the "cl-" prefix.
2609 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2610
0c3461de
GM
26112012-06-03 Glenn Morris <rgm@gnu.org>
2612
1e266c88
GM
2613 * emacs-lisp/authors.el (authors-aliases): Addition.
2614
0c3461de
GM
2615 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2616 Fix :version.
2617
d8a52e15
SM
26182012-06-03 Stefan Merten <smerten@oekonux.de>
2619
2620 * textmodes/rst.el: Add comments.
2621 (rst-transition, rst-adornment): New faces.
2622 (rst-adornment-faces-alist): Make default safe to reevaluate.
2623 Fixes
2624 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2625 Improve customization tags.
2626 (rst-define-level-faces): Clarify meaning.
2627
5205d6f6
CY
26282012-06-03 Chong Yidong <cyd@gnu.org>
2629
2630 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2631 (compilation-mode-line-run, compilation-mode-line-exit):
2632 New faces.
5205d6f6
CY
2633 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2634
757ee657
JD
26352012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2636
7c1898a7
SM
2637 * progmodes/which-func.el (which-func-update-ediff-windows):
2638 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2639
5f2c76c6
CY
26402012-06-03 Chong Yidong <cyd@gnu.org>
2641
2642 * bindings.el: Remove explicit help text from format-mode-line.
2643 It is now supplied by mode-line-default-help-echo.
2644 (mode-line-front-space, mode-line-end-spaces)
2645 (mode-line-misc-info): New variables.
2646 (mode-line-modes, mode-line-position): Move the default value to
2647 the variable definition.
2648 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2649 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2650 (mode-line-modified-help-echo): New functions.
2651 (mode-line-mule-info, mode-line-modified): Use them.
2652 (mode-line-eol-desc, propertized-buffer-identification):
2653 Consistency fixes for help text.
cbe46e5f
CY
2654 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2655 set-buffer-file-coding-system (Bug#289).
2656 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2657
f2d6a3df
SM
26582012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2659
2660 * simple.el (execute-extended-command): Set real-this-command
2661 (bug#11506).
2662
37269466
CY
26632012-06-02 Chong Yidong <cyd@gnu.org>
2664
2665 Remove incorrect uses of "modeline" in comments, docstrings, and
2666 function/variable names (Bug#10329).
2667
2668 * cus-edit.el (mode-line):
2669 * dframe.el (dframe-mouse-hscroll):
2670 * emacs-lisp/re-builder.el:
2671 * emacs-lisp/easy-mmode.el (define-minor-mode):
2672 * frame.el (set-frame-name):
2673 * help.el (lookup-minor-mode-from-indicator):
2674 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2675 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2676 (c-toggle-hungry-state):
2677 * progmodes/antlr-mode.el (antlr-language-alist):
2678 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2679 * progmodes/vhdl-mode.el (vhdl-mode):
2680 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2681 * term/ns-win.el (ns-face-at-pos):
2682 * term/sup-mouse.el (sup-mouse-report):
2683 * textmodes/flyspell.el (flyspell-mode-line-string):
2684 * textmodes/ispell.el (ispell-highlight-face):
2685 * textmodes/reftex-global.el:
2686 * vc/vc-arch.el (vc-arch-mode-line-string):
2687 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2688 * vc/vc-git.el (vc-git-mode-line-string):
2689 * vc/vc-hooks.el (vc-display-status)
2690 (vc-default-mode-line-string):
2691 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2692
2693 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2694
2695 * dired.el (dired-sort-set-mode-line): Rename from
2696 dired-sort-set-modeline. All callers changed.
2697
2698 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2699 eshell-status-in-modeline.
2700
2701 * foldout.el (foldout-mode-line-string): Rename from
2702 foldout-modeline-string. All callers changed.
2703 (foldout-update-mode-line): Rename from foldout-update-modeline.
2704
2705 * subr.el (redraw-modeline): Make into obsolete alias.
2706
2707 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2708 timeclock-modeline-display. Make old name an alias.
2709 (timeclock-update-mode-line): Likewise. All callers changed.
2710 (timeclock-mode-line-display): No need to check before using
2711 add-hook.
2712 (timeclock-relative, timeclock-day-over-hook)
2713 (timeclock-use-elapsed, timeclock-mode-string)
2714 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2715
2716 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2717 crisp-mode-modeline-string.
2718
2719 * play/solitaire.el (solitaire-build-mode-line): Rename from
2720 solitaire-build-modeline. All callers changed.
2721
2722 * play/zone.el (zone-hiding-mode-line): Rename from
2723 zone-hiding-modeline. All callers changed.
2724 (zone): Remove unusued `modeline-hidden-level' property.
2725
2726 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2727 xscheme-modeline-initialize. All callers changed.
2728
2729 * strokes.el (strokes-lighter): Rename from
2730 strokes-modeline-string.
2731
2732 * textmodes/sgml-mode.el (html-face-tag-alist)
2733 (html-tag-face-alist): Use mode-line face instead of obsolete
2734 alias modeline.
2735
42152ee4
SM
27362012-06-02 Stefan Merten <smerten@oekonux.de>
2737
2738 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2739 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2740
95f520b5
CY
27412012-06-02 Chong Yidong <cyd@gnu.org>
2742
2743 * image.el (imagemagick-enabled-types): Rename from
2744 imagemagick-types-enable. Add many more types.
2745 (imagemagick-types-inhibit): Change default to nil.
2746 (imagemagick-filter-types): Caller changed.
2747
4a5f187a
SM
27482012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2749
03fef3e6
SM
2750 * emacs-lisp/cl-macs.el: Use backquotes.
2751 (cl-transform-function-property): Use eval-and-compile rather than
2752 abusing `require'.
2753 (defstruct): Use declare-function instead of with-no-warnings.
2754
4a5f187a
SM
2755 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2756 (byte-compile-output-docform): Re-add the print-circle bindings.
2757 (byte-compile-fix-header): Use #$ just because it's shorter.
2758 (byte-compile-output-file-form): Remove defun/defmacro.
2759
bd56924f
MR
27602012-06-01 Martin Rudalics <rudalics@gmx.at>
2761
2762 * simple.el (choose-completion): Remove now obsolete binding for
2763 owindow.
2764
046e38ce
MA
27652012-06-01 Michael Albinus <michael.albinus@gmx.de>
2766
2767 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2768 in order to avoid "Stack overflow in regexp matcher".
2769
32d72c2f
GM
27702012-05-31 Glenn Morris <rgm@gnu.org>
2771
2772 * image.el: For clarity, call imagemagick-register-types at
2773 top-level, rather than relying on a custom :initialize.
2774 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2775 (imagemagick-filter-types): New function. (Bug#7406)
2776 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2777 If disabling support, remove elements altogether rather
2778 than using an impossible regexp.
2779 (imagemagick-types-inhibit): Give it the default init function.
2780
dd41169b
SM
27812012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2782
4a5f187a
SM
2783 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2784 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2785
efc00ab1 27862012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2787
2788 * desktop.el (desktop-read): Clear previous and next buffers for
2789 all windows and bury *Messages* buffer (bug#11556).
2790
500fcedc
SM
27912012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 Add `declare' for `defun'. Align `defmacro's with it.
2794 * emacs-lisp/easy-mmode.el (define-minor-mode)
2795 (define-globalized-minor-mode): Don't autoload the var definitions.
2796 * emacs-lisp/byte-run.el: Use lexical-binding.
2797 (defun-declarations-alist, macro-declarations-alist): New vars.
2798 (defmacro, defun): Use them.
2799 (make-obsolete, define-obsolete-function-alias)
2800 (make-obsolete-variable, define-obsolete-variable-alias):
2801 Use `declare'.
2802 (macro-declaration-function): Mark obsolete.
2803 * emacs-lisp/autoload.el: Use lexical-binding.
2804 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2805
6e8a1786
AM
28062012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2807
2808 * textmodes/ispell.el (ispell-with-no-warnings):
2809 Define as a macro.
500fcedc
SM
2810 (ispell-kill-ispell, ispell-change-dictionary):
2811 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2812 `interactive-p'.
2813
61b108cc
SM
28142012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2817 (macro-declaration-function): Move var from C code.
2818 (macro-declaration-function): Define function with defalias.
2819 * emacs-lisp/macroexp.el (macroexpand-all-1):
2820 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2821 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2822 defun/defmacro any more.
2823 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2824 Provide fallback for unknown arglist.
2825 (byte-compile-arglist-warn): Change calling convention.
2826 (byte-compile-output-file-form): Move print-vars binding.
2827 (byte-compile-output-docform): Simplify accordingly.
2828 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2829 (byte-compile-defmacro-declaration): Remove.
2830 (byte-compile-file-form-defmumble): Generalize to defalias.
2831 (byte-compile-output-as-comment): Return byte-positions.
2832 Simplify callers accordingly.
2833 (byte-compile-lambda): Use `assert'.
2834 (byte-compile-defun, byte-compile-defmacro): Remove.
2835 (byte-compile-file-form-defalias):
2836 Use byte-compile-file-form-defmumble.
2837 (byte-compile-defalias-warn): Remove.
2838
6d3f7c2f
SM
28392012-05-29 Stefan Merten <smerten@oekonux.de>
2840
2841 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2842 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2843
2844 (rst-mode-abbrev-table): Merge definition.
2845 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2846 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2847
6dbaa1c7
UJ
28482012-05-29 Ulf Jasper <ulf.jasper@web.de>
2849
2850 * calendar/icalendar.el
2851 (icalendar-export-region): Export UID properly.
2852
d209e2fb 28532012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2854 * calendar/icalendar.el (icalendar-import-format):
2855 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2856 (icalendar-import-format-uid): New.
2857 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2858 Export UID.
2859
6876a58d
SM
28602012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2863 different alternative patterns.
2864 (pcase-codegen): Be more careful to preserve identity.
2865 (pcase--u1): Don't forget to mark vars as used.
2866
2867 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2868 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2869 (byte-compile-from-buffer): ...rather than here.
2870
2871 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2872 functions from byte-compile-function-environment.
2873
46b7967e
TN
28742012-05-29 Troels Nielsen <bn.troels@gmail.com>
2875
2876 * window.el (window-deletable-p): Avoid deleting the root window
2877 of a frame with an active minibuffer.
2878
69d565e2
MR
28792012-05-29 Martin Rudalics <rudalics@gmx.at>
2880
2881 * simple.el (choose-completion): Use quit-window (Bug#11567).
2882
a149fa51
CY
28832012-05-29 Chong Yidong <cyd@gnu.org>
2884
2885 * whitespace.el (whitespace-cleanup): Fix usage of
2886 whitespace-empty-at-bob-regexp (Bug#11492).
2887
2b311310
AH
28882012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2889
2890 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2891 revert (Bug#11488).
2892
b9cb2387
JL
28932012-05-29 Juri Linkov <juri@jurta.org>
2894
2895 * isearch.el (isearch-mode-map): Bind `M-s _' to
2896 `isearch-toggle-symbol'. Bind `M-s c' to
2897 `isearch-toggle-case-fold'.
2898 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2899 (isearch-forward): Add `M-s _' to the docstring.
2900 (isearch-forward-symbol, isearch-toggle-case-fold)
2901 (isearch-symbol-regexp): New functions. (Bug#11381)
2902
d5e61c1c
JL
29032012-05-29 Juri Linkov <juri@jurta.org>
2904
2905 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2906 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2907 a function, call it to get the regexp.
2908 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2909 property `isearch-message-prefix' instead of the string "word ".
2910 (isearch-search-fun-default): For the case of `isearch-word',
2911 return a lambda that calls re-search-forward/re-search-backward
2912 with a regexp returned by `word-search-regexp' or by the function
2913 in `isearch-word'.
2914
8cbd80f7
JL
29152012-05-29 Juri Linkov <juri@jurta.org>
2916
2917 * isearch.el (isearch-search-fun-default): New function.
2918 (isearch-search-fun): Move default part to the new function
2919 `isearch-search-fun-default'.
2920 (isearch-search-fun-function): Set the default value to
2921 `isearch-search-fun-default'. (Bug#11381)
2922
2923 * comint.el (comint-history-isearch-end):
2924 Use `isearch-search-fun-default'.
2925 (comint-history-isearch-search): Use `isearch-search-fun-default'
2926 and remove spacial case for `isearch-word'.
2927 (comint-history-isearch-wrap): Remove spacial case for
2928 `isearch-word'.
2929
2930 * hexl.el (hexl-isearch-search-function):
2931 Use `isearch-search-fun-default'.
2932
2933 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2934 Use `word-search-regexp' for `isearch-word'.
2935
2936 * misearch.el (multi-isearch-search-fun):
2937 Use `isearch-search-fun-default'.
2938
2939 * simple.el (minibuffer-history-isearch-search):
2940 Use `isearch-search-fun-default' and remove spacial case for
2941 `isearch-word'.
2942 (minibuffer-history-isearch-wrap): Remove spacial case for
2943 `isearch-word'.
2944
2945 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2946 Remove spacial case for `isearch-word'.
2947 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2948
85c8c5b6
AM
29492012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2950
2951 Decrease XEmacs incompatibilities.
2952 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2953 Use `string-match'.
2954 (flyspell-delete-region-overlays): Use alternative definition for
2955 XEmacs.
2956 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2957 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2958 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2959 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2960 `define-obsolete-face-alias' under XEmacs, but old method.
2961
2962 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2963 `with-no-warnings' definition or Emacs alias.
2964 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2965 (ispell-word): Do not use `region-p' if XEmacs.
2966
8cab9efc
AM
29672012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2968
2969 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2970 Check for `ispell-dictionary-base-alist' instead of full
2971 `ispell-dictionary-alist'.
2972 (ispell-init-process): Show spellchecker when starting new Ispell
2973 process.
2974
fda91268
RZ
29752012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2978 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2979
694ea8e3
JB
29802012-05-27 Juanma Barranquero <lekktu@gmail.com>
2981
2982 * version.el (motif-version-string, gtk-version-string)
2983 (ns-version-string): Declare.
2984
e4d4f539
JL
29852012-05-27 Juri Linkov <juri@jurta.org>
2986
2987 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2988 after the `eval-defun-1' specialcaseing
2989 like in `edebug-eval-defun' (bug#10181).
2990
2991 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2992 like in `eval-defun-1'.
2993
33017faf 29942012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2995
fda91268
RZ
2996 * mail/sendmail.el (mail-yank-region):
2997 Recognize rmail-yank-current-message in addition to insert-buffer.
2998 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2999 a *mail* buffer created through rmail-start-mail with sendmail as
3000 mail-user-agent.
3001
33017faf
GM
30022012-05-27 Chong Yidong <cyd@gnu.org>
3003
3004 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3005 Default to 256 (Bug#11267).
3006
3007 * help.el (describe-mode): Doc fix.
3008
04188bb9
GM
30092012-05-26 Glenn Morris <rgm@gnu.org>
3010
38264cc9
GM
3011 * w32-fns.el (w32-init-info): Remove.
3012 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3013
eb7afdad
GM
3014 * info.el (info-initialize): For self-contained NS builds, put the
3015 included info/ directory at the front. (Bug#2791)
3016
04188bb9
GM
3017 * paths.el (Info-default-directory-list): Make it a defcustom,
3018 mainly so that we can use custom-initialize-delay.
3019
a179e3f7
SM
30202012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3021
43416392
SM
3022 * subr.el (buffer-has-markers-at): Mark obsolete.
3023
a179e3f7 3024 * subr.el (lambda): Use declare.
43416392 3025
a179e3f7
SM
3026 * emacs-lisp/lisp-mode.el (lambda):
3027 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3028
34a008d9
AH
30292012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3030
3031 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3032
0a3b289f
GM
30332012-05-26 Glenn Morris <rgm@gnu.org>
3034
3035 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3036
758c81e8
GM
30372012-05-25 Glenn Morris <rgm@gnu.org>
3038
f9f334f0
GM
3039 * paths.el: Remove no-byte-compile.
3040 * loadup.el: No need to load paths.el uncompiled.
3041
87eb79c2
GM
3042 * image.el (imagemagick-types-inhibit): Doc fix.
3043
758c81e8
GM
3044 * version.el: Remove no-byte-compile and associated formatting.
3045 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3046 is ancient code from when there was an "inc-vers.el".
3047
e7e85dc0
SM
30482012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * progmodes/gdb-mi.el: Minor style changes.
3051 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3052 Turn into minor modes.
3053 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3054 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3055 (gdb-shell): Remove unneeded let-binding.
3056 (gdb-get-many-fields): Eliminate O(n²) behavior.
3057
f31237a4
EZ
30582012-05-25 Eli Zaretskii <eliz@gnu.org>
3059
3060 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3061 platforms that don't link in fontset.c.
3062
bc1b21bb
JL
30632012-05-25 Juri Linkov <juri@jurta.org>
3064
3065 Use the same diff color scheme as in modern VCSes (bug#10181).
3066
3067 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3068 to avoid confusion with `diff-added' that now uses green colors.
3069 (diff-removed): Use shades of red.
3070 (diff-added): Use shades of green.
3071 (diff-changed): Leave just the yellow color.
3072 (diff-use-changed-face): New variable.
3073 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3074 how to highlight context diff changes.
3075 (diff-refine-change): Use shades of yellow.
3076 (diff-refine-removed): New face that uses shades of red.
3077 (diff-refine-added): New face that uses shades of green.
3078 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3079 `diff-refine-removed' in the call to `smerge-refine-subst'
3080 depending on the value of `diff-use-changed-face'.
3081
3082 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3083 (smerge-other): Use shades of green.
3084 (smerge-base): Use shades of yellow.
3085 (smerge-refined-change): Empty face.
3086 (smerge-refined-removed): New face that uses shades of red.
3087 (smerge-refined-added): New face that uses shades of green.
3088 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3089 args `props-r' and `props-a', and use them. Doc fix.
3090 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3091 on its value use different faces `smerge-refined-change',
3092 `smerge-refined-removed', `smerge-refined-added' in the call to
3093 `smerge-refine-subst'.
3094
3095 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3096 Add face condition `min-colors 88' with shades of red.
3097 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3098 `min-colors 88' with shades of green.
3099 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3100 `min-colors 88' with shades of yellow.
3101
6df9112c
GM
31022012-05-24 Glenn Morris <rgm@gnu.org>
3103
ead5edc0
GM
3104 * paths.el (prune-directory-list, remote-shell-program): Move to...
3105 * files.el (prune-directory-list, remote-shell-program): ...here.
3106 For the latter, delay initialization, prefer ssh, just search PATH.
3107
f18b81e6
GM
3108 * paths.el (term-file-prefix): Move to faces.el (the only user).
3109 * faces.el (term-file-prefix): Move here, make it a defcustom.
3110
ee2f89a6
GM
3111 * paths.el (news-directory, news-path, news-inews-program):
3112 Move to gnus/nnspool.el.
61a583ca 3113
f8815e4c
GM
3114 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3115
c8f3b42c
GM
3116 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3117 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3118 Make the latter a defcustom, with a delayed initialization.
3119
6df9112c
GM
3120 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3121 These were deleted from Gnus itself late 2010.
3122
5dadff36
JB
31232012-05-22 Juanma Barranquero <lekktu@gmail.com>
3124
9e1701c6
JB
3125 * progmodes/which-func.el (which-func-ff-hook):
3126 Check against user-error, not error.
3127
bd7239f5 3128 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3129 cl-specs.el, which no longer exists.
3130
3290526d
GM
31312012-05-22 Glenn Morris <rgm@gnu.org>
3132
3133 * info.el (info-emacs-bug): New command.
3134 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3135 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3136
ff0c3cfb
GM
31372012-05-21 Glenn Morris <rgm@gnu.org>
3138
3139 * makefile.w32-in (update-subdirs-SH):
3140 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3141
5814f126
SM
31422012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3143
a52c0aa0
SM
3144 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3145
5814f126
SM
3146 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3147 Simplify Maven regexp, and make sure the file can't start with a space
3148 (bug#11517).
3149
b847032c
GM
31502012-05-21 Glenn Morris <rgm@gnu.org>
3151
3152 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3153 Scrap superfluous subshells.
3154
3858bfe7
SM
31552012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3158 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3159
d14b0029
JB
31602012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3161
3162 * calc/calc.el (calc-ensure-consistent-units): New variable.
3163
a52c0aa0
SM
3164 * calc/calc-units.el (math-consistent-units-p)
3165 (math-check-unit-consistency): New functions.
3166 (calc-quick-units, calc-convert-units):
3167 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3168 is non-nil.
d14b0029
JB
3169 (calc-extract-units): Fix typo.
3170
60c4db3a
SM
31712012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3172
77f3b62e
SM
3173 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3174
60c4db3a
SM
3175 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3176 (flyspell-default-deplacement-commands): Don't spell check after
3177 repeated window/frame switches (e.g. triggered by mouse-movement).
3178 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3179 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3180 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3181 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3182 Remove unused vars.
3183 (flyspell-get-casechars, flyspell-get-not-casechars):
3184 Simplify; Don't bother removing a ] just to add it back.
3185 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3186
d209e2fb 31872012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3188
3189 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3190 New functions.
bd7239f5 3191 (math-function-table): Add support for more C functions.
b1a10716 3192
3f1b25b5
AM
31932012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3194
090bd7cb
JB
3195 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3196 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3197 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3198
b581bb5c
SM
31992012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3202 their respective macro declarations.
3203 * skeleton.el (define-skeleton):
3204 * progmodes/compile.el (define-compilation-mode):
3205 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3206 (define-ibuffer-filter):
3207 * emacs-lisp/generic.el (define-generic-mode):
3208 * emacs-lisp/easy-mmode.el (define-minor-mode)
3209 (define-globalized-minor-mode):
3210 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3211 * emacs-lisp/byte-run.el (defsubst):
3212 * custom.el (deftheme): Add doc-string metadata.
3213
70b8ef8f
SM
32142012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3215
3216 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3217
b1198e17
SM
32182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3219
9abdc45d
SM
3220 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3221
b1198e17
SM
3222 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3223 * emacs-lisp/cl-macs.el: Idem.
3224 * emacs-lisp/cl-specs.el: Remove.
3225
4735906a
SM
32262012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 Minor renaming of internal CL functions and variables.
3229 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3230 (cl--position): Rename from cl-position.
3231 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3232 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3233 (cl--random-state): Rename from *random-state*.
3234
ac348012
SM
32352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3238 parens around the arg list (bug#11499).
3239
a0a79cde
JL
32402012-05-17 Juri Linkov <juri@jurta.org>
3241
3242 * isearch.el (word-search-regexp, word-search-backward)
3243 (word-search-forward, word-search-backward-lax)
3244 (word-search-forward-lax): Move functions from search.c
3245 (bug#10145, bug#11381).
3246
65034a51
AM
32472012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3248
090bd7cb
JB
3249 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3250 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3251 Delay for otherchars as for normal word components.
65034a51 3252
1a72a195
SM
32532012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3254
3255 * minibuffer.el (completion--sifn-requote): Fix last change.
3256 (minibuffer-local-must-match-filename-map):
3257 Move define-obsolete-variable-alias before its var.
3258
fdb058c2
SM
32592012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3260
c41045e6
SM
3261 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3262
036dfb8b
SM
3263 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3264 behavior.
3265 (completion--string-equal-p): New function.
3266 (completion--twq-all): Use it to get better assertion failure data.
3267
2473256d
SM
3268 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3269 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3270 (shell--requote-argument): New functions.
3271 (shell-completion-vars): Use them.
3272 (shell--parse-pcomplete-arguments): Rename from
3273 shell-parse-pcomplete-arguments.
3274 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3275 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3276 Obey comint-file-name-quote-list.
3277
fdb058c2
SM
3278 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3279 (smie-indent-keyword): Use it.
3280
51fa99f1
SM
32812012-05-14 Stefan Merten <smerten@oekonux.de>
3282
3283 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3284
e18afed7 32852012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3286
3287 * net/rlogin.el (rlogin-mode-map): Fix last change.
3288
e18afed7 32892012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3290
3291 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3292 the following \r\n using a single `process-send-string', since the
3293 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3294 with two `process-send-string's (Bug#11444).
8633b1f4 3295
e18afed7 32962012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3297
fdb058c2
SM
3298 * shell.el (shell-parse-pcomplete-arguments):
3299 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3300
2d21d7f6
WJ
33012012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3302
e18afed7 3303 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3304 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3305 (image-transform-width, image-transform-fit-width): New functions.
3306 (image-transform-properties): Use them.
3307 (image-transform-check-size): New function.
3308 (image-toggle-display-image): Use it (for testing).
3309 (image-transform-set-rotation): Reduce angle mod 360.
3310 Delete obsolete comment.
3311
7102e6d0
WJ
33122012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3313
3314 * image-mode.el: Fix scaling (bug#11399).
3315 (image-transform-resize): Doc fix.
3316 (image-transform-properties): Default scale is 1 and height should
3317 be an integer.
3318
06bc5e6e
SM
33192012-05-13 Johan Bockgård <bojohan@gnu.org>
3320
3321 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3322 than hard-coding `car', to fix misbehavior when moving forward.
3323
0ae03b6a
CY
33242012-05-13 Chong Yidong <cyd@gnu.org>
3325
3326 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3327 (tabulated-list-entries, tabulated-list-padding)
3328 (tabulated-list-sort-key): Make permanent-local.
3329
3330 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3331 (electric-buffer-list): Put electric buffer menu
3332 command descriptions in this docstring, instead of the docstring
3333 of electric-buffer-menu-mode. Code cleanups.
3334 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3335 Electric-buffer-menu-mode.
3336 (electric-buffer-update-highlight): Minor code cleanup.
3337
205a7391
MA
33382012-05-13 Michael Albinus <michael.albinus@gmx.de>
3339
3340 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3341 (Bug#11447)
3342
e5bd0a28
SM
33432012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 Move define-obsolete-variable-alias before the var's definition.
3346 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3347 * tooltip.el (tooltip-hook):
3348 * textmodes/reftex-toc.el (reftex-toc-map):
3349 * textmodes/reftex-sel.el (reftex-select-label-map)
3350 (reftex-select-bib-map):
3351 * textmodes/reftex-index.el (reftex-index-map)
3352 (reftex-index-phrases-map):
3353 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3354 * progmodes/meta-mode.el (meta-mode-map):
3355 * novice.el (disabled-command-hook):
3356 * loadhist.el (unload-hook-features-list):
3357 * frame.el (blink-cursor):
3358 * files.el (find-file-not-found-hooks, write-file-hooks)
3359 (write-contents-hooks):
3360 * emulation/tpu-edt.el (GOLD-map):
3361 * emacs-lock.el (emacs-lock-from-exiting):
3362 * emacs-lisp/generic.el (generic-font-lock-defaults):
3363 * emacs-lisp/chart.el (chart-map):
3364 * dos-fns.el (register-name-alist):
3365 * dired-x.el (dired-omit-files-p):
3366 * desktop.el (desktop-enable):
3367 * cus-edit.el (custom-mode-hook):
3368 * buff-menu.el (buffer-menu-mode-hook):
3369 * bookmark.el (bookmark-read-annotation-text-func)
3370 (bookmark-exit-hooks):
3371 * allout.el (allout-mode-deactivate-hook)
3372 (allout-exposure-change-hook, allout-structure-added-hook)
3373 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3374 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3375 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3376 comes before the corresponding variable's definition.
3377
ac59c2f6
CY
33782012-05-12 Chong Yidong <cyd@gnu.org>
3379
3380 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3381 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3382 (Buffer-menu-mode-map): Bind it.
3383 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3384
dee6c9a3
SM
33852012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3386
2171cea5
SM
3387 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3388 (prolog-upper-case-string, prolog-lower-case-string)
3389 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3390 (prolog-use-smie, prolog-smie-grammar): New vars.
3391 (prolog-smie-forward-token, prolog-smie-backward-token)
3392 (prolog-smie-rules): New funs.
3393 (prolog-comment-indent): Remove.
3394 (prolog-mode-variables): Use default comment indentation instead.
3395 Setup SMIE.
3396 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3397 (prolog-mode): Don't call them any more.
3398 (prolog-electric-colon, prolog-electric-dash)
3399 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3400
aa0382bd
SM
3401 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3402
dbacb4bd
SM
3403 * minibuffer.el (completion--twq-all): Again, allow case differences.
3404
13bdd94c
SM
3405 * term.el: Move keymap initialization code to be more idiomatic.
3406 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3407 (term-terminal-menu): Move initialization into declaration.
3408 (term-escape-char): Let the user set it in her .emacs.
3409
ff46c759
SM
3410 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3411 Provide SMIE-based indentation (not enabled by default yet).
3412 (sh-mode-map): Don't bind electric keys.
3413 Use electric-pair-mode instead of skeleton-pair.
3414 (sh-assignment-regexp): Fit within 80 columns.
3415 (sh-indent-supported): Specify actual shell name instead of boolean.
3416 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3417 (sh-maybe-here-document): Use it. Make obsolete.
3418 (sh-electric-here-document-mode) New minor mode.
3419 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3420 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3421 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3422 (sh-smie-rc-grammar, sh-use-smie): New vars.
3423 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3424 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3425 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3426 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3427 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3428 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3429 (sh-set-shell): Use smie-setup if requested.
3430
dee6c9a3
SM
3431 * term.el (term-set-escape-char): Properly set term-escape-char.
3432 See http://stackoverflow.com/questions/10524656.
3433
9f9aa044
CY
34342012-05-10 Chong Yidong <cyd@gnu.org>
3435
3436 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3437 Use url-generic-parse-url, and handle host names and Windows
3438 filenames properly.
3439 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3440 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3441 URL schemes to work on.
3442 (ffap--toggle-read-only): New function.
3443 (ffap-read-only, ffap-read-only-other-window)
3444 (ffap-read-only-other-frame): Use it.
3445 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3446 necessary for ffap-url-unwrap-remote.
3447
836d29b3
DA
34482012-05-10 Dave Abrahams <dave@boostpro.com>
3449
3450 * cus-start.el (create-lockfiles): Add it.
3451
00fd78ed
CY
34522012-05-09 Chong Yidong <cyd@gnu.org>
3453
3454 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3455 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3456
666b903b 34572012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3458
3459 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3460
666b903b 34612012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3462
3463 * ansi-color.el (ansi-color-process-output): Check for validity of
3464 comint-last-output-start before using it. This avoids a bad
3465 interaction with gdb-mi's input/output buffer.
3466
666b903b 34672012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3468
3469 * files.el (dir-locals-read-from-file):
3470 Mention dir-locals in any error message.
3471
666b903b 34722012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3473
3474 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3475 package (Bug#11410).
3476
f677562b
CY
3477 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3478 variables into description.
3479
666b903b 34802012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3481
3482 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3483 shell-delimiter-argument-list (bug#11348).
3484 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3485
b499d8d0
JB
34862012-05-09 Juanma Barranquero <lekktu@gmail.com>
3487
8f6b6da8
JB
3488 * textmodes/rst.el: Silence byte-compiler warnings.
3489 (rst-re-alist, rst-reset-section-caches): Move around.
3490 (rst-re): Use `characterp', not `char-valid-p'.
3491 (font-lock-beg, font-lock-end): Declare.
3492
4824146a
JB
3493 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3494 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3495
b499d8d0
JB
3496 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3497
ad89bb83
GM
34982012-05-08 Glenn Morris <rgm@gnu.org>
3499
3500 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3501
8bba5a75
SM
35022012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3503
49ed9c8e
SM
3504 * vc/log-edit.el: Add GNU coding standards highlighting.
3505 (log-edit-font-lock-gnu-style)
3506 (log-edit-font-lock-gnu-keywords): New vars.
3507 (log-edit-font-lock-keywords): New fun.
3508 (log-edit-mode): Don't fold case in font-lock.
3509 (log-edit-font-lock-keywords): Do not assume case-folding.
3510
07d00b56
SM
3511 * imenu.el: Misc cleanup. Make docstrings out of comments.
3512 Use lexical-binding.
3513 (imenu--index-alist, imenu--last-menubar-index-alist)
3514 (imenu-menubar-modified-tick): Use defvar-local.
3515 (imenu--split-menu): Remove unused var.
3516 (imenu--cleanup-seen): Declare as global.
3517 (imenu--cleanup): Use dolist.
3518
8bba5a75
SM
3519 * subr.el (defvar-local): Add debug spec and doc-string position.
3520
5075bdb5
GM
35212012-05-08 Glenn Morris <rgm@gnu.org>
3522
090bd7cb 3523 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3524 * language/english.el, language/georgian.el, language/greek.el:
3525 * language/japanese.el, language/khmer.el, language/korean.el:
3526 * language/lao.el, language/misc-lang.el, language/romanian.el:
3527 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3528 * language/thai.el, language/utf-8-lang.el:
3529 Remove no-byte-compile setting.
3530
5075bdb5
GM
3531 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3532
06f679a7
AH
35332012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3534
3535 * progmodes/make-mode.el (makefile-browse):
3536 Remove unnecessary interactive. (Bug#11324)
3537
03794570
GM
35382012-05-07 Glenn Morris <rgm@gnu.org>
3539
af8630f4
GM
3540 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3541
03794570
GM
3542 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3543
f0809a9d
SM
35442012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3545
28be5ce7
SM
3546 * loadup.el: Preload newcomment.el.
3547 * newcomment.el: Move autoload-only code to toplevel.
3548
f0809a9d
SM
3549 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3550 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3551 Handle new :right-align column property.
3552 (tabulated-list-print-col): Idem, plus use `display' text-property to
3553 try and preserve alignment for variable pitch fonts.
3554
1241b724
CY
35552012-05-07 Chong Yidong <cyd@gnu.org>
3556
3557 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3558 (tabulated-list-use-header-line): New var.
3559 (tabulated-list-init-header): Use it.
3560 (tabulated-list-print-fake-header): New function.
3561 (tabulated-list-print): Use it.
3562 (tabulated-list-sort-button-map): Add non-header-line commands.
3563 (tabulated-list-init-header): Add column name property to basic
3564 labels as well.
3565 (tabulated-list-col-sort): Handle non-header-line button case.
3566 (tabulated-list--sort-by-column-name): Fix a corner case.
3567
f0809a9d
SM
3568 * buff-menu.el (list-buffers--refresh):
3569 Handle Buffer-menu-use-header-line.
1241b724 3570
e5f9458f
CY
35712012-05-06 Chong Yidong <cyd@gnu.org>
3572
3573 * buff-menu.el: Convert to Tabulated List mode.
3574 (Buffer-menu-buffer+size-width): Make obsolete.
3575 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3576 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3577 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3578 documentation into docstring of buffer-menu.
3579 (Buffer-menu-toggle-files-only): Add an informative message.
3580 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3581 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3582 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3583 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3584 (Buffer-menu-execute, Buffer-menu-select)
3585 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3586 (Buffer-menu-bury): Use Tabulated List machinery.
3587 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3588 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3589 Delete.
e5f9458f
CY
3590 (list-buffers--refresh): New function.
3591 (list-buffers-noselect): Use it.
3592 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3593 (Buffer-menu--pretty-file-name): New helper functions.
3594
3595 * loadup.el: Preload tabulated-list.
3596
3597 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3598 tabulated-list-sort-column.
3599 (tabulated-list-init-header): Add the initial aligning space even
3600 if tabulated-list-padding is zero.
3601
e129292c
CS
36022012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3603
3604 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3605 whose cdr is not a cons cell correctly (bug#11038).
3606
6632d361
CY
36072012-05-06 Chong Yidong <cyd@gnu.org>
3608
e129292c
CS
3609 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3610 Accept additional plist in column descriptors.
6632d361
CY
3611 (tabulated-list-init-header): Obey it.
3612 (tabulated-list-get-entry): New function.
3613 (tabulated-list-put-tag): Use it. Use string-width instead of
3614 length.
3615 (tabulated-list--column-number): New function.
3616 (tabulated-list-print): Use it.
e129292c
CS
3617 (tabulated-list-print-col): New function.
3618 Set `tabulated-list-column-name' property on each column's text.
6632d361 3619 (tabulated-list-print-entry): Use it.
e129292c
CS
3620 (tabulated-list-delete-entry, tabulated-list-set-col):
3621 New functions.
6632d361
CY
3622 (tabulated-list-sort-column): New command (Bug#11337).
3623
3cc99f68
CY
3624 * buff-menu.el (list-buffers): Move C-x C-b binding from
3625 buff-menu.el to bindings.el.
3626
3627 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3628 :advertised-binding feature.
3629
52b61776
TN
36302012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3631
3632 * progmodes/compile.el (compilation-internal-error-properties):
3633 Calculate start position correctly when end-col is set but
3634 end-line is not (Bug#11382).
3635
ebfe2597
WJ
36362012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3637
3638 * man.el (Man-unindent): Use text-property-default-nonsticky to
3639 prevent untabify from inheriting face properties (Bug#11408).
3640
6d3f7c2f
SM
36412012-05-05 Stefan Merten <smerten@oekonux.de>
3642
3643 * textmodes/rst.el: Major merge with upstream development up to
3644 Docutils SVN r7399 / rst.el V1.2.1.
3645
3646 Clarify maintainership and authors.
3647
3648 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3649 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3650 (rst-official-version, rst-official-cvs-rev, rst-version)
3651 (rst-package-emacs-version-alist): New functions and variables
3652 for version information.
3653
3654 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3655 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3656 (rst-mode-syntax-table, rst-mode): New and corrected functions
3657 and variables representing reStructuredText features.
3658
3659 (rst-re): New function for reStructuredText regexes. Use in
3660 many places.
3661
3662 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3663 (rst-mode-map): Rebind keys.
3664
3665 (rst-mode-lazy, rst-font-lock-keywords)
3666 (rst-font-lock-extend-region)
3667 (rst-font-lock-extend-region-internal)
3668 (rst-font-lock-extend-region-extend)
3669 (rst-font-lock-find-unindented-line-limit)
3670 (rst-font-lock-find-unindented-line-match)
3671 (rst-adornment-level, rst-font-lock-adornment-level)
3672 (rst-font-lock-adornment-match)
3673 (rst-font-lock-handle-adornment-pre-match-form)
3674 (rst-font-lock-handle-adornment-matcher): Major revision of
3675 font-locking. Integrate with other code. Use `jit-lock-mode'.
3676
3677 (rst-preferred-adornments, rst-adjust-hook)
3678 (rst-new-adornment-down, rst-preferred-bullets)
3679 (rst-preferred-bullets, rst-indent, rst-indent-width)
3680 (rst-indent-field, rst-indent-literal-normal)
3681 (rst-indent-literal-minimized, rst-indent-comment): Change,
3682 extend and improve customization.
3683
3684 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3685 (rst-normalize-cursor-position, rst-get-decoration)
3686 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3687 (rst-rstrip, rst-toc-insert-find-delete-contents)
3688 (rst-shift-fill-region, rst-compute-bullet-tabs)
3689 (rst-debug-print-tabs, rst-debug-mark-found)
3690 (rst-shift-region-guts, rst-shift-region-right)
3691 (rst-shift-region-left, rst-use-char-classes)
3692 (rst-font-lock-keywords-function)
3693 (rst-font-lock-indentation-point)
3694 (rst-font-lock-find-unindented-line-begin)
3695 (rst-font-lock-find-unindented-line-end)
3696 (rst-font-lock-find-unindented-line)
3697 (rst-font-lock-adornment-point, rst-font-lock-level)
3698 (rst-adornment-level-alist): Remove functions and variables.
3699
3700 (rst-compare-adornments, rst-get-adornment-match)
3701 (rst-suggest-new-adornment, rst-get-adornments-around)
3702 (rst-adornment-complete-p, rst-get-next-adornment)
3703 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3704 (rst-straighten-adornments): Standardize function names to
3705 use "adornment" instead of "decoration". Correct callers.
3706 Similar standardizing in many places.
3707
3708 (rst-update-section, rst-adjust, rst-promote-region)
3709 (rst-enumerate-region, rst-bullet-list-region)
3710 (rst-repeat-last-character): Correct use of `interactive'.
3711
3712 (rst-classify-adornment, rst-find-all-adornments)
3713 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3714 (rst-find-leftmost-column, rst-repeat-last-character):
3715 Refactor functions.
3716
3717 (rst-find-title-line, rst-reset-section-caches)
3718 (rst-get-adornments-around, rst-adjust-adornment-work)
3719 (rst-arabic-to-roman, rst-roman-to-arabic)
3720 (rst-insert-list-pos, rst-insert-list-new-item)
3721 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3722 New functions.
3723
3724 (rst-all-sections, rst-section-hierarchy)
3725 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3726 New variables.
3727
3728 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3729 configuration instead of only buffer. Change where necessary.
3730
3731 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3732 (rst-shift-region, rst-adaptive-fill): New functions for
3733 indentation and filling.
3734
3735 (rst-comment-line-break, rst-comment-indent)
3736 (rst-comment-insert-comment, rst-comment-region)
3737 (rst-uncomment-region): New functions for handling comments.
3738
3739 (rst-compile): Quote shell arguments.
3740
3741 (rst-compile-pdf-preview, rst-compile-slides-preview):
3742 Delete temporary files after use.
3743
a43f98b3
GM
37442012-05-05 Glenn Morris <rgm@gnu.org>
3745
48176e8b
GM
3746 * calendar/cal-html.el: Optionally include holidays in the output.
3747 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3748 (cal-html-holidays): New option.
3749 (cal-html-css-default): Add holiday entry.
3750 (holiday-in-range): Autoload it.
3751 (cal-html-htmlify-entry): Add optional class argument.
3752 (cal-html-htmlify-list): Add optional holidays argument.
3753 (cal-html-insert-agenda-days): Include holidays in the output.
3754 (cal-html-one-month): Maybe include holidays.
3755
a43f98b3
GM
3756 * calendar/holidays.el (holiday-in-range):
3757 Move here from cal-tex-list-holidays.
3758 * calendar/cal-tex.el (cal-tex-list-holidays):
3759 Make it an obsolete alias for holiday-in-range. Update all callers.
3760
fef9d149 37612012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3762
3763 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3764 Nextstep.
3765
248da2f4
RW
37662012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3767
3768 * files.el (file-auto-mode-skip): New var.
3769 (set-auto-mode-1): Use it.
3770
f95e9344
SM
37712012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3772
df96ab1e
SM
3773 * repeat.el: Use lexical-binding.
3774 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3775 (repeat-undo-count): Remove.
3776 (repeat):
3777 * progmodes/octave-mod.el (octave-abbrev-start):
3778 * progmodes/f90.el (f90-abbrev-start):
3779 * face-remap.el (text-scale-adjust):
3780 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3781
5342bb06
SM
3782 * emacs-lisp/pcase.el (pcase--let*): New function.
3783 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3784 a bit more.
3785 (pcase--split-pred): Be more clever about ruling out overlap between
3786 a predicate and some constant pattern.
3787 (pcase--q1): Use `null' instead of (eq foo nil).
3788
f95e9344
SM
3789 * subr.el (setq-local, defvar-local): New macros.
3790 (kbd): Redefine as an alias.
3791 (with-selected-window): Leave unrelated frames alone.
3792 (set-temporary-overlay-map): New function.
3793
71873e2b
SM
37942012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * subr.el (user-error): New function.
3797 * window.el (switch-to-buffer):
3798 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3799 (smerge-match-conflict):
3800 * simple.el (previous-matching-history-element)
3801 (next-matching-history-element, goto-history-element, undo-more)
3802 (undo-start):
3803 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3804 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3805 (next-file, tags-loop-scan, list-tags, complete-tag):
3806 * progmodes/compile.el (compilation-loop):
3807 * mouse.el (mouse-minibuffer-check):
3808 * man.el (Man-bgproc-sentinel, Man-goto-page):
3809 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3810 (Info-history-forward, Info-follow-reference, Info-menu)
3811 (Info-extract-menu-item, Info-extract-menu-counting)
3812 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3813 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3814 (Info-next-reference, Info-prev-reference, Info-index)
3815 (Info-index-next, Info-follow-nearest-node)
3816 (Info-copy-current-node-name):
3817 * imenu.el (imenu--make-index-alist)
3818 (imenu-default-create-index-function, imenu-add-to-menubar):
3819 * files.el (basic-save-buffer, recover-file):
3820 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3821 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3822 (checkdoc-message-text, checkdoc-defun):
3823 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3824 * cus-edit.el (customize-changed-options, customize-rogue)
3825 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3826 (custom-variable-mark-to-reset-standard)
3827 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3828 (custom-file):
3829 * completion.el (check-completion-length):
3830 * comint.el (comint-search-arg)
3831 (comint-previous-matching-input-string-position)
3832 (comint-previous-matching-input)
3833 (comint-replace-by-expanded-history-before-point, comint-send-input)
3834 (comint-copy-old-input, comint-backward-matching-input)
3835 (comint-goto-process-mark, comint-set-process-mark):
3836 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3837 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3838
8a61ee22
SM
38392012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3840
66408d1e
SM
3841 * dabbrev.el (dabbrev--ignore-case-p): New function.
3842 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3843 Use it.
3844
8a61ee22
SM
3845 * files.el (automount-dir-prefix): Mark as obsolete.
3846
3c74813a
GM
38472012-05-04 Glenn Morris <rgm@gnu.org>
3848
3849 * patcomp.el, play/bruce.el: Move to obsolete/.
3850
0bfcf5c5
PE
38512012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3852
3853 Fix minor Y10k bugs.
3854 * arc-mode.el (archive-unixdate):
3855 * autoinsert.el (auto-insert-alist):
3856 * calc/calc-forms.el (math-this-year):
3857 * emacs-lisp/copyright.el (copyright-current-year)
3858 (copyright-update-year, copyright):
3859 * tar-mode.el (tar-clip-time-string):
3860 * time.el (display-time-update):
3861 Don't assume years have 4 digits.
3862
78f3273a
CY
38632012-05-04 Chong Yidong <cyd@gnu.org>
3864
3865 * dos-w32.el (file-name-buffer-file-type-alist)
3866 (direct-print-region-use-command-dot-com):
3867 * ffap.el (ffap-menu-regexp):
3868 * find-file.el (ff-special-constructs):
3869 * follow.el (follow-debug):
3870 * forms.el (forms--debug):
3871 * iswitchb.el (iswitchb-all-frames):
3872 * ido.el (ido-all-frames):
3873 * emacs-lisp/timer.el (timer-max-repeats):
3874 * mail/feedmail.el (feedmail-mail-send-hook)
3875 (feedmail-mail-send-hook-queued):
3876 * mail/footnote.el (footnote-signature-separator):
3877 * mail/mailabbrev.el (mail-alias-separator-string)
3878 (mail-abbrev-mode-regexp):
3879 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3880 * progmodes/idlwave.el (idlwave-libinfo-file)
3881 (idlwave-default-completion-case-is-down)
3882 (idlwave-library-routines): Convert defvars to defcustoms.
3883
3884 * mail/rmail.el (rmail-decode-mime-charset):
3885 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3886 (idlwave-shell-fix-inserted-breaks)
3887 (idlwave-shell-activate-alt-keybindings)
3888 (idlwave-shell-use-breakpoint-glyph):
3889 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3890
f7ae6719
SM
38912012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3894
47086495
WS
38952012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3896
3897 * progmodes/verilog-mode.el (font-lock-keywords):
3898 Fix mis-highligting auto. Reported by Craig Barner.
3899 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3900 defines from global name space. Reported by Dan Dever.
3901 (verilog-auto-reset, verilog-auto-reset-widths)
3902 (verilog-auto-tieoff): Support using unbased numbers for
3903 AUTORESET and AUTOTIEOFF.
3904 (verilog-submit-bug-report): Update variable list.
3905 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3906 parenthesis from not matching. Reported by Michael Rytting.
3907 (verilog-auto-template-lint): Fix hash error when linting modules
3908 with no used templates.
3909 (verilog-warn, verilog-warn-error)
3910 (verilog-warn-fatal): When non-interactive report multiple
3911 warnings before exiting. Suggested by Brad Dobbie.
3912 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3913 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3914 to report unused template errors. Reported by Brad Dobbie.
3915 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3916 nets, bug438. Reported by Vns Blore.
3917 (verilog-auto-inout-module, verilog-auto-reg)
3918 (verilog-read-decls, verilog-read-sub-decls-sig)
3919 (verilog-signals-edit-wire-reg, verilog-signals-with):
3920 Fix passing of Verilog data types in ANSI input/output ports
3921 such as "output logic" into the AUTOs. Special case "wire" and
3922 "reg" for backwards compatibility presuming Verilog 2001.
3923 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3924 (verilog-preprocess): Fix replication of preprocess output.
3925 Reported by Brad Dobbie.
3926 (verilog-auto-inst-interfaced-ports):
3927 Create verilog-auto-inst-interfaced-ports, bug429.
3928 Reported by Julian Gorfajn.
3929 (verilog-after-save-font-hook)
3930 (verilog-before-save-font-hook): New variable.
3931 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3932 (verilog-save-font-mods): Wrap disabling fontification, reported
3933 by David Rogoff.
3934 (verilog-do-indent, verilog-pretty-declarations-auto)
3935 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3936 Reported by Pierre-David Pfister.
3937 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3938 of class declarations, bug292. Reported by Kevin Heilman.
3939 (verilog-read-decls): Fix 'parameter type' not appearing in
3940 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3941 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3942 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3943 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3944 Reported by David Kravitz.
3945
39462012-05-03 Michael McNamara <mac@mail.brushroad.com>
3947
3948 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3949 assignment with tests in ifs and for loops.
3950 (verilog-extended-complete-re, verilog-complete-reg): Change so
3951 that DPI inport functions don't look like fuction declarations.
3952 (verilog-pretty-expr): Don't line up assignment
3953 operations to the test and increment in if and for loops
3954 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3955 that DPI inport functions don't look like fuction declarations.
47086495 3956
2e51d4b5
KH
39572012-05-03 Kenichi Handa <handa@m17n.org>
3958
3959 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3960 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3961 (Bug#11282).
3962
2bd785a2
SM
39632012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * emacs-lisp/bytecomp.el
3966 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3967 since cconv.el might have introduced :fun-body, internal-make-closure,
3968 and friends for bytecomp to handle (bug#11391).
3969 * custom.el (defcustom): Avoid ((λ ..) ..).
3970
99d27583
SM
39712012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3972
3973 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3974
55a71479
JB
39752012-05-02 Juanma Barranquero <lekktu@gmail.com>
3976
3977 * notifications.el (dbus-debug):
3978 * term/linux.el (gpm-mouse-enable):
3979 * term/screen.el (xterm-register-default-colors): Declare.
3980
7b97c764
CY
39812012-05-02 Chong Yidong <cyd@gnu.org>
3982
2bc356d7
CY
3983 * cus-start.el (gc-cons-percentage, exec-suffixes)
3984 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3985 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3986 (make-cursor-line-fully-visible, void-text-area-pointer)
3987 (font-list-limit): Add customization data.
3988
7b97c764
CY
3989 * allout.el (allout-exposure-change-functions)
3990 (allout-structure-added-functions)
3991 (allout-structure-deleted-functions)
3992 (allout-structure-shifted-functions): Rename abnormal hooks from
3993 *-hook, and convert to defcustoms.
5d3385a0
JB
3994 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3995 Convert to defcustoms.
7b97c764
CY
3996 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3997
3998 * allout-widgets.el: Hook callers changed.
3999
90207a15 40002012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4001
4002 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4003 the yanked message in preference to the default value of
4004 buffer-file-coding-system.
4005
90207a15 40062012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4007
5d3385a0
JB
4008 * window.el (display-buffer--action-function-custom-type):
4009 Fix entry.
d9558cad 4010
90207a15 40112012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4012
4013 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4014
d80ac57b
GM
40152012-05-01 Glenn Morris <rgm@gnu.org>
4016
976f7668
GM
4017 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4018
beb83b5a
GM
4019 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4020
d80ac57b
GM
4021 * cus-edit.el (custom-variable-documentation): Simplify with format.
4022
b593d6a9 40232012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4024 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4025
4026 * simple.el (suggest-key-bindings, execute-extended-command):
4027 Move from keyboard.c.
4028
782fbf2a
CY
40292012-05-01 Chong Yidong <cyd@gnu.org>
4030
4031 * follow.el: Eliminate advice.
4032 (set-process-filter, process-filter, sit-for): Advice deleted.
4033 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4034 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4035 Vars deleted.
782fbf2a
CY
4036 (follow-auto): Use a :set function.
4037 (follow-mode): Rewritten. Don't advise process filters.
4038 (follow-switch-to-current-buffer-all, follow-scroll-up)
4039 (follow-scroll-down): Assume follow-mode is bound.
4040 (follow-comint-scroll-to-bottom)
4041 (follow-align-compilation-windows): New functions.
4042 (follow--window-sorter): New function.
4043 (follow-all-followers): Use it to explicitly sort windows by their
4044 positions; don't make assumptions about next-window order.
4045 (follow-windows-start-end, follow-delete-other-windows-and-split)
4046 (follow-calc-win-start): Doc fix.
4047 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4048 vertical-motion unnecessarily.
4049 (follow-adjust-window): New function.
4050 (follow-post-command-hook): Use it.
4051 (follow-call-set-process-filter, follow-call-process-filter)
4052 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4053 (follow-stop-intercept-process-output, follow-generic-filter):
4054 Functions deleted.
4055 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4056 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4057 New functions, replacing advice on scroll-bar-* commands.
87233a14 4058 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4059
4060 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4061 (comint-postoutput-scroll-to-bottom): Use it.
4062 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4063
290af740
GM
40642012-05-01 Glenn Morris <rgm@gnu.org>
4065
4066 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4067 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4068 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4069 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4070 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4071 Remove no-byte-compile setting.
4072
6eac8dc9
SM
40732012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4076 all-completions code to not return a number in the last cdr.
4077
9cc7819c
LL
40782012-04-30 Leo Liu <sdl.web@gmail.com>
4079
4080 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4081 read-only error.
4082
c93b886f
CY
40832012-04-29 Chong Yidong <cyd@gnu.org>
4084
4085 * follow.el (follow-calc-win-end): Rewrite to handle partial
4086 screen lines correctly (Bug#8390).
4087 (follow-avoid-tail-recenter): Minor cleanup.
4088
8b6c19f4
SM
40892012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4090
4091 Avoid the obsolete `assoc' package.
4092 * speedbar.el (speedbar-refresh): Avoid adelete.
4093 (speedbar-file-lists): Simplify and avoid aput.
4094 * man.el (Man--sections, Man--refpages): New vars, replacing
4095 Man-sections-alist and Man-refpages-alist.
4096 (Man-build-section-alist, Man-build-references-alist):
4097 Use them; avoid aput.
4098 (Man--last-section, Man--last-refpage): New vars.
4099 (Man-follow-manual-reference): Use them.
4100 Use the `default' arg of completing-read.
4101 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4102
c5bb7569
CY
41032012-04-27 Chong Yidong <cyd@gnu.org>
4104
d1d2e2e8
CY
4105 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4106
15cd8efd
CY
4107 * startup.el (x-apply-session-resources): New function.
4108
4109 * term/ns-win.el (ns-initialize-window-system):
4110 * term/w32-win.el (w32-initialize-window-system):
4111 * term/x-win.el (x-initialize-window-system): Use it to properly
4112 set menu-bar-mode and other vars from X resources, even if the
4113 initial frame is not a window-system frame (Bug#2299).
4114
c5bb7569
CY
4115 * subr.el (read-key): Avoid running filter function when setting
4116 up temporary tool bar entries (Bug#9922).
4117
a8e7d6d7 41182012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4119
4120 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4121 (Bug#11344)
4122
a8e7d6d7 41232012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4124
4125 * select.el (xselect--encode-string): New function, split from
4126 xselect-convert-to-string.
4127 (xselect-convert-to-string): Use it.
4128 (xselect-convert-to-filename, xselect-convert-to-os)
4129 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4130 returned strings are properly encoded (Bug#11315).
4131
a8e7d6d7 41322012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4133
4134 * simple.el (delete-active-region): Move to killing custom group.
4135
a8e7d6d7 41362012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4137
4138 * progmodes/which-func.el (which-func-current): Quote %
4139 characters for mode-line processing.
4140
578c1d4b 41412012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4142
4143 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4144 reaching eob (Bug#11286).
4145
a8e7d6d7 41462012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4147
4148 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4149 (gdb): Make it buffer-local and init to zero.
4150 (gdb-control-commands-regexp): New variable.
4151 (gdb-send): Don't wrap in "-interpreter-exec console" if
4152 gdb-control-level is positive. Increment gdb-control-level
4153 whenever the command matches gdb-control-commands-regexp, and
4154 decrement it each time the command is "end". (Bug#11279)
4155
a8e7d6d7 41562012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4157
4158 * window.el (adjust-window-trailing-edge, enlarge-window)
4159 (shrink-window, window-resize):
4160 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4161 windows (Bug#11276).
4162
b3608390
CY
41632012-04-27 Chong Yidong <cyd@gnu.org>
4164
4165 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4166 fix "missing prefix" warning. All callers changed.
b3608390 4167
797e6e88
SM
41682012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4169
4170 * emacs-lisp/assoc.el: Move to obsolete/.
4171
e95a67dc
SM
41722012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4173
657c21e4 4174 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4175
4176 * term/ns-win.el (ns-define-service):
4177 * progmodes/pascal.el (pascal-goto-defun):
4178 * progmodes/js.el (js--read-tab):
4179 * progmodes/etags.el (tags-lazy-completion-table):
4180 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4181 * emacs-lisp/ewoc.el (ewoc--wrap):
4182 * emacs-lisp/assoc.el (aput, adelete, amake):
4183 * doc-view.el (doc-view-convert-current-doc):
4184 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4185
cb3e7ae0
CY
41862012-04-26 Chong Yidong <cyd@gnu.org>
4187
dce04f7f
CY
4188 * image.el (image-type-from-buffer): Only return supported image
4189 type (Bug#9045).
4190
cb3e7ae0
CY
4191 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4192 value, for symmetry with diff-end-of-hunk.
4193 (diff-split-hunk, diff-find-source-location)
4194 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4195 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4196 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4197 compute the relevant hunk or file properly (Bug#6005).
4198 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4199
0d42eb3e
SM
42002012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * vc/vc-mtn.el:
4203 * vc/vc-hg.el:
4204 * vc/vc-git.el:
4205 * vc/vc-dir.el:
4206 * vc/vc-cvs.el:
4207 * vc/vc-bzr.el:
4208 * vc/vc-arch.el:
4209 * vc/vc.el: Replace lexical-let by lexical-binding.
4210 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4211 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4212 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4213
f08ae1c9
CY
42142012-04-26 Chong Yidong <cyd@gnu.org>
4215
8b71081d
CY
4216 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4217 (diff-mode-shared-map): Bind it to / and [remap undo].
4218
f08ae1c9
CY
4219 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4220 (ediff-window-setup-function): Use it as the default, to set up
4221 windows based on whether the current frame is graphical (Bug#2138).
4222 (ediff-choose-window-setup-function-automatically): Make obsolete.
4223
4224 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4225
ef24141c
SM
42262012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4227
cc356a5d
SM
4228 * ffap.el: Remove old code for obsolete package.
4229 (ffap-complete-as-file-p): Remove.
4230
b4ff4f1f
SM
4231 Use completion-table-with-quoting for comint and pcomplete.
4232 * comint.el (comint--unquote&requote-argument)
4233 (comint--unquote-argument, comint--requote-argument): New functions.
4234 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4235 (comint-quote-filename): Use regexp-opt-charset.
4236 (comint--common-suffix, comint--common-quoted-suffix)
4237 (comint--table-subvert): Remove.
4238 (comint-unquote-function, comint-requote-function): New vars.
4239 (comint--complete-file-name-data): Use them with
4240 completion-table-with-quoting.
4241 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4242 * pcomplete.el (pcomplete-arg-quote-list)
4243 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4244 (pcomplete-unquote-argument-function): Default to non-nil.
4245 (pcomplete-unquote-argument): Simplify.
4246 (pcomplete--common-quoted-suffix): Remove.
4247 (pcomplete-requote-argument-function): New var.
4248 (pcomplete--common-suffix): New function.
4249 (pcomplete-completions-at-point): Use completion-table-with-quoting
4250 and completion-table-subvert.
4251
79c4eeb4
SM
4252 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4253 (minibuffer--double-dollars): Preserve properties.
4254 (completion--sifn-requote): New function.
4255 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4256
ef24141c
SM
4257 * minibuffer.el: Add support for completion of quoted/escaped data.
4258 (completion-table-with-quoting, completion-table-subvert): New funs.
4259 (completion--twq-try, completion--twq-all): New functions.
4260 (completion--nth-completion): New function.
4261 (completion-try-completion, completion-all-completions): Use it.
4262
784e7d6e
LL
42632012-04-25 Leo Liu <sdl.web@gmail.com>
4264
dd2ac746
SM
4265 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4266 Use compilation-message if available to find real filename.
784e7d6e 4267
07875ee7
CY
42682012-04-25 Chong Yidong <cyd@gnu.org>
4269
4270 * vc/diff-mode.el (diff-setup-whitespace): New function.
4271 (diff-mode): Use it.
4272
4273 * vc/diff.el (diff-sentinel):
4274 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4275 Whitespace mode variables based on diff style (Bug#8612).
4276
5055880d
LL
42772012-04-25 Leo Liu <sdl.web@gmail.com>
4278
daf75653
LL
4279 * progmodes/python.el (python-send-region): Add suffix .py to the
4280 temp file.
4281
5055880d
LL
4282 * files.el (auto-mode-alist): Use javascript-mode instead.
4283
db9b177b
AH
42842012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4285
ef24141c 4286 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4287
090bd7cb 4288 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4289 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4290 references, see Bug#9.
ef24141c 4291 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4292 when receiving a fault reply.
ef24141c 4293 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4294
090bd7cb 4295 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4296 (soap-inspect-simple-type): New function.
db9b177b 4297
090bd7cb 4298 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4299 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4300 (soap-decode-basic-type, soap-encode-basic-type):
4301 support unsignedInt and double basic types.
db9b177b 4302 (soap-resolve-references-for-simple-type)
ef24141c
SM
4303 (soap-parse-simple-type, soap-encode-simple-type): New function.
4304 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4305
090bd7cb 4306 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4307 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4308 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4309 the local name of "soapenc:Array".
4310 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4311 decoding integer, byte and anyURI xsd types.
4312
1fc6097b
CY
43132012-04-25 Chong Yidong <cyd@gnu.org>
4314
4315 * cus-edit.el (custom-buffer-create-internal): Update header text.
4316
afc6df87
EZ
43172012-04-25 Eli Zaretskii <eliz@gnu.org>
4318
4319 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4320 settings on 'system-type', not on 'window-system'. On MS-Windows,
4321 set interactive-mode on in GDB.
4322
dfbd787f
SM
43232012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4324
4325 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4326 (ruby-syntax-propertize-regexp): Remove.
4327 (ruby-syntax-propertize-function): Split regexp into chunks.
4328 Match following code directly.
4329
85222d44
DG
43302012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4331
51a8ea2a
DG
4332 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4333 (ruby-syntax-propertize-regexp): New function.
4334 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4335 by a special keyword.
4336
85222d44
DG
4337 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4338 (ruby-syntax-general-delimiters-goto-beg)
4339 (ruby-syntax-propertize-general-delimiters): New functions.
4340 (ruby-syntax-propertize-function): Use them to handle GDL.
4341 (ruby-font-lock-keywords): Move old handling of GDL...
4342 (ruby-font-lock-syntactic-keywords): .. to here.
4343 (ruby-calculate-indent): Adjust indentation for GDL.
4344
b613912b
MA
43452012-04-24 Michael Albinus <michael.albinus@gmx.de>
4346
b5380639
MA
4347 * notifications.el (top): Remove unneeded declarations.
4348 (notifications-specification-version): Change to "1.2".
e43042fe 4349 (notifications-interface, notifications-notify-method)
b613912b
MA
4350 (notifications-close-notification-method): Fix docstring.
4351 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4352 (notifications-notify): Add :action-items, :resident and
4353 :transient hints. Change "image_data" to "image-data" and
4354 "image_path" to "image-path".
b613912b
MA
4355 (notifications-get-capabilities): New defun.
4356
257440aa
LL
43572012-04-24 Leo Liu <sdl.web@gmail.com>
4358
4359 * progmodes/python.el: Move hideshow setup to the end.
4360
b1bac16e
MR
43612012-04-24 Martin Rudalics <rudalics@gmx.at>
4362
4363 * window.el (handle-select-window): Clear echo area since this is
4364 no more done by read_char (Bug#11304).
4365
d81bd059
SM
43662012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4369 and `/ M' to filter-derived-mode.
4370 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4371 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4372 (ibuffer-mark-by-mode): Use default rather than initial-input.
4373 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4374
c4cf6d91
IA
43752012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4376
4377 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4378 (ibuffer-filter-by-derived-mode): New filter.
4379 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4380
7511ded8
CY
43812012-04-23 Andreas Politz <politza@fh-trier.de>
4382
4383 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4384
775c916b
CY
43852012-04-23 Chong Yidong <cyd@gnu.org>
4386
4387 * cus-edit.el (customize-apropos, customize-apropos-options):
4388 Disable matching of non-option variables (Bug#11176).
4389 (customize-option, customize-option-other-window)
4390 (customize-changed-options): Doc fix.
4391 (customize-apropos-options, customize-apropos-faces)
4392 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4393
4394 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4395 Fix word list splitting (Bug#11132).
46c71e23
CY
4396 (apropos-symbol, apropos-keybinding, apropos-label)
4397 (apropos-property, apropos-function-button)
4398 (apropos-variable-button, apropos-misc-button): New faces.
4399 (apropos-symbol-face, apropos-keybinding-face)
4400 (apropos-label-face, apropos-property-face, apropos-match-face):
4401 Variables removed (Bug#8396).
4402 (apropos-library-button, apropos-format-plist, apropos-print)
4403 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4404
2df41f9c
MA
44052012-04-23 Michael Albinus <michael.albinus@gmx.de>
4406
4407 * net/xesam.el (xesam-mode-map): Use let-bound map in
4408 initialization. (Bug#11292)
4409
da00640a
AM
44102012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4411
4412 Preserve ispell session localwords when switching back to
4413 original buffer.
4414
090bd7cb
JB
4415 * textmodes/ispell.el (ispell-buffer-session-localwords):
4416 New buffer-local variable to hold buffer session localwords.
ed9265fc 4417 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4418 localwords.
4419 (ispell-command-loop, ispell-change-dictionary)
4420 (ispell-buffer-local-words): Preserve session localwords when
4421 needed.
4422
090bd7cb
JB
4423 * textmodes/flyspell.el (flyspell-process-localwords)
4424 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4425
f621ccf5
AM
44262012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4427
090bd7cb
JB
4428 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4429 using obsolete `translation-table-for-input'.
ef24141c
SM
4430 (ispell-word, ispell-process-line, ispell-complete-word):
4431 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4432
c2d1019e
CY
44332012-04-22 Chong Yidong <cyd@gnu.org>
4434
4435 * cus-edit.el (custom-variable-menu)
4436 (custom-variable-reset-saved, custom-face-menu)
4437 (custom-face-reset-saved): If there is no saved value, make the
4438 "reset-saved" operation bring back the default (Bug#9509).
4439 (custom-face-state): Properly detect themed faces.
4440
eeddc531
CY
4441 * faces.el (face-spec-set): Stop supporting deprecated form of
4442 third arg.
4443
dcbf5805
MA
44442012-04-22 Michael Albinus <michael.albinus@gmx.de>
4445
4446 Move functions from C to Lisp. Make non-blocking method calls
4447 the default. Implement further D-Bus standard interfaces.
4448
ef24141c
SM
4449 * net/dbus.el (dbus-message-internal): Declare function.
4450 Remove unneeded function declarations.
dcbf5805
MA
4451 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4452 (dbus-message-type-method-return, dbus-message-type-error)
4453 (dbus-message-type-signal): Declare variables. Remove local
4454 definitions.
4455 (dbus-interface-dbus, dbus-interface-peer)
4456 (dbus-interface-introspectable, dbus-interface-properties)
4457 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4458 Adapt docstring.
4459 (dbus-interface-objectmanager): New defconst.
4460 (dbus-call-method, dbus-call-method-asynchronously)
4461 (dbus-send-signal, dbus-method-return-internal)
4462 (dbus-method-error-internal, dbus-register-service)
4463 (dbus-register-signal, dbus-register-method): New defuns, moved
4464 from dbusbind.c
4465 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4466 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4467 New defuns.
dcbf5805
MA
4468 (dbus-call-method-non-blocking): Make it an obsolete function.
4469 (dbus-unregister-object, dbus-unregister-service)
4470 (dbus-handle-event, dbus-register-property)
4471 (dbus-property-handler): Obey the new structure of
4472 `bus-registered-objects'.
4473 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4474 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4475 Use `dbus-call-method'.
4476
cf20dee0
CY
44772012-04-22 Chong Yidong <cyd@gnu.org>
4478
4479 * cus-edit.el (custom-commands, custom-reset-menu)
4480 (Custom-reset-standard): Tweak labels.
4481 (custom-reset-button-menu): Change default to t.
4482 (custom-buffer-create-internal): For the custom-reset-button-menu
4483 case, put the revert button first.
4484 (custom-group-subtitle): New face.
4485 (custom-group-value-create): Align docstring to a specific column.
4486
4487 * wid-edit.el (widget-documentation-link-add): Don't handle
4488 indentation in this function.
4489 (widget-documentation-string-indent-to): New function.
4490 (widget-documentation-string-value-create): Use it.
4491
4492 * autorevert.el (auto-revert):
4493 * epg-config.el (epg):
4494 * ibuffer.el (ibuffer):
4495 * mpc.el (mpc):
4496 * ses.el (ses):
4497 * eshell/eshell.el (eshell):
4498 * net/ange-ftp.el (ange-ftp):
4499 * progmodes/ebnf2ps.el (postscript):
4500 * progmodes/flymake.el (flymake):
4501 * progmodes/prolog.el (prolog):
4502 * progmodes/verilog-mode.el (verilog-mode):
4503 * progmodes/which-func.el (which-func):
4504 * term/xterm.el (xterm):
4505 * textmodes/picture.el (picture):
4506 * textmodes/tildify.el (tildify):
4507 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4508 customization buffers.
4509
583e23bd
AM
45102012-04-22 Alan Mackenzie <acm@muc.de>
4511
4512 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4513 Adding a ) can hide the resulting (..) from searches. Fix it.
4514 Bound the backward search to the position of the existing (.
4515
7dd51bf1
JB
45162012-04-21 Juanma Barranquero <lekktu@gmail.com>
4517
4518 * progmodes/verilog-mode.el (verilog-mode): Check whether
4519 which-func-modes is t before adding verilog-mode.
4520 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4521
d64a438f
LL
45222012-04-21 Leo Liu <sdl.web@gmail.com>
4523
7dd51bf1 4524 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4525
081e8d65
MV
45262012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4527
4528 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4529 filling of the last column of a table (Bug#5635).
4530 (woman-find-next-control-line): New arg, specifying an additional
4531 regexp component for the control line.
4532 (woman2-roff-buffer): Use it.
4533 (woman-break-table): New function.
4534 (woman2-TS): Use it.
4535
45362012-04-21 Chong Yidong <cyd@gnu.org>
4537
4538 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4539 (woman-horizontal-escapes, woman-negative-vertical-space)
4540 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4541 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4542
ed571ccb
SM
45432012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * minibuffer.el (completion-file-name-table): Complete user names.
4546
39773899
LL
45472012-04-20 Leo Liu <sdl.web@gmail.com>
4548
4549 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4550 and pcase-let*.
4551
de6ff46d
CY
45522012-04-20 Chong Yidong <cyd@gnu.org>
4553
4554 * server.el (server-execute): Respect initial-buffer-choice if it
4555 is a string and there are no files to open (Bug#2825).
4556 (server-create-window-system-frame, server-create-tty-frame):
4557 Don't switch buffers here.
2d0e8e61
CY
4558 (server-process-filter): Only try to open a window system frame if
4559 compiled with graphical support (Bug#8314).
de6ff46d 4560
54071013
DN
45612012-04-20 Dan Nicolaescu <dann@gnu.org>
4562
4563 * battery.el (battery-echo-area-format): Display remaining time
4564 for sysfs backend too (Bug#11269).
4565 (battery-linux-sysfs): Fix conditional for the charge.
4566
f30d612a
CY
45672012-04-20 Chong Yidong <cyd@gnu.org>
4568
c07a4c0b 4569 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4570 (gdb-inferior-io--init-proc): New function.
4571 (gdb-init-1): Use it.
4572 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4573 responsible for allocating a new pty and hooking it to gdb when
4574 the old pty gets an EIO due to process exit.
4575 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4576 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4577 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4578
2116e93c
EZ
45792012-04-20 Eli Zaretskii <eliz@gnu.org>
4580
4581 * window.el (window-min-size, window-sizable, window-min-delta)
4582 (window-max-delta, window--resizable, window-resizable)
4583 (window-total-size, window-full-height-p, window-full-width-p)
4584 (window-in-direction, window--resize-mini-window, window-resize)
4585 (window--resize-child-windows-normal)
4586 (window--resize-child-windows, window--resize-siblings)
4587 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4588 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4589
c07a4c0b 45902012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4591
ef24141c
SM
4592 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4593 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4594 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4595 pty process (Bug#11273).
4596 (gdb-update): New arg to suppress talking to the gdb process.
4597 (gdb-done-or-error): Use it.
4598 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4599 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4600 sentinel not being called.
4601
4602 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4603
d02766ab
CY
4604 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4605
c07a4c0b 46062012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4607
4608 * net/network-stream.el (open-network-stream): Doc fix.
4609
c07a4c0b 46102012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4611
4612 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4613
c07a4c0b 46142012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4615
4616 Ensure searching for keywords is case sensitive.
4617
4618 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4619 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4620 (c-defun-name, c-mark-function, c-cpp-define-name)
4621 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4622 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4623
ef24141c
SM
4624 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4625 Bind case-fold-search to nil.
f0f6bc35 4626
c07a4c0b 46272012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4628
4629 * mail/sendmail.el (mail-bury): Call return action with the right
4630 Rmail buffer (Bug#11242).
4631
9a864fa2
CY
4632 * server.el (server-process-filter): Handle corner case where both
4633 tty and nowait options are present (Bug#11102).
4634
539aa513
EZ
46352012-04-20 Eli Zaretskii <eliz@gnu.org>
4636
4637 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4638 (top level): Put into the executable the ident-style '$Id:' tag on
4639 windows-nt as well.
539aa513 4640
cfc7d5da
SM
46412012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * electric.el (electric-indent-post-self-insert-function): Check that
4644 electric-indent-mode is enabled in current buffer.
4645
5b01685c
JB
46462012-04-19 Juanma Barranquero <lekktu@gmail.com>
4647
4648 * imenu.el (imenu-progress-message): Restore; it is "used" in
4649 erc/erc-imenu.el and net/snmp-mode.el.
4650
4d6769e1
JB
46512012-04-19 Juanma Barranquero <lekktu@gmail.com>
4652
4653 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4654 (mouse-avoidance-nudge-mouse): Remove unused binding.
4655
4656 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4657
4658 * descr-text.el (describe-char):
4659 * progmodes/python.el (python-describe-symbol):
4660 Don't call `toggle-read-only', set `buffer-read-only'.
4661
4662 * imenu.el (imenu-default-goto-function): Mark unused args.
4663 (imenu-progress-message): Remove obsolete macro; all callers changed.
4664
4665 * subr.el (keymap-canonicalize): Remove unused binding.
4666 (read-passwd): Mark unused arg.
4667
4668 * tutorial.el (tutorial--display-changes): Remove unused binding.
4669 (tutorial--save-tutorial-to): Remove unused variable.
4670
4671 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4672 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4673 (package-generate-autoloads, package-menu--generate)
4674 (package-menu--find-upgrades): Remove unused bindings.
4675
4676 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4677 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4678 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4679 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4680 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4681 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4682 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4683 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4684 (cua-delete-char-rectangle): Mark unused args.
4685 (cua-align-rectangle): Remove unused binding.
4686
4687 * mail/rmail.el (compilation--message->loc)
4688 (epa--find-coding-system-for-mime-charset): Declare.
4689
4690 * net/dbus.el (dbus-register-service): Declare.
4691 (dbus-name-owner-changed-handler): Remove unused binding.
4692
4693 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4694 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4695 (nxml-scan-backward-within): Mark unused arg.
4696 (nxml-dynamic-markup-word): Remove unused binding.
4697
4698 * mouse.el (mouse-menu-major-mode-map):
4699 * emacs-lisp/authors.el (authors-scan-change-log)
4700 (authors-add-to-author-list):
4701 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4702 * emacs-lisp/smie.el (smie-auto-fill):
4703 * mail/sendmail.el (mail-bury):
4704 * mail/unrmail.el (unrmail):
4705 * net/tls.el (open-tls-stream):
4706 * textmodes/picture.el (picture-mouse-set-point):
4707 Remove unused bindings.
4708
8c8fc5df
MA
47092012-04-19 Michael Albinus <michael.albinus@gmx.de>
4710
4711 * net/tramp.el (tramp-action-password): Let-bind
4712 `enable-recursive-minibuffers' to t.
4713
a77b0ac9
SS
47142012-04-18 Sam Steingold <sds@gnu.org>
4715
4716 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4717 instead of 'string to accommodate values like [f11].
4718 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4719 * progmodes/gdb-mi.el: Likewise.
4720
12a106a9
LL
47212012-04-18 Leo Liu <sdl.web@gmail.com>
4722
4723 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4724 current buffer.
4725 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4726 LOCAL is nil.
4727
bc6494ef
CY
47282012-04-18 Chong Yidong <cyd@gnu.org>
4729
4730 * simple.el (line-move): Use forward-line if in batch mode
4731 (Bug#11053).
4732
c09c46b2
CS
47332012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4734
4735 * files.el (after-find-file): Do not try to add a final newline if
4736 the buffer is read-only (Bug#11156).
4737
5f6530ea
RS
47382012-04-17 Richard Stallman <rms@gnu.org>
4739
4740 * mail/rmail.el (rmail-start-mail):
4741 Pass (rmail-mail-return...) for the return-action.
4742 Pass (rmail-yank-current-message...) for the yank-action.
4743 (rmail-yank-current-message): New function.
4744 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4745 (rmail-reply): Likewise.
4746 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4747
4748 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4749 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4750 buffer, not newbuf.
4751
197b6f3c
JB
47522012-04-17 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * server.el (server-ensure-safe-dir): Simplify.
4755
2311d8e5 47562012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4757
2311d8e5
GM
4758 * emacs-lisp/smie.el: Provide smarter auto-filling.
4759 (smie-auto-fill): New function.
4760 (smie-setup): Use it.
98fb480e 4761
2311d8e5
GM
4762 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4763
47642012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4765
4766 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4767 (comment-indent): Use it.
4768
2311d8e5 47692012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4770
4771 * ses.el: The overall change is to add cell renaming, that is
4772 setting fancy names for cell symbols other than name matching
4773 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4774 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4775 (ses-create-cell-variable): New defun.
2311d8e5 4776 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4777 (ses-relocate-formula): Relocate formulas only for cells the
4778 symbols of which are not renamed, i.e. symbols whose names do not
4779 match regexp "\\`[A-Z]+[0-9]+\\'".
4780 (ses-relocate-all): Relocate values only for cells the symbols of
4781 which are not renamed.
4782 (ses-load): Create cells variables as the (ses-cell ...) are read,
4783 in order to check row col consistency with cell symbol name only
4784 for cells that are not renamed.
4785 (ses-replace-name-in-formula): New defun.
4786 (ses-rename-cell): New defun.
4bdf2ad2 4787
fc72b15c
PO
47882012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4789
4790 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4791 New option (bug#11118).
4792 (perl-calculate-indent): Respect it.
4793
12e10e61
GM
47942012-04-17 Glenn Morris <rgm@gnu.org>
4795
4796 * dired-aux.el (dired-mark-read-string): Doc fix.
4797
30009afd
DA
47982012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4799
4800 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4801 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4802
41f03f4d
GM
48032012-04-17 Glenn Morris <rgm@gnu.org>
4804
4805 * mouse.el (mouse-drag-track):
4806 * speedbar.el (speedbar-frame-mode):
4807 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4808
f45f90f3
LL
48092012-04-16 Leo Liu <sdl.web@gmail.com>
4810
4811 * progmodes/python.el: Trivial cleanup.
4812
94ee8db5
GM
48132012-04-16 Glenn Morris <rgm@gnu.org>
4814
121b8917
GM
4815 * vc/vc.el (vc-string-prefix-p):
4816 * vc/pcvs-util.el (cvs-string-prefix-p):
4817 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4818 * mpc.el (mpc-string-prefix-p):
4819 Make all of these into obsolete aliases for string-prefix-p.
4820 Update callers.
4821 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4822
1197ecfa
GM
4823 * textmodes/two-column.el: Move custom options to the start.
4824 (frame-width): Remove compat definition.
4825 (2C-associate-buffer, 2C-dissociate):
4826 Use with-current-buffer rather than save-excursion.
4827 (2C-dissociate): Force a mode-line update.
4828 (2C-autoscroll): Use ignore-errors.
4829
099e7202
GM
4830 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4831 Autoload trivia.
4832
bf350d6a
GM
4833 * emacs-lisp/cl-extra.el (*random-state*):
4834 Remove unnecessary declaration.
4835
0e829eab
GM
4836 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4837
e3ad7552
GM
4838 * play/cookie1.el (cookie-snarf):
4839 Give an explicit error if input file cannot be read.
4840
68892d27
GM
4841 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4842
20f0c46d
GM
4843 * progmodes/perl-mode.el (c-macro-expand):
4844 Remove unnecessary autoload (it is in loaddefs.el).
4845
5a0978ce
GM
4846 * textmodes/picture.el (picture-desired-column)
4847 (picture-update-desired-column): Convert comments to doc-strings.
4848 (picture-substitute): Remove function.
4849 (picture-mode-map): Initialize in the defvar.
4850
6b955486
GM
4851 * woman.el: Remove eval-after-load for tar-mode.
4852 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4853 (woman-tar-extract-file): Autoload it.
4854
94ee8db5
GM
4855 * frame.el (automatic-hscrolling): Make this alias obsolete.
4856
177eca34
AM
48572012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4858
090bd7cb 4859 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4860 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4861 (ispell-dictionary-base-alist): Revert to original XEmacs
4862 friendly version for default. [:alpha:] will be added in
090bd7cb 4863 `ispell-set-spellchecker-params' if needed.
177eca34 4864
c505aaeb
CY
48652012-04-16 Chong Yidong <cyd@gnu.org>
4866
b19dd9d1 4867 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4868 (imagemagick-register-types): Use it.
4869 (imagemagick-types-inhibit): Add :set function. Allow new value
4870 of t to inhibit all types.
4871
4872 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4873 so we can preload it.
4874
4875 * loadup.el (fboundp): Preload regexp-opt, needed by
4876 imagemagick-register-types.
4877
60efac0f
CY
48782012-04-15 Chong Yidong <cyd@gnu.org>
4879
4880 * frame.el (scrolling): Remove nearly unused customization group.
4881
4882 * scroll-all.el (scroll-all-mode): Move to windows group.
4883
5dd1713e
CY
48842012-04-15 Chong Yidong <cyd@gnu.org>
4885
4886 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4887
e6fd457e
CY
48882012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4889
4890 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4891 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4892
e153c136
GM
48932012-04-15 Glenn Morris <rgm@gnu.org>
4894
4895 * simple.el (process-file-side-effects): Doc fix.
4896
e6fd457e 48972012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4898
4899 * international/mule-cmds.el (set-language-environment): Doc fix.
4900
3603c3b1
JB
49012012-04-14 Juanma Barranquero <lekktu@gmail.com>
4902
4903 * server.el (server-auth-key, server-generate-key): Doc fixes.
4904 (server-get-auth-key): Doc fix. Use `string-match-p'.
4905 (server-start): Reflow docstring.
4906
e6de100c
LI
49072012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4908
4909 * server.el (server-generate-key): `called-interactively-p'
4910 requires a parameter.
4911
29734c21
MN
49122012-04-14 Michal Nazarewicz <mina86@mina86.com>
4913
4914 * server.el (server-auth-key): New variable.
75f1671a 4915 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4916 (server-start): Use the new variable and functions to allow
4917 setting a permanent server key (bug#9423).
4918
d65c9521
LL
49192012-04-14 Leo Liu <sdl.web@gmail.com>
4920
4921 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4922
5ae255c7
PE
49232012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4924
4925 Spelling fixes.
4926 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4927 Emacs uses American spelling.
4928
d5e6342e
JB
49292012-04-14 Juanma Barranquero <lekktu@gmail.com>
4930
4931 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4932 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4933 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4934 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4935
ab036cd7
SM
49362012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4937
4938 * progmodes/which-func.el (which-func-modes): Change default.
4939
35dc09a1 49402012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4941
4942 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4943 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4944
35dc09a1 49452012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4946
4947 * custom.el (custom-theme-set-variables): Doc fix.
4948
35dc09a1 49492012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4950
4951 * international/mule.el (set-auto-coding-for-load): Doc fix.
4952
35dc09a1 49532012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4954
35dc09a1
GM
4955 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4956 imenu work again for Objective C Mode. Correct the *-index values,
4957 these having been disturbed by a previous change in 2011-08.
57f845ee 4958
0de3da9f
AM
4959 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4960 Correct two search limits.
4961
35dc09a1 49622012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4963
4964 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4965
35dc09a1 49662012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4967
4968 * international/characters.el: Fix sorting.
4969
35dc09a1 49702012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4971
4972 * international/characters.el: Add more missing Latin case pairs.
4973
35dc09a1 49742012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4975
4976 * files.el (dir-locals-set-class-variables): Doc fix.
4977
35dc09a1 49782012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4979
3f1b5bf8
EZ
4980 * international/characters.el: Add set-case-syntax-pair call for
4981 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4982 counterpart. (Bug#11209)
4983
9f847f41
EZ
4984 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4985
35dc09a1 49862012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4987
4988 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4989
35dc09a1 49902012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4991
35dc09a1
GM
4992 * textmodes/ispell.el (ispell-dictionary-base-alist):
4993 Add data for Hebrew.
e2627d21 4994
35dc09a1 49952012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4996
35dc09a1
GM
4997 * net/rcirc.el (rcirc-cmd-quit):
4998 Revert 2012-03-18 change (Bug#11192).
5c14e333 4999
35dc09a1 50002012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5001
5002 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5003
35dc09a1 50042012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5005
4517fe3a
SM
5006 * minibuffer.el (completion-in-region-mode-map):
5007 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5008
b472a594
VD
50092012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5010
5011 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5012
09b95ce3
MY
50132012-04-13 Masatake YAMATO <yamato@redhat.com>
5014
5015 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5016 to allow `C-M-f' and `C-M-b' to move to the nearest path
5017 separator (bug#9511).
5018
4b63a9ca
LI
50192012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5020
5021 * avoid.el: Require cl when compiling. And also move the
5022 `provide' to the end.
5023
7b55b8bf
TV
50242012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5025
5026 * avoid.el (mouse-avoidance-banish-position): New variable.
5027 (mouse-avoidance-banish-destination): Use it (bug#10165).
5028
adedaa1f
LL
50292012-04-13 Leo Liu <sdl.web@gmail.com>
5030
5031 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5032
70e74021
KB
50332012-04-13 Ken Brown <kbrown@cornell.edu>
5034
5035 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5036 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5037 (browse-url-filename-alist): For the same reason, don't modify
5038 file:// URLs on Cygwin.
5039
e75e89ba
SM
50402012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5043 the region on shift if the binding is already shifted (bug#11221).
5044
82f289a4
GM
50452012-04-12 Glenn Morris <rgm@gnu.org>
5046
5047 * mail/mailpost.el: Move to obsolete/.
5048
d333dc4c
DA
50492012-04-12 Drew Adams <drew.adams@oracle.com>
5050
5051 * imenu.el (imenu--generic-function): Ignore invisible definitions
5052 (bug#10123).
5053
0d15b5ba
VD
50542012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5055
5056 * hexl.el (hexl-bits): New variable.
5057 (hexl-options): Mention the variable in the doc string.
75f1671a 5058 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5059 (hexl-mode): Mention the new variable.
75f1671a
JB
5060 (hexl-mode, hexl-current-address, hexl-current-address):
5061 Use the displen.
0d15b5ba
VD
5062 (hexl-ascii-start-column): New function.
5063 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5064 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5065
64a440db
AM
50662012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5067
5068 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5069 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5070 the encoding, as expected by hunspell.
5071
6decb6c2
SM
50722012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5073
5074 * battery.el (battery--linux-sysfs-regexp): New const.
5075 (battery-status-function): Use it. Remove yeeloong special case.
5076 (battery-yeeloong-sysfs): Remove.
5077 (battery-echo-area-format): Remove yeeloong special case.
5078
088be6fb
SM
50792012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5080
6622e416
SM
5081 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5082 Reported by Noah Friedman.
5083
088be6fb
SM
5084 * subr.el (read-passwd): Use read-string.
5085
b49f886e
LMI
50862012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5087
5088 * vcursor.el (vcursor-move): Increase the priority of the overlay
5089 (bug#9663).
5090
a63067fc
DD
50912012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5092
5093 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5094 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5095
ac3cf14a
WS
50962012-04-11 William Stevenson <yhvh2000@gmail.com>
5097
5098 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5099 define-minor-mode (bug#10760).
5100
c4fc691b 51012012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5102
4d6769e1 5103 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5104 that directories matching `grep-find-ignored-files' won't be
5105 pruned (bug#10351).
5106
af23e2e5
CY
51072012-04-11 Chong Yidong <cyd@gnu.org>
5108
5109 * startup.el (command-line): Remove support for long-obsolete
5110 variable font-lock-face-attributes.
5111
ab7ce8c1
GM
51122012-04-11 Glenn Morris <rgm@gnu.org>
5113
5114 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5115
de8c03dc
SM
51162012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * window.el (window--state-get-1): Obey window-point-insertion-type.
5119
050cc68b
LB
51202012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5121
5122 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5123 to previous function when point is on the first character of a
75f1671a 5124 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5125
a38c310c
GM
51262012-04-11 Glenn Morris <rgm@gnu.org>
5127
effed0c2
GM
5128 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5129 not just file-errors.
5130
a38c310c
GM
5131 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5132 (vc-bzr-sha1): Use internal sha1.
5133
0221e323
SM
51342012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5137
43956923
SG
51382012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5139
5140 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5141 that start in the middle of the line (bug#10496).
5142
6a8c9eaf
DN
51432012-04-10 Dan Nicolaescu <dann@gnu.org>
5144
5145 * battery.el (battery-linux-proc-acpi): Only one battery is
5146 discharged at a time, but that seems to confuse battery.el when
5147 computing `rate-type' for the battery not being discharged
5148 (bug#10332).
5149
1930bf5d
SM
51502012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5151
2a718f6f
SM
5152 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5153
599430d0
SM
5154 * international/quail.el: Use dolist and simplify.
5155 (quail-define-package, quail-update-keyboard-layout)
5156 (quail-define-rules): Use dolist.
5157 (quail-insert-kbd-layout, quail-get-translation): CSE.
5158
a2754b6c
SM
5159 * tmm.el: Use dolist, remove left over hook.
5160 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5161 Use dolist.
5162 (calendar-load-hook): Don't mess with it.
5163
1930bf5d
SM
5164 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5165 Use derived-mode-p. Run the diff asynchronously.
5166
9f67961c
LMI
51672012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5168
5169 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5170
2a8ce227
JB
51712012-04-10 Juanma Barranquero <lekktu@gmail.com>
5172
5173 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5174 (list-dynamic-libraries--loaded): New function.
5175 (list-dynamic-libraries--refresh): Use it.
5176
8f33b5f8
NW
51772012-04-10 Nathan Weizenbaum <nweiz@google.com>
5178
1930bf5d
SM
5179 * progmodes/python.el (python-fill-paragraph):
5180 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5181 disabled (bug#7018).
5182
b12f0439
L
51832012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5184
1930bf5d 5185 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5186 DOS/MS Windows for the Baltic languages. There are still plenty
5187 of texts written in this encoding/codepage (bug#6519).
b12f0439 5188
57c3bd01
GM
51892012-04-10 Glenn Morris <rgm@gnu.org>
5190
5191 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5192 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5193
6c3eab30
FA
51942012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5195
1930bf5d 5196 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5197 next-line "n" and previous-line "p" in order to make recentf more
5198 consistent with ibuffer, dired or org-mode (bug#9387).
5199
24d78a88
LMI
52002012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5201
bc72b5d9
LMI
5202 * image.el (put-image): Return the overlay created instead of the
5203 optional input string (bug#7834). Note that this may break code
5204 that is (for some reason or other) depending on `put-image'
5205 returning the string.
5206
bd2dba5a
LMI
5207 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5208
74beb59f
LMI
5209 * simple.el (zap-to-char): Allow zapping using input methods
5210 (bug#1580).
5211
24d78a88
LMI
5212 * textmodes/fill.el (fill-region): Leave point and mark where they
5213 were before filling (bug#5399).
5214
263f20cd
GM
52152012-04-09 Glenn Morris <rgm@gnu.org>
5216
5217 * version.el (emacs-bzr-get-version):
5218 Handle lightweight checkouts of local branches.
5219
58d1f797
AS
52202012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5221
263f20cd 5222 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5223
b4d3bc10
CY
52242012-04-09 Chong Yidong <cyd@gnu.org>
5225
5226 * custom.el (custom-variable-p): Return nil for non-symbol
5227 arguments instead of signaling an error.
5228 (user-variable-p): Obsolete alias for custom-variable-p.
5229
5230 * apropos.el (apropos-variable):
5231 * files-x.el (read-file-local-variable):
5232 * simple.el (set-variable):
5233 * woman.el (woman-mini-help):
5234 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5235
fd06db5d
GM
52362012-04-09 Glenn Morris <rgm@gnu.org>
5237
e5fcdb5e
GM
5238 * startup.el (normal-top-level): Don't look for leim-list.el
5239 in places where it will not be found. (Bug#910)
5240
fd06db5d
GM
5241 * international/mule-cmds.el (set-default-coding-systems):
5242 * files.el (normal-mode):
5243 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5244 This function was removed with ucs-tables.el in 2008.
5245
b39bb7e1
EZ
52462012-04-08 Eli Zaretskii <eliz@gnu.org>
5247
5248 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5249 ispell-encoding8-command to "-i", without a trailing space.
5250 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5251 separate command-line arguments, to specify the encoding, since
5252 that's how hunspell expects it.
5253
5c5b8e23
GM
52542012-04-08 Glenn Morris <rgm@gnu.org>
5255
5256 * loadup.el: Load bindings before cus-start.
5257 This reduces somewhat the number of "rogue" settings in emacs -Q.
5258
a1ed8b05
GM
52592012-04-07 Glenn Morris <rgm@gnu.org>
5260
5261 * version.el (emacs-bzr-get-version): New function.
dfae128a 5262 (emacs-bzr-version): New variable.
a1ed8b05
GM
5263 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5264 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5265
b142f158
EZ
52662012-04-07 Eli Zaretskii <eliz@gnu.org>
5267
dfae128a
GM
5268 * international/uni-bidi.el, international/uni-category.el:
5269 * international/uni-combining.el, international/uni-decimal.el:
5270 * international/uni-decomposition.el, international/uni-digit.el:
5271 * international/uni-lowercase.el, international/uni-mirrored.el:
5272 * international/uni-name.el, international/uni-numeric.el:
5273 * international/uni-titlecase.el, international/uni-uppercase.el:
5274 Update for Unicode 6.1.
b142f158 5275
9078ead6
EZ
52762012-04-07 Eli Zaretskii <eliz@gnu.org>
5277
5278 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5279
f23d2c7d
LMI
52802012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5281
5282 * window.el (shrink-window): Mention the `window-min-height'
5283 variable in the doc string.
5284
0a0a3573
BG
52852012-04-05 Bastien Guerry <bzg@altern.org>
5286
5287 * color.el (color-lighten-name): Fix typo.
5288
e5248ac9
SM
52892012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5290
5291 * server.el (server--on-display-p): New function.
5292 (server--on-display-p): Use it.
5293
b4243e22
GV
52942012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5295
5296 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5297 (bug#11145).
5298
305d9f44
SM
52992012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * comint.el (comint--common-quoted-suffix): Check string boundary
5302 before comparing (bug#11158).
5303 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5304
3d439cd1
CY
53052012-04-04 Chong Yidong <cyd@gnu.org>
5306
321cc491
CY
5307 * minibuffer.el (completion-extra-properties): Doc fix.
5308
3d439cd1
CY
5309 * subr.el (delayed-warnings-hook): Doc fix.
5310
2d562c0f
DU
53112012-04-04 Daiki Ueno <ueno@unixuser.org>
5312
5313 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5314 selection (Bug#11159).
5315 (epa-insert-keys): Inform that the default public key will be
5316 exported if no key is selected.
5317
4443f204
RS
53182012-04-04 Richard Stallman <rms@gnu.org>
5319
5320 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5321
529c06b6
CY
53222012-04-03 Chong Yidong <cyd@gnu.org>
5323
5324 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5325 mail-insert-file, not its obsolete alias mail-attach-file.
5326
66b907dc
MA
53272012-04-03 Michael Albinus <michael.albinus@gmx.de>
5328
5329 * notifications.el (notifications-notify): Fix docstring.
5330
c0ea195d
GM
53312012-04-02 Glenn Morris <rgm@gnu.org>
5332
5333 * emacs-lisp/authors.el (authors-aliases): Another addition.
5334
5ca64e00
MA
53352012-04-02 Michael Albinus <michael.albinus@gmx.de>
5336
5337 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5338 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5339 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5340
42ee526b
CY
53412012-04-01 Chong Yidong <cyd@gnu.org>
5342
5343 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5344 Handle root directory properly.
5345 (copy-directory): Caller changed.
5346
5347 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5348 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5349
0b021094
GM
53502012-03-31 Glenn Morris <rgm@gnu.org>
5351
40f86458
GM
5352 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5353
7019c177
GM
5354 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5355
a1daddd6
GM
5356 * calendar/calendar.el (calendar-window-list)
5357 (calendar-hide-window): Restore. (Bug#11140)
5358 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5359
0b021094
GM
5360 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5361
40311efc
TV
53622012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5363
5364 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5365 Check if file is a symlink (Bug#10489).
5366
5367 * files.el (copy-directory): Likewise.
5368
5319014e
CY
53692012-03-30 Chong Yidong <cyd@gnu.org>
5370
5371 * image.el (imagemagick-types-inhibit)
5372 (imagemagick-register-types): Doc fix.
5373
935d1290
AM
53742012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5375
090bd7cb 5376 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5377 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5378 and treats ~word as ordinary words in pipe mode.
935d1290 5379
61c6e8fd
GM
53802012-03-30 Glenn Morris <rgm@gnu.org>
5381
5382 * tutorial.el (help-with-tutorial): Ensure local variables don't
5383 happen to make the buffer read-only. (Bug#11127)
5384
81fdff00
SM
53852012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5388 (perl-calculate-indent): Return `noindent' in strings.
5389
6e7a6ec0
SS
53902012-03-28 Sam Steingold <sds@gnu.org>
5391
5392 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5393 instead of the broken adhockery which does not prevent calendar
5394 buffers from being displayed at random after exit.
5395 (calendar-window-list, calendar-hide-window): Remove the broken
5396 adhockery.
5397
fee88ca0
GM
53982012-03-28 Glenn Morris <rgm@gnu.org>
5399
5400 * replace.el (query-replace-map): Doc fix.
5401
38de3354
AS
54022012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5403
5404 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5405 contents. (Bug#11109)
5406
b973155e
SM
54072012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5410 (bug#11077).
5411 (avl-tree--check, avl-tree--check-node): New funs.
5412
dcb6e7b3
MR
54132012-03-27 Martin Rudalics <rudalics@gmx.at>
5414
5415 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5416 (switch-to-prev-buffer, switch-to-next-buffer):
5417 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5418 showing a buffer already is done on the same frame.
5419
b4fa35fa
GM
54202012-03-27 Glenn Morris <rgm@gnu.org>
5421
5422 * startup.el (mail-host-address): Doc fix.
5423
f9210e18
SM
54242012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5427 than 197 variables.
5428
c0bf7753
AF
54292012-03-26 Ami Fischman <ami@fischman.org>
5430
5431 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5432
33da7b16
GM
54332012-03-26 Glenn Morris <rgm@gnu.org>
5434
02243d9d
GM
5435 * files.el (save-buffers-kill-emacs): Doc fix.
5436
33da7b16
GM
5437 * startup.el (normal-top-level, command-line, command-line-1):
5438 Give them doc strings.
5439
e5a69fd0
EZ
54402012-03-25 Eli Zaretskii <eliz@gnu.org>
5441
5442 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5443 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5444
9a69676a
CY
54452012-03-25 Chong Yidong <cyd@gnu.org>
5446
4125cb8b
CY
5447 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5448 theme if it was previously enabled before (Bug#11031).
5449
dd470960
CY
5450 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5451 spec with custom-face-get-current-spec if its :shown-value is not
5452 determined yet (Bug#9337).
4125cb8b 5453 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5454
9a69676a
CY
5455 * button.el (button-at): Minor addition to docstring.
5456
6e7e90fa
SL
54572012-03-24 Simon Leinen <simon.leinen@gmail.com>
5458
5459 * vc/vc.el (vc-merge): Fix a prompt.
5460
f06e2758
CY
54612012-03-24 Chong Yidong <cyd@gnu.org>
5462
5463 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5464 point (Bug#9623).
5465
6e7e90fa
SL
5466 * button.el (button-at): Minor addition to docstring.
5467
b9d0879b
SM
54682012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * newcomment.el (comment-choose-indent): No space after BOL.
5471
e71cebb3
SS
54722012-03-22 Sam Steingold <sds@gnu.org>
5473
5474 * window.el (switch-to-prev-buffer): Revert last patch because the
5475 bug turned out to be an advertised feature (Elisp manual 28.14).
5476
335aff35
GM
54772012-03-22 Glenn Morris <rgm@gnu.org>
5478
5479 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5480 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5481
c676576a
LMI
54822012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5483
5484 * net/network-stream.el (network-stream-open-starttls): Make error
5485 message under Windows be less misleading.
5486
126f3d39
LW
54872012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5488
5489 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5490 understands (bug#9942).
5491
64fee311
CY
54922012-03-22 Chong Yidong <cyd@gnu.org>
5493
5494 * simple.el (end-of-visible-line): Handle return value of
5495 next-single-property-change properly (Bug#9371).
5496
a640d29a
KH
54972012-03-22 Kenichi Handa <handa@m17n.org>
5498
5499 * international/quail.el (quail-insert-kbd-layout): Fix previous
5500 change. To avoid unwanted bidi reordering, use
5501 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5502
39675016
DG
55032012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5504
5505 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5506 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5507 (ruby-beginning-of-indent): Be more careful with the difference
5508 between word-boundary and symbol boundary.
5509 (ruby-mode-syntax-table): Make : a symbol constituent.
5510
0a6934fc 55112012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5512
3d008e4f
SM
5513 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5514
0a6934fc
SM
55152012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5516
af67c9d7
SM
5517 * progmodes/etags.el (tags-completion-at-point-function):
5518 Improve last fix.
5519
1acad97c
SM
5520 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5521
e298b5da
SS
55222012-03-21 Sam Steingold <sds@gnu.org>
5523
5524 * progmodes/etags.el (tags-completion-at-point-function):
5525 Avoid the error when point is inside the pattern.
5526
91d82a70
JY
55272012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5528
5529 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5530 line (Bug#10855).
5531
69188b79
CY
55322012-03-21 Drew Adams <drew.adams@oracle.com>
5533
5534 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5535
99fc91fe
AK
55362012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5537
5538 * ido.el (ido-set-current-directory, ido-read-internal)
5539 (ido-choose-completion-string, ido-completion-help): Handle nil
5540 value of ido-completion-buffer (Bug#11008).
5541
087bbb4c
SS
55422012-03-21 Sam Steingold <sds@gnu.org>
5543
5544 * window.el (switch-to-prev-buffer): Do not switch to a visible
5545 window previous buffer, just like with the frame previous buffers.
5546
fb5b8aca
CY
55472012-03-21 Chong Yidong <cyd@gnu.org>
5548
5549 * faces.el (make-face, make-empty-face, copy-face):
5550 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5551 Doc fixes.
5552
dc9924b8
SM
55532012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5556 (widget-complete): Remove broken use of it.
5557
f0bcceb9
CY
55582012-03-20 Chong Yidong <cyd@gnu.org>
5559
dc9924b8
SM
5560 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5561 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5562 characters.
5563
ee52ebf3
TH
55642012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5565
5566 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5567 to draw rectangles, not squares. (Regression introduced by revno
5568 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5569
4c5779ab
CY
55702012-03-18 Chong Yidong <cyd@gnu.org>
5571
5572 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5573 it is not yet defined (for temacs).
5574
15360934
LL
55752012-03-18 Leo Liu <sdl.web@gmail.com>
5576
dc9924b8 5577 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5578
d9a8eb66
EZ
55792012-03-17 Eli Zaretskii <eliz@gnu.org>
5580
5581 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5582 (ispell-choices-win-default-height, ispell-silently-savep)
5583 (ispell-dictionary-alist, ispell-encoding8-command)
5584 (ispell-check-version, ispell-aspell-find-dictionary)
5585 (ispell-valid-dictionary-list, ispell-words-keyword)
5586 (ispell-get-word, ispell-internal-change-dictionary)
5587 (ispell-region, ispell-skip-region-list)
5588 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5589 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5590 (ispell-message-text-end, ispell-message)
5591 (ispell-buffer-local-parsing): Doc fix.
5592
f02ff80d
J
55932012-03-13 Jambunathan K <kjambunathan@gmail.com>
5594
5595 * htmlfontify.el: Add support for code block fontification for ODT
5596 export (Bug #9914).
5597 (hfy-optimisations): Define new option
5598 `body-text-only'
5599 (hfy-fontify-buffer): Honor above setting.
5600 (hfy-begin-span, hfy-end-span): New routines factored out form
5601 `hfy-fontify-buffer'.
5602 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5603 that permit insertion of custom tags.
5604 (hfy-fontify-buffer): Use above handlers.
5605 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5606 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5607 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5608 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5609 bind a special variable `hfy-user-sheet-assoc'.
5610 (htmlfontify-string): New defun.
5611 (hfy-compile-face-map): Make sure that the last char in the
5612 buffer is correctly fontified.
5613 (hfy-face-resolve-face): Whitespace only change.
5614
9ac7a13f
EZ
56152012-03-17 Eli Zaretskii <eliz@gnu.org>
5616
5617 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5618 message more clear.
5619
e2b5bdd7
LL
56202012-03-16 Leo Liu <sdl.web@gmail.com>
5621
5622 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5623
2e492df3
AM
56242012-03-16 Alan Mackenzie <acm@muc.de>
5625
5626 Further optimise the handling of large macros.
5627
5628 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5629 limit to a call of `c-literal-limits'.
5630 (c-determine-+ve-limit): New function.
dc9924b8
SM
5631 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5632 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5633 In CASE 5B, restrict a search limit to 500.
5634 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5635
5636 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5637 Restrict macro bounds to +-500 from after-change's BEG END.
5638
50e94f0c
LL
56392012-03-16 Leo Liu <sdl.web@gmail.com>
5640
5641 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5642
6f09f6ed
AH
56432012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5644
5645 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5646 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5647
c7e73d51
GM
56482012-03-16 Glenn Morris <rgm@gnu.org>
5649
da986230
GM
5650 * view.el (view-buffer, view-buffer-other-window)
5651 (view-buffer-other-frame): Doc fixes re special mode-class.
5652
0835f01e
GM
5653 * subr.el (eval-after-load): If named feature is provided not from
5654 a file, run after-load forms. (Bug#10946)
5655
c7e73d51
GM
5656 * calendar/calendar.el (calendar-insert-at-column):
5657 Handle non-unit-width characters a bit better. (Bug#10978)
5658
3f2eafd1
CY
56592012-03-15 Chong Yidong <cyd@gnu.org>
5660
5661 * emacs-lisp/ring.el (ring-extend): New function.
5662 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5663
5664 * comint.el (comint-read-input-ring)
5665 (comint-add-to-input-history): Grow comint-input-ring lazily.
5666
103af3fe
SM
56672012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5668
663b1677
SM
5669 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5670 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5671
103af3fe
SM
5672 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5673 (imenu-add-to-menubar): Don't add a redundant index.
5674 (imenu-update-menubar): Handle a dynamically composed keymap.
5675
899cb7cb
KY
56762012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5677
5678 * mail/sendmail.el (mail-encode-header):
5679 Bind rfc2047-encode-encoded-words to nil.
5680
3809f91d
GM
56812012-03-13 Glenn Morris <rgm@gnu.org>
5682
5683 * calendar/calendar.el (calendar-string-spread):
5684 Handle non-unit-width characters a bit better. (Bug#10978)
5685
9e345a01
LL
56862012-03-13 Leo Liu <sdl.web@gmail.com>
5687
5688 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5689 directory and file as argument (Bug#10822).
5690
4a07df36
KS
56912012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5692
5693 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5694 For dynamically generated code, follow $PC.
5695 (gdb-disassembly-handler-custom): Handle no function name case.
5696
4aaa9356
TL
56972012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5698
5699 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5700 * emulation/ws-mode.el (ws-query-replace):
5701 * sort.el (sort-regexp-fields):
5702 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5703
225979da
SM
57042012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * dabbrev.el: Fix cycle completion order (bug#10963).
5707 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5708 (dabbrev-completion): Don't use an obarray; provide
5709 a cycle-sort-function.
5710
e2f1fdab
LL
57112012-03-12 Leo Liu <sdl.web@gmail.com>
5712
dc9924b8 5713 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5714 (kill-do-not-save-duplicates): Doc fix.
5715
b19490ed
SM
57162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * dabbrev.el: Fix cycle completion (bug#10963).
5719 Use lexical binding and wrap to 80 columns.
5720 (dabbrev-completion): Delay computing the list of completions.
5721
4b05d722
KH
57222012-03-12 Kenichi Handa <handa@m17n.org>
5723
5724 * international/quail.el (quail-insert-kbd-layout): Surround each
5725 row by LRO and PDF instead of inserting many LRMs. Pad the left
5726 and right of each non-spacing marks. Insert invisible space
5727 between lower and upper characters to prevent composition.
5728
dbbc2e69
SM
57292012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * minibuffer.el (minibuffer-complete): Don't get confused when the
5732 function is run twice via different commands (bug#10958).
5733 (complete-with-action): Fix docstring.
5734
292112ed
CY
57352012-03-12 Chong Yidong <cyd@gnu.org>
5736
5d1ac394
CY
5737 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5738 (nxml-completion-at-point-function): New function.
5739 (nxml-mode): Use it.
5740 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5741
292112ed
CY
5742 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5743 Load generated autoloads file before byte compiling (Bug#10970).
5744 (package--make-autoloads-and-compile): New helper fun.
5745
4098f8f7
CS
57462012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5747
5748 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5749
8f754691
MA
57502012-03-11 Michael Albinus <michael.albinus@gmx.de>
5751
5752 * autorevert.el (auto-revert-handler): Ensure, that
5753 file-readable-p is applied only for local files or in
5754 auto-revert-tail-mode.
5755
e29ab36b
AS
57562012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5757
dbbc2e69
SM
5758 * server.el (server-eval-at): Handle non-tcp connections.
5759 Decode result string.
ad0bf5b6 5760
e29ab36b
AS
5761 * server.el (server-msg-size): New constant.
5762 (server-reply-print): New function.
5763 (server-eval-and-print): Use it.
5764 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5765 Handle -print-nonl.
5766
de5939ba
CS
57672012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5768
5769 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5770 (Bug#10987).
5771
0c93eabf
CY
57722012-03-11 Chong Yidong <cyd@gnu.org>
5773
397a688f
CY
5774 * simple.el (goto-line): Doc fix (Bug#9938).
5775
2cc775f9
CY
5776 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5777
0c93eabf
CY
5778 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5779 when finished (Bug#10963).
5780
c491fa41
MR
57812012-03-11 Martin Rudalics <rudalics@gmx.at>
5782
5783 * window.el (split-window-below): Fix bug in case where
5784 split-window-keep-point is nil (Bug#10971).
5785
300e8fa5
JL
57862012-03-11 Juri Linkov <juri@jurta.org>
5787
5788 * replace.el (replace-highlight): Set isearch-word to nil
5789 unconditionally. (Bug#10887)
5790
dbf6c5a1
EZ
57912012-03-10 Eli Zaretskii <eliz@gnu.org>
5792
5793 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5794 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5795 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5796 (mairix-widget-create-query): Add usage information about mairix
5797 search forms: negating words, searching for substrings, etc.
5798
b9e501de
JP
57992012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5800
5801 * international/fontset.el (font-encoding-alist): Add an entry for
5802 ksx1001 (Bug#5667).
5803
92795c91
RS
58042012-03-10 Richard Stallman <rms@gnu.org>
5805
1694e6c1
RS
5806 * mail/sendmail.el (mail-encode-header):
5807 Set rfc2047-encode-encoded-words.
5808
607e8555
RS
5809 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5810
de3bc99a
RS
5811 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5812 view buffer means not swapped.
5813 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5814 (rmail-write-region-annotate): Error if real text has disappeared.
5815
92795c91
RS
5816 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5817
699bd04e
CY
58182012-03-10 Chong Yidong <cyd@gnu.org>
5819
5820 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5821 * emulation/cua-base.el (cua--init-keymaps):
5822 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5823
570a1714
MR
58242012-03-10 Martin Rudalics <rudalics@gmx.at>
5825
dbbc2e69
SM
5826 * speedbar.el (speedbar-unhighlight-one-tag-line):
5827 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5828
82dcf4e4
CY
58292012-03-10 Chong Yidong <cyd@gnu.org>
5830
7a2c7ca7
CY
5831 * minibuffer.el (completion-in-region, completion-help-at-point):
5832 Give the completion field overlay a high priority (Bug#6830).
5833
82dcf4e4
CY
5834 * dired.el (dired-goto-file): Recognize absolute file name
5835 listings (Bug#7126).
5836 (dired-goto-file-1): New helper function.
5837 (dired-toggle-read-only): Inhibit warnings.
5838
052e28ac
MA
58392012-03-09 Michael Albinus <michael.albinus@gmx.de>
5840
75f1671a 5841 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5842 there are no properties.
5843
95d5e396
LL
58442012-03-09 Leo Liu <sdl.web@gmail.com>
5845
5846 * savehist.el (savehist-printable): Stricter check for string
5847 value (Bug#10937).
5848
3f018d6d
EZ
58492012-03-09 Eli Zaretskii <eliz@gnu.org>
5850
dbbc2e69
SM
5851 * mail/smtpmail.el (smtpmail-send-it):
5852 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5853 valid mbox format.
5854
f7fd3d79
GM
58552012-03-09 Glenn Morris <rgm@gnu.org>
5856
5857 * files.el (dir-locals-find-file):
5858 Don't check result is regular, readable.
5859 (dir-locals-read-from-file): Demote errors.
5860
6ff6e72f
EZ
58612012-03-08 Eli Zaretskii <eliz@gnu.org>
5862
dbbc2e69
SM
5863 * international/quail.el (quail-insert-kbd-layout):
5864 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5865 layout cell, to prevent their reordering by bidi display engine.
5866 For details, see the discussion in
5867 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5868
9cec7834
AM
58692012-03-08 Alan Mackenzie <acm@muc.de>
5870
5871 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5872 the starting position; make it extend the marked region when
5873 invoked repeatedly - all under appropriate circumstances.
5874 Fixes bugs #5525, #10906.
5875
9a40b8d4
GM
58762012-03-08 Glenn Morris <rgm@gnu.org>
5877
5878 * files.el (locate-dominating-file, dir-locals-find-file):
5879 Undo 2012-03-06 change.
5880
7a08ed35
EZ
58812012-03-07 Eli Zaretskii <eliz@gnu.org>
5882
dbbc2e69
SM
5883 * international/quail.el (quail-help):
5884 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5885 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5886 for the reason.
5887
5aca4f71 58882012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5889
5890 Avoid superfluous registering of signals. (Bug#10807)
5891
5892 * notifications.el (notifications-on-action-object)
5893 (notifications-on-close-object): New defvars.
5894 (notifications-on-action-signal, notifications-on-closed-signal):
5895 Unregister the signal if not needed any longer.
5896 (notifications-notify): Register `notifications-action-signal' or
5897 `notifications-closed-signal', if :on-action or :on-close has been
5898 passed as argument.
5899
78e8b10a
CY
59002012-03-07 Chong Yidong <cyd@gnu.org>
5901
5902 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5903 non-X platforms.
5904
69481eb8
GM
59052012-03-06 Glenn Morris <rgm@gnu.org>
5906
5907 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5908 (x-disown-selection-internal, x-get-selection-internal):
5909 Doc fix (add arglist signatures). (Bug#10783)
5910
133b8e11
KS
59112012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5912
5913 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5914 Handle breakpoints with no "type".
5915
99a83064
GM
59162012-03-06 Glenn Morris <rgm@gnu.org>
5917
5918 * files.el (locate-dominating-file): Add optional predicate argument.
5919 (dir-locals-find-file): Make use of above change.
5920
17798e78
TTN
59212012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5922
5923 * info.el (Info-insert-dir): Also try "dir.gz".
5924
eb182446
GM
59252012-03-06 Glenn Morris <rgm@gnu.org>
5926
8f2114ee
GM
5927 * files.el (dir-locals-find-file):
5928 Ignore non-readable or non-regular files. (Bug#10928)
5929
eb182446
GM
5930 * files.el (locate-dominating-file): Doc fix.
5931
24679323
AS
59322012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5933
5934 * calendar/calendar.el (calendar-set-mode-line):
5935 `getenv' returns a string. (Bug#10951)
5936
01d972a9
LL
59372012-03-05 Leo Liu <sdl.web@gmail.com>
5938
109aa8a9
LL
5939 * simple.el (backward-delete-char-untabify): Constrain point to
5940 field (Bug#10939).
5941
01d972a9
LL
5942 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5943
10607bea
CY
59442012-03-05 Chong Yidong <cyd@gnu.org>
5945
5946 * simple.el (count-words): If called from Lisp, return the word
5947 count, for symmetry with `count-lines'. Arglist changed.
5948 (count-words--message): Args changed. Consolidate counting code
5949 from count-words and count-words-region.
5950 (count-words-region): Caller changed.
5951 (count-lines-region): Make it an obsolete alias.
5952
5dd11cfe
TH
59532012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5954
5955 * saveplace.el (save-place-to-alist)
5956 (save-place-ignore-files-regexp): Allow value nil to disable this
5957 feature.
5958
c349f4e6
CY
59592012-03-04 Chong Yidong <cyd@gnu.org>
5960
5961 * faces.el (face-spec-reset-face): For the default face, reset the
5962 attributes to default values (Bug#10748).
5963
e627be4c
LMI
59642012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5965
5966 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5967 previous patch: Check `message-send-mail-function', and not the
5968 default function (bug#10897).
5969
ebeabff4
MA
59702012-03-04 Michael Albinus <michael.albinus@gmx.de>
5971
a41a6cf4
MA
5972 * notifications.el (notifications-on-action-signal)
5973 (notifications-on-closed-signal): Check for unique service name of
5974 incoming event. Fix error in removing entry.
ebeabff4 5975 (top): Register for signals with wildcard service name.
a41a6cf4 5976 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5977
c1ca42b4
CY
59782012-03-04 Chong Yidong <cyd@gnu.org>
5979
dc9924b8 5980 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5981
ea16568d
GM
59822012-03-04 Glenn Morris <rgm@gnu.org>
5983
5984 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5985 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5986 (expand-abbrev, define-abbrev-table): Doc fixes.
5987
fbae4637
LMI
59882012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5989
5990 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5991 `message-default-send-mail-function' and not `send-mail-function'
5992 when doing the prompting for `sendmail-query-once' before sending
5993 in Message buffers (bug#10897).
5994
a1e7225c
LMI
5995 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5996 This is inconsistent with all the other stream functions, which leave
5997 the setting up to the higher levels (if so wanted) (bug#10931).
5998
56d093a9
AM
59992012-03-02 Alan Mackenzie <acm@muc.de>
6000
6001 Depessimize the handling of very large macros.
6002
6003 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6004 (c-macro-cache-syntactic): New variables to implement a one
6005 element macro cache.
6006 (c-invalidate-macro-cache): New function.
6007 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6008 Adapt to use the new cache.
6009 (c-state-safe-place): Use better the cache of safe positions.
6010 (c-state-semi-nonlit-pos-cache)
6011 (c-state-semi-nonlit-pos-cache-limit):
6012 New variables for...
6013 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6014 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6015 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6016 Use c-state-semi-safe-place.
56d093a9 6017
dbbc2e69
SM
6018 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6019 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6020
817e5c3d
MA
60212012-03-02 Michael Albinus <michael.albinus@gmx.de>
6022
dbbc2e69
SM
6023 * jka-compr.el (jka-compr-call-process):
6024 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6025 not remote.
6026
a032a702
MA
60272012-03-01 Michael Albinus <michael.albinus@gmx.de>
6028
6029 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6030 access of FILE2, if FILE1 does not exist.
6031
99a54f21
MA
6032 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6033 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6034
6035 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6036 Add "PAGER=" to `process-environment'.
6037
f6561e1f
MM
60382012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6039
6040 * progmodes/sql.el: Bug fix
6041 (sql-get-login-ext): Save login values in globals.
6042 (sql-get-login): Use new version of `sql-get-login-ext'.
6043 (sql-interactive-mode): Set global `sql-connection' to nil.
6044 (sql-connect): Set global values for connection.
6045 (sql-product-interactive): Save global values as buffer local.
6046
2d44d9cc
LL
60472012-02-29 Leo Liu <sdl.web@gmail.com>
6048
6049 * abbrev.el (define-abbrevs): Reset sys to nil.
6050
96b49301 60512012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6052
bf7f9bc5
JB
6053 * files.el (file-equal-p): Rename from `files-equal-p'.
6054 Return nil when one or both files don't exist.
96b49301 6055 (file-subdir-of-p): Now only top directory must exists,
6056 return nil if it doesn't.
bf7f9bc5
JB
6057 (copy-directory): No need to test with `file-subdir-of-p' after
6058 creating dir.
6059 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6060 to `file-equal-p'.
96b49301 6061
44e97401
GM
60622012-02-28 Glenn Morris <rgm@gnu.org>
6063
6064 * shell.el (shell-mode):
6065 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6066 * play/landmark.el (landmark-font-lock-face-O):
6067 * play/handwrite.el (handwrite):
6068 * play/gomoku.el (gomoku-O):
6069 * net/browse-url.el (browse-url-browser-display):
6070 * international/mule.el (define-charset):
6071 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6072 * filesets.el (filesets-find-file-delay):
6073 * eshell/em-xtra.el (eshell-xtra):
6074 * eshell/em-unix.el (eshell-grep):
6075 * emulation/viper.el (viper-mode):
6076 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6077 * emacs-lisp/easymenu.el (easy-menu-define):
6078 * calendar/timeclock.el (timeclock-use-display-time):
6079 * bs.el (bs-mode):
6080 * bookmark.el (bookmark-save-flag):
6081 Doc fix (standardize possessive apostrophe usage).
6082
c98c6276
CY
60832012-02-27 Chong Yidong <cyd@gnu.org>
6084
bf7f9bc5
JB
6085 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6086 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6087
c98c6276
CY
6088 * font-lock.el (font-lock-specified-p): Rename from
6089 font-lock-spec-present. Callers changed.
6090
9c62cd04 60912012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6092
bf7f9bc5
JB
6093 * emacs-lisp/package.el (package-compute-transaction):
6094 Handle holding a package version to t in package-load-list.
8ac9e529 6095
530739c9
MA
60962012-02-26 Michael Albinus <michael.albinus@gmx.de>
6097
6098 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6099 (tramp-get-inode, tramp-get-device): Use cached values.
6100
487915d7
AM
61012012-02-26 Alan Mackenzie <acm@muc.de>
6102
6103 Check there is a font-lock specification before doing initial
6104 fontification.
6105
6106 * font-core.el (font-lock-mode): Move the conditional from
6107 :after-hook to font-lock-initial-fontify.
6108 (font-lock-default-function): Move the check for a specification
6109 to font-lock-spec-present.
6110
dc9924b8 6111 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6112 (font-lock-spec-present): New function.
6113
4fd96557
JB
61142012-02-26 Jim Blandy <jimb@red-bean.com>
6115
6116 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6117 (gdb-send): Apply it to the operand of the '-interpreter-exec
6118 console' command, so that we can pass arguments with (say) quotes
6119 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6120
9a4888c0
CY
61212012-02-26 Chong Yidong <cyd@gnu.org>
6122
07498861
CY
6123 * help-fns.el (describe-function-1): Clarify description of
6124 remapping (Bug#10844).
6125
9a4888c0
CY
6126 * files.el (files-equal-p): Doc fix.
6127 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6128 and quit the loop once a mismatch is found.
6129
ea8fb88d
JB
61302012-02-25 Juanma Barranquero <lekktu@gmail.com>
6131
6132 * bs.el (bs--show-with-configuration): Don't throw an error
6133 if the window cannot be split; otherwise, subsequent calls to
6134 bs-show fail, restoring a stale window config. (Bug#10882)
6135
525795c1
JD
61362012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6137
6138 * term/ns-win.el (global-map): Bind ns-drag-file to
6139 ns-find-file (Bug#5855, Bug#10050).
6140
f008086f
AS
61412012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6142
6143 * calendar/parse-time.el (parse-time-string): Allow extractor to
6144 return nil.
6145
a3fcfa99
MA
61462012-02-25 Michael Albinus <michael.albinus@gmx.de>
6147
91027d08
JB
6148 * net/tramp.el (tramp-file-name-for-operation):
6149 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6150
6151 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6152 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6153 Add COPY-CONTENTS argument.
a3fcfa99 6154
67b0de11
CY
61552012-02-25 Chong Yidong <cyd@gnu.org>
6156
6157 Add custom groups for VC backends, for consistency with vc-bzr.
6158
6159 * vc/vc-arch.el (vc-arch):
6160 * vc/vc-cvs.el (vc-cvs):
6161 * vc/vc-git.el (vc-git):
6162 * vc/vc-hg.el (vc-hg):
6163 * vc/vc-mtn.el (vc-mtn):
6164 * vc/vc-rcs.el (vc-rcs):
6165 * vc/vc-sccs.el (vc-sccs):
6166 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6167 All relevant defcustoms reassigned.
6168
3c9dfce6
CY
61692012-02-25 Chong Yidong <cyd@gnu.org>
6170
1339bf43
CY
6171 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6172
3c9dfce6
CY
6173 * term/x-win.el (x-initialize-window-system): Reduce default for
6174 x-selection-timeout to 5 seconds (Bug#8869).
6175
25b2e303 61762012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6177
ec70a47d
GM
6178 * files.el (files-equal-p, file-subdir-of-p): New functions.
6179 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6180 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6181 * dired-aux.el (dired-copy-file-recursive): Same.
6182 (dired-create-files): Modify destination when source is equal to
6183 dest when copying files.
53a46cd0 6184 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6185
914260cd
MA
61862012-02-24 Michael Albinus <michael.albinus@gmx.de>
6187
6188 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6189 (Bug#10874)
6190
2cb228f7
AM
61912012-02-23 Alan Mackenzie <acm@muc.de>
6192
6193 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6194 parameter "after-hook:" to allow the expansion to run code after
6195 the execution of the mode hooks.
6196
6197 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6198 from font-lock-mode-internal.
2cb228f7 6199
91027d08 6200 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6201 :after-hook.
6202
8f0fde21
SM
62032012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6204
3e88618b
SM
6205 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6206 (completion--cache-all-sorted-completions): New function.
6207 (completion-all-sorted-completions): Use it.
6208 (completion--do-completion, minibuffer-force-complete):
6209 Use it to re-instate the flush hook.
6210
8f0fde21
SM
6211 * icomplete.el (icomplete-completions): Replace last fix with a better
6212 one (bug#10850).
6213
8e911f6f
DG
62142012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6215
6216 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6217 when it might call us back infinitely (bug#10797).
6218
49fe4321
GM
62192012-02-23 Glenn Morris <rgm@gnu.org>
6220
6221 * minibuffer.el (completion-category-overrides): Doc fix.
6222
b291b572
SM
62232012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6226 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6227
31a9ef2e
GM
62282012-02-23 Glenn Morris <rgm@gnu.org>
6229
5e6e6794 6230 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6231 (authors-obsolete-files-regexps, authors-ignored-files)
6232 (authors-ambiguous-files, authors-renamed-files-alist):
6233 Add more entries.
6234
0bd1e074
JL
62352012-02-23 Juri Linkov <juri@jurta.org>
6236
6237 * isearch.el (isearch-occur): Sync interactive spec with occur's
6238 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6239
b617673c
JL
6240 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6241
19e9789e
JL
62422012-02-22 Juri Linkov <juri@jurta.org>
6243
6244 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6245 (ucs-insert): Doc fix. Check for hex digits in the string.
6246 Don't display `nil' in the error message. (Bug#10857)
6247
f41ce09d
AM
62482012-02-22 Alan Mackenzie <acm@muc.de>
6249
7a71b18d 6250 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6251
ac2eceee
GM
62522012-02-22 Glenn Morris <rgm@gnu.org>
6253
6254 * ffap.el (ffap-c-path):
6255 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6256
abd1f678
CY
62572012-02-22 Chong Yidong <cyd@gnu.org>
6258
6259 * custom.el (load-theme): Doc fix.
6260
f25aef2e
GM
62612012-02-22 Glenn Morris <rgm@gnu.org>
6262
6263 * dired-x.el (dired-guess-shell-alist-default):
6264 Remove escape sequences from nroff output. (Bug#172)
6265
5f8dc2ca
GM
62662012-02-21 Glenn Morris <rgm@gnu.org>
6267
6ff86ec4
GM
6268 * vc/emerge.el (emerge-defvar-local):
6269 Set `permanent-local' property rather than unused `preserved'.
6270
be3223a3 6271 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6272 (picture-mode-map): Use it. (Bug#10860)
6273 (picture-mode): Doc fix.
6274
3fe58f4f
JB
62752012-02-21 Juanma Barranquero <lekktu@gmail.com>
6276
6277 * newcomment.el (uncomment-region-default): Remove unused binding.
6278
f9a998c3
GM
62792012-02-21 Glenn Morris <rgm@gnu.org>
6280
6281 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6282 (picture-self-insert, picture-tab-chars): Doc fix.
6283 (picture-mode-map): Fix C-a, C-e.
6284
c6029348
GM
62852012-02-20 Glenn Morris <rgm@gnu.org>
6286
6287 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6288
ab1ce9d7
LL
62892012-02-20 Leo Liu <sdl.web@gmail.com>
6290
6291 * icomplete.el (icomplete-completions): Check FROM arg before
6292 passing to substring (Bug#10850).
6293
0fd40f89
CY
62942012-02-19 Chong Yidong <cyd@gnu.org>
6295
6296 * comint.el: Require ansi-color.
6297 (comint-output-filter-functions): Add ansi-color-process-output.
6298
6299 * ansi-color.el: Don't set comint-output-filter-functions; it is
6300 now in the initial value defined in comint.el.
6301 (ansi-color-apply-face-function): New variable.
6302 (ansi-color-apply-on-region): Use it.
6303 (ansi-color-apply-overlay-face): New function.
6304
6305 * shell.el (shell): No need to require ansi-color.
6306 (shell-mode): Use ansi-color-apply-face-function to highlight
6307 color escapes using font-lock-face property (Bug#10835).
6308
20af2394
CY
63092012-02-19 Chong Yidong <cyd@gnu.org>
6310
6311 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6312 mode-line formats (Bug#10839).
6313
e23a3fbe
GM
63142012-02-18 Glenn Morris <rgm@gnu.org>
6315
b474519e
GM
6316 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6317
6318 * mail/undigest.el (unforward-rmail-message): Doc fix.
6319
e23a3fbe
GM
6320 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6321
57939ff4
EZ
63222012-02-18 Eli Zaretskii <eliz@gnu.org>
6323
6324 * international/characters.el (script-list): Sync with the latest
6325 Unicode Character Database.
6326
0c23686e
AS
63272012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6328
6329 * international/titdic-cnv.el: Remove duplicate coding tag.
6330 * language/cham.el: Likewise.
6331 * language/tai-viet.el: Likewise.
6332
6818b449
GM
63332012-02-18 Glenn Morris <rgm@gnu.org>
6334
6335 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6336 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6337 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6338 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6339 * calendar/holidays.el (holiday-bahai-holidays)
6340 (calendar-holidays, list-holidays):
6341 Use utf-8 Bahá'í in doc-strings, menus, etc.
6342
0311a3fc
TH
63432012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6344
6345 * saveplace.el (save-place-ignore-files-regexp): New variable
6346 allowing for excluding files from saving their location of point.
6347 The default value matches the temporary commit message editing
6348 files from Git, SVN, Bazaar, and Mercurial.
6349 (save-place-to-alist): Use it.
6350
d209e2fb 63512012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6352 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6353
6354 * newcomment.el (uncomment-region-default): Don't leave extra space
6355 when an arg is provided (bug#8150).
6356
ee0ce425
TZ
63572012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6358
eb864a71 6359 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6360
95ddf442
GM
63612012-02-17 Glenn Morris <rgm@gnu.org>
6362
6363 * net/socks.el: Require network-stream. (Bug#10599)
6364
48dd1e39 63652012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6366
6367 * international/charprop.el:
6368 * international/uni-name.el:
6369 * international/uni-old-name.el:
6370 * international/uni-comment.el: Regenerate.
6371
d68cd087
GM
63722012-02-16 Glenn Morris <rgm@gnu.org>
6373
6374 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6375 Interactively in calendar buffer, give an error if not on a date.
6376
13932042
GM
63772012-02-15 Glenn Morris <rgm@gnu.org>
6378
6379 * shell.el (shell-delimiter-argument-list):
6380 Revert 2011-02-17 change. (Bug#8027)
6381
c3a70e2b
CY
63822012-02-15 Chong Yidong <cyd@gnu.org>
6383
60236b0d
CY
6384 * minibuffer.el (completion-at-point-functions): Doc fix.
6385
c3a70e2b
CY
6386 * custom.el (defcustom): Doc fix; note use of defvar.
6387
9f26dc24
GM
63882012-02-15 Glenn Morris <rgm@gnu.org>
6389
6390 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6391 Doc fixes.
6392
6546b134
GM
63932012-02-14 Glenn Morris <rgm@gnu.org>
6394
6395 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6396
d29b2b4c
LI
63972012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6398
6399 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6400 way the ports list is computed.
835bdcba
LI
6401 (smtpmail-query-smtp-server): Prompt the user for a port number if
6402 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6403
08dcdbc9
TZ
64042012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6405
6406 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6407
2605051a
GM
64082012-02-13 Glenn Morris <rgm@gnu.org>
6409
6410 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6411
7ee99f32
TZ
64122012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6413
6414 * net/gnutls.el (gnutls-trustfiles): New variable.
6415 (gnutls-negotiate): Use it.
6416
5f0af64f
LI
64172012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6418
6419 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6420 does its stuff if Gnus is running.
6421
c14fcc95
AM
64222012-02-13 Alan Mackenzie <acm@muc.de>
6423
6424 Fix a loop in c-set-fl-decl-start.
6425
7a71b18d 6426 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6427 c-backward-syntactic-ws actually moves backwards.
6428
142b4d90
LL
64292012-02-13 Leo Liu <sdl.web@gmail.com>
6430
6431 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6432 beginning so that all \C-o chars are removed.
6433
fa9958a6
TZ
64342012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6435
dc9924b8 6436 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6437
0bc5886a
AM
64382012-02-12 Alan Mackenzie <acm@muc.de>
6439
6440 Fix infinite loop with long macros.
4d6769e1 6441 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6442
d4bd55e7
CY
64432012-02-12 Chong Yidong <cyd@gnu.org>
6444
6445 * window.el (display-buffer): Doc fix (Bug#10785).
6446
66f3fe22
GM
64472012-02-12 Glenn Morris <rgm@gnu.org>
6448
bd7da63e
GM
6449 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6450 (x-disown-selection-internal, x-get-selection-internal):
6451 Sync docs with the xselect.c versions.
6452
66f3fe22
GM
6453 * allout-widgets.el: Add missing license notice.
6454
3e0d2fa7
GM
64552012-02-11 Glenn Morris <rgm@gnu.org>
6456
cfecdf09
GM
6457 * select.el (x-get-selection-internal, x-own-selection-internal)
6458 (x-disown-selection-internal):
6459 * x-dnd.el (x-get-selection-internal): Update declarations.
6460
6d216d7f
GM
6461 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6462
2bed3f04
GM
6463 * window.el (window-sides-slots):
6464 * tool-bar.el (tool-bar-position):
6465 * term/xterm.el (xterm-extra-capabilities):
6466 * ses.el (ses-self-reference-early-detection):
6467 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6468 (verilog-auto-wire-type)
6469 (verilog-auto-delete-trailing-whitespace)
6470 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6471 (verilog-auto-tieoff-declaration):
6472 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6473 (sql-oracle-statement-starters, sql-oracle-scan-on):
6474 * progmodes/prolog.el (prolog-align-comments-flag)
6475 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6476 (prolog-left-indent-regexp, prolog-paren-indent-p)
6477 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6478 (prolog-types, prolog-mode-specificators)
6479 (prolog-determinism-specificators, prolog-directives)
6480 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6481 (prolog-electric-dot-flag)
6482 (prolog-electric-dot-full-predicate-template)
6483 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6484 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6485 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6486 (prolog-program-switches, prolog-prompt-regexp)
6487 (prolog-debug-on-string, prolog-debug-off-string)
6488 (prolog-trace-on-string, prolog-trace-off-string)
6489 (prolog-zip-on-string, prolog-zip-off-string)
6490 (prolog-use-standard-consult-compile-method-flag)
6491 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6492 (prolog-imenu-max-lines, prolog-info-predicate-index)
6493 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6494 (prolog-char-quote-workaround):
6495 * progmodes/cc-vars.el (c-defun-tactic):
6496 * net/tramp.el (tramp-encoding-command-interactive)
6497 (tramp-local-end-of-line):
6498 * net/soap-client.el (soap-client):
6499 * net/netrc.el (netrc-file):
6500 * net/gnutls.el (gnutls):
6501 * minibuffer.el (completion-category-overrides)
6502 (completion-cycle-threshold)
6503 (completion-pcm-complete-word-inserts-delimiters):
6504 * man.el (Man-name-local-regexp):
6505 * mail/feedmail.el (feedmail-display-full-frame):
6506 * international/characters.el (glyphless-char-display-control):
6507 * eshell/em-ls.el (eshell-ls-date-format):
6508 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6509 (lisp-lambda-list-keyword-parameter-indentation)
6510 (lisp-lambda-list-keyword-parameter-alignment):
6511 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6512 * dired-x.el (dired-omit-verbose):
6513 * cus-theme.el (custom-theme-allow-multiple-selections):
6514 * calc/calc.el (calc-highlight-selections-with-faces)
6515 (calc-lu-field-reference, calc-lu-power-reference)
6516 (calc-note-threshold):
6517 * battery.el (battery-mode-line-limit):
6518 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6519 (archive-7z-update):
6520 * allout.el (allout-prefixed-keybindings)
6521 (allout-unprefixed-keybindings)
6522 (allout-inhibit-auto-fill-on-headline)
6523 (allout-flattened-numbering-abbreviation):
6524 * allout-widgets.el (allout-widgets-auto-activation)
6525 (allout-widgets-icons-dark-subdir)
6526 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6527 (allout-widgets-theme-dark-background)
6528 (allout-widgets-theme-light-background)
6529 (allout-widgets-item-image-properties-emacs)
6530 (allout-widgets-item-image-properties-xemacs)
6531 (allout-widgets-run-unit-tests-on-load)
6532 (allout-widgets-time-decoration-activity)
6533 (allout-widgets-hook-error-post-time)
6534 (allout-widgets-track-decoration):
6535 Add missing :version tags to new defcustoms and defgroups.
6536
5fec1b8e
GM
6537 * progmodes/sql.el (sql-ansi-statement-starters)
6538 (sql-oracle-statement-starters): Add custom type.
6539
3e0d2fa7
GM
6540 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6541 (prolog-system-version): Give it a type.
6542
90b671e2
EZ
65432012-02-11 Eli Zaretskii <eliz@gnu.org>
6544
6545 * term/pc-win.el (x-select-text, x-selection-owner-p)
6546 (x-own-selection-internal, x-disown-selection-internal)
6547 (x-get-selection-internal): Sync doc strings and argument lists
6548 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6549
5eac0c02
LL
65502012-02-11 Leo Liu <sdl.web@gmail.com>
6551
6552 * progmodes/python.el (python-end-of-statement): Fix infinite
6553 loop. (Bug#10788)
6554
f82cb659
GM
65552012-02-10 Glenn Morris <rgm@gnu.org>
6556
6557 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6558 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6559
cc26d239
LI
65602012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6561
6562 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6563 about SMTP before checking the From header.
6564
91027d08 6565 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6566 into own function for reuse by emacsbug.el.
6567
1be3ca5a
LL
65682012-02-10 Leo Liu <sdl.web@gmail.com>
6569
6570 * subr.el (condition-case-unless-debug): Rename from
6571 condition-case-no-debug. All callers changed.
6572 (with-demoted-errors): Fix caller.
6573
6574 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6575 * nxml/rng-valid.el (rng-do-some-validation):
6576 * emacs-lisp/package.el (package-refresh-contents)
6577 (package-menu-execute):
6578 * desktop.el (desktop-create-buffer):
91027d08 6579 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6580
b011fbfe
GM
65812012-02-10 Glenn Morris <rgm@gnu.org>
6582
b2096d72
GM
6583 * textmodes/bibtex.el:
6584 Add missing :version tags for new/changed defcustoms.
6585
b011fbfe
GM
6586 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6587
4c7e65bf
LI
65882012-02-09 Lars Ingebrigtsen <larsi@rusty>
6589
6590 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6591 (smtpmail-via-smtp): Use it, or fall back on the From address.
6592 (smtpmail-send-it): Ditto.
6593
f3934f6f
SM
65942012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6597 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6598 (byte-compile-tmp-var): New const.
6599 (byte-compile-defvar): Use it to minimize .elc size.
6600 Just use `defvar' rather than simulate it (bug#10761).
6601
a075a2c5
GM
66022012-02-09 Glenn Morris <rgm@gnu.org>
6603
cf3aa21b
GM
6604 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6605
354998cd
GM
6606 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6607 Add :version tags.
6608
dc9924b8
SM
6609 * progmodes/compile.el (compilation-error-screen-columns)
6610 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6611
dab3703d
GM
6612 * vc/log-view.el (log-view-toggle-entry-display):
6613 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6614
3f88cd72
GM
6615 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6616 (report-emacs-bug-can-use-xdg-email):
6617 (report-emacs-bug-insert-to-mailer): Doc fixes.
6618 (report-emacs-bug): Message fix.
6619
d95b247d
GM
6620 * net/browse-url.el (browse-url-can-use-xdg-open)
6621 (browse-url-xdg-open): Doc fixes.
6622
a075a2c5
GM
6623 * electric.el (electric-indent-mode, electric-pair-mode)
6624 (electric-layout-rules, electric-layout-mode): Doc fixes.
6625 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6626
ffb6157e
MR
66272012-02-08 Martin Rudalics <rudalics@gmx.at>
6628
6629 * server.el (server-unselect-display): Don't inadvertently kill
6630 the current buffer. (Bug#10729)
6631
e1ac4066
GM
66322012-02-08 Glenn Morris <rgm@gnu.org>
6633
34e8a2da
GM
6634 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6635 (sql-list-table): Doc fixes.
6636
b4ac6e8c
GM
6637 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6638 Comment out (does nothing).
6639
e1ac4066
GM
6640 * completion.el (dynamic-completion-mode):
6641 * dirtrack.el (dirtrack-debug-mode):
6642 * electric.el (electric-layout-mode):
6643 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6644 * face-remap.el (text-scale-mode, buffer-face-mode):
6645 * iimage.el (iimage-mode):
6646 * image-mode.el (image-transform-mode):
6647 * minibuffer.el (completion-in-region-mode):
6648 * scroll-lock.el (scroll-lock-mode):
6649 * simple.el (next-error-follow-minor-mode):
6650 * tar-mode.el (tar-subfile-mode):
6651 * tooltip.el (tooltip-mode):
6652 * vcursor.el (vcursor-use-vcursor-map):
6653 * wid-browse.el (widget-minor-mode):
6654 * emulation/tpu-edt.el (tpu-edt-mode):
6655 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6656 * international/iso-ascii.el (iso-ascii-mode):
6657 * language/thai-util.el (thai-word-mode):
6658 * mail/supercite.el (sc-minor-mode):
6659 * net/goto-addr.el (goto-address-mode):
6660 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6661 * progmodes/cwarn.el (cwarn-mode):
6662 * progmodes/flymake.el (flymake-mode):
6663 * progmodes/glasses.el (glasses-mode):
6664 * progmodes/hideshow.el (hs-minor-mode):
6665 * progmodes/pascal.el (pascal-outline-mode):
6666 * textmodes/enriched.el (enriched-mode):
6667 * vc/smerge-mode.el (smerge-mode):
6668 Doc fixes (minor mode argument).
6669
5e0d957f
EZ
66702012-02-07 Eli Zaretskii <eliz@gnu.org>
6671
6672 * ls-lisp.el (ls-lisp-sanitize): New function.
6673 (ls-lisp-insert-directory): Use it to fix or remove any elements
6674 in file-alist with missing attributes. (Bug#4673)
6675
98d7371e
AM
66762012-02-07 Alan Mackenzie <acm@muc.de>
6677
6678 Fix spurious recognition of c-in-knr-argdecl.
6679
6680 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6681 putative K&R region.
6682
667ced3a
AM
66832012-02-07 Alan Mackenzie <acm@muc.de>
6684
eb864a71
LM
6685 * progmodes/cc-engine.el (c-forward-objc-directive):
6686 Prevent looping in "#pragma mark @implementation".
667ced3a 6687
5b77774d
MA
66882012-02-07 Michael Albinus <michael.albinus@gmx.de>
6689
6690 * notifications.el (notifications-on-closed-signal): Make `reason'
6691 optional. (Bug#10744)
6692
af008560
GM
66932012-02-07 Glenn Morris <rgm@gnu.org>
6694
60d47423
GM
6695 * emacs-lisp/easy-mmode.el (define-minor-mode):
6696 Doc fixes for the macro and the mode it defines.
6697
dd605cc4
GM
6698 * image.el (imagemagick-types-inhibit): Doc fix.
6699
af008560
GM
6700 * cus-start.el (imagemagick-render-type): Add it.
6701
5cc59a37
LI
67022012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6703
4d6769e1
JB
6704 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6705 Set the default at load time, too, so that `font-lock-fontify-buffer'
6706 can be called without setting up the entire mode first. This fixes
6707 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6708
9a6dd747
CY
67092012-02-06 Chong Yidong <cyd@gnu.org>
6710
2d16b285
CY
6711 * simple.el (list-processes--refresh): Delete exited processes
6712 (Bug#8094).
6713
171e9b6e
CY
6714 * comint.el (comint-next-prompt): next-single-char-property-change
6715 and prev-single-char-property-change never return nil (Bug#8657).
6716
9a6dd747
CY
6717 * custom.el (defcustom): Doc fix (Bug#9711).
6718
aa4589a7
CY
67192012-02-05 Chong Yidong <cyd@gnu.org>
6720
5c2a252f
CY
6721 * cus-edit.el (custom-variable-reset-backup): Quote the value
6722 before storing it in the customized-value property (Bug#6712).
4aab9006 6723 (custom-display): Add a customization type tag.
983b9602 6724 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6725
aa4589a7
CY
6726 * wid-edit.el (widget-field-value-get): New optional arg to
6727 suppress trailing whitespace truncation.
6728 (character): Use it (Bug#2689).
6729
1ff980ae
AS
67302012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6731
6732 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6733 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6734
03988c98
CY
67352012-02-05 Chong Yidong <cyd@gnu.org>
6736
eeb6cc88
CY
6737 * cus-edit.el (custom-variable-value-create): For mismatched
6738 types, show the current value (Bug#7600).
6739
03988c98
CY
6740 * custom.el (defcustom): Doc fix.
6741
f8cdeef0
GM
67422012-02-05 Glenn Morris <rgm@gnu.org>
6743
6744 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6745
0696d255
JB
67462012-02-05 Juanma Barranquero <lekktu@gmail.com>
6747
6748 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6749 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6750 (pp-last-sexp): Use `looking-at-p'.
6751
34c99998
GM
67522012-02-04 Glenn Morris <rgm@gnu.org>
6753
8f05da42
GM
6754 * files.el (revert-buffer):
6755 Doc fix (mention revert-buffer-in-progress-p).
6756
f160676e
GM
6757 * emacs-lisp/ert-x.el (ert-simulate-command):
6758 Check deferred-action-list (which is obsolete) is bound.
6759
c7291ad9
GM
6760 * subr.el (with-wrapper-hook): Doc fixes.
6761
34c99998
GM
6762 * simple.el (filter-buffer-substring-functions)
6763 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6764
6283a7d3
LL
67652012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6766
6767 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6768 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6769
e96e3013
LL
67702012-02-04 Leo Liu <sdl.web@gmail.com>
6771
6772 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6773
8ded50f2
GM
67742012-02-04 Glenn Morris <rgm@gnu.org>
6775
82ff1d13
GM
6776 * image.el (image-extension-data): Add obsolete alias.
6777
987a0a16
GM
6778 * isearch.el (isearch-update): Doc fix.
6779
ea32ef46
GM
6780 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6781
8ded50f2
GM
6782 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6783
eea14f31
GM
67842012-02-03 Glenn Morris <rgm@gnu.org>
6785
6786 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6787 (image-animate-timeout): Doc fix.
6788
6789 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6790
12f381b7
GM
67912012-02-02 Glenn Morris <rgm@gnu.org>
6792
953cebf5
GM
6793 * server.el (server-auth-dir): Doc fix.
6794 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6795
12f381b7
GM
6796 * subr.el (run-mode-hooks): Doc fix.
6797
953a8c3b
JL
67982012-02-02 Juri Linkov <juri@jurta.org>
6799
6800 * image-mode.el (image-toggle-display-image): Remove tautological
6801 `major-mode' from the `derived-mode-p' test.
6802
c5d3843c
KH
68032012-02-02 Kenichi Handa <handa@m17n.org>
6804
9f6e692e 6805 * composite.el (compose-region): Cancel previous change.
c5d3843c 6806
159462d4 68072012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6808
6809 * composite.el (compose-region, compose-string): Signal error for
6810 a null string component (Bug#6988).
6811
9f562668
CY
68122012-02-01 Chong Yidong <cyd@gnu.org>
6813
e2cef717
CY
6814 * view.el (view-buffer-other-window, view-buffer-other-frame):
6815 Handle special modes like view-buffer (Bug#10650).
6816 (view-buffer): Simplify.
6817
9f562668
CY
6818 * frame.el (set-frame-font): Tweak meaning of third argument.
6819
9f6e692e
JB
6820 * dynamic-setting.el (font-setting-change-default-font):
6821 Use set-frame-font (Bug#9982).
9f562668 6822
781acb9f
GM
68232012-02-01 Glenn Morris <rgm@gnu.org>
6824
6035be52
GM
6825 * progmodes/compile.el (compilation-internal-error-properties):
6826 Respect compilation-first-column in the "*compilation*" buffer.
6827
781acb9f
GM
6828 * emacs-lisp/easy-mmode.el (define-minor-mode):
6829 Relax :variable's test for a named function.
6830
abbceb00
AM
68312012-01-31 Alan Mackenzie <acm@muc.de>
6832
6833 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6834 off by one error.
6835
fce3fdeb
CY
68362012-01-31 Chong Yidong <cyd@gnu.org>
6837
6838 * frame.el (set-frame-font): New arg ALL-FRAMES.
6839
6840 * menu-bar.el (menu-set-font): Use set-frame-font.
6841
6842 * faces.el (face-spec-reset-face): Don't apply unspecified
6843 attribute values to the default face.
6844
47893581
JB
68452012-01-31 Juanma Barranquero <lekktu@gmail.com>
6846
6847 * progmodes/cwarn.el (cwarn): Remove dead link.
6848 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6849 Remove * from defcustom docstrings.
6850 (turn-on-cwarn-mode): Make obsolete.
6851 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6852 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6853
e58e988a
GM
68542012-01-31 Glenn Morris <rgm@gnu.org>
6855
60dc2671 6856 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6857 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6858 Allow named functions to be used as the cdr of :variable.
e58e988a 6859
7a3f511d
GM
68602012-01-30 Glenn Morris <rgm@gnu.org>
6861
6862 * emacs-lisp/authors.el (authors-fixed-entries):
6863 Remove reference to deleted file rnewspost.el.
6864
cb882333
JB
68652012-01-29 Juanma Barranquero <lekktu@gmail.com>
6866
6867 * window.el (window-with-parameter): Remove unused variable `windows'.
6868 (window--side-check): Remove unused variable `code'.
6869 (window--resize-siblings): Remove unused variable `first'.
6870 (adjust-window-trailing-edge): Remove unused variable `failed'.
6871 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6872 Use `let', not `let*'.
6873 (balance-windows-2): Remove unused variable `found'.
6874 (window--state-put-2): Remove unused variable `splits'.
6875 (window-state-put): Remove unused variable `selected'.
6876 (same-window-p): Use `string-match-p'.
6877 (display-buffer-assq-regexp): Remove unused variable `value'.
6878 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6879 Mark argument ALIST as ignored.
6880 (pop-to-buffer): Remove unused variable `old-window'.
6881
907201af
EZ
68822012-01-29 Eli Zaretskii <eliz@gnu.org>
6883
6884 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6885 and .lzma compressed files.
6886
ea162670
CY
68872012-01-29 Chong Yidong <cyd@gnu.org>
6888
5b95ee8a
CY
6889 * frame.el (window-system-default-frame-alist): Doc fix.
6890
ea162670
CY
6891 * dynamic-setting.el (font-setting-change-default-font): Don't
6892 change the default face if SET-FONT argument is non-nil (Bug#9982).
6893
d6e6f4b1
SB
68942012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6895
6896 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6897
0f29fa41 68982012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6899
6900 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6901 breakpoints in files outside current directory (Bug#6098).
6902
db174434
CY
69032012-01-29 Chong Yidong <cyd@gnu.org>
6904
6b25e4e2
SE
6905 * progmodes/python.el: Require ansi-color at top-level.
6906
6df6ae42
JB
6907 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6908 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6909 (lisp-mode-abbrev-table): Add doc.
6910 (lisp-mode-variables): Don't set local-abbrev-table.
6911 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6912
e70ee681
RW
69132012-01-28 Roland Winkler <winkler@gnu.org>
6914
6915 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6916
ace88aa2
RW
69172012-01-28 Roland Winkler <winkler@gnu.org>
6918
6919 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6920 (bibtex-set-dialect): Use it. Either set global values of
6921 dialect-dependent variables or bind these variables buffer-locally
6922 (Bug#10254).
6923 (bibtex-mode): Call bibtex-set-dialect via
6924 hack-local-variables-hook.
eb864a71
LM
6925 (bibtex-dialect): Update docstring.
6926 Add safe-local-variable predicate.
ace88aa2
RW
6927 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6928 bibtex-set-dialect.
6929 (bibtex-mode-map): Define menu for each dialect.
6930 (bibtex-entry): Fix docstring.
6931
93376c5b
CY
69322012-01-28 Chong Yidong <cyd@gnu.org>
6933
6934 * eshell/esh-arg.el (eshell-quote-argument): New function.
6935
6936 * eshell/esh-ext.el (eshell-invoke-batch-file):
6937 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6938 first arg to eshell-parse-command (Bug#10523).
6939
4372494f
DA
69402012-01-28 Drew Adams <drew.adams@oracle.com>
6941
6942 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6943 `default-directory' is non-nil.
6944
4d4ec1f8
EZ
69452012-01-28 Eli Zaretskii <eliz@gnu.org>
6946
6947 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6948 line that displays system-configuration-options. (Bug#9924)
6949
7c188927
DA
69502012-01-28 Drew Adams <drew.adams@oracle.com>
6951
6952 * descr-text.el (describe-char): Show information about POS, in
6953 addition to information about the character at POS. Improve and
6954 update the doc string. Change "code point" to "code point in
6955 charset", to avoid confusion with the character's Unicode code
6956 point shown above that. (Bug#10129)
6957
e0da685a
EZ
69582012-01-28 Eli Zaretskii <eliz@gnu.org>
6959
6960 * descr-text.el (describe-char): Show the raw character, not only
6961 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6962 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6963 for the reasons.
6964
70550acf
PH
69652012-01-28 Phil Hagelberg <phil@hagelb.org>
6966
eb864a71
LM
6967 * emacs-lisp/package.el (package-install):
6968 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6969
0ce8e868
CY
69702012-01-28 Chong Yidong <cyd@gnu.org>
6971
cb882333
JB
6972 * emacs-lisp/package.el (package-maybe-load-descriptor):
6973 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6974 (package-maybe-load-descriptor): Use it.
6975 (package-download-transaction): Fully load required packages
6976 inside the loop, so that `require' calls work (Bug#10593).
6977 (package-install): No need to call package-initialize now.
6978
2e7f3bea
CY
69792012-01-28 Chong Yidong <cyd@gnu.org>
6980
6e9bad14
CY
6981 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6982
f823b8ca
CY
6983 * tooltip.el (tooltip-mode): Doc fix.
6984 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6985
2680c309
CY
6986 * frame.el (set-cursor-color): Doc fix (Bug#352).
6987
d7a9e63b
CY
6988 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6989 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6990
2e7f3bea
CY
6991 * cus-edit.el (custom-buffer-create-internal): Fix search button
6992 action (Bug#10542).
2ae01800 6993 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6994
fc4f7a23
EW
69952012-01-27 Eduard Wiebe <usenet@pusto.de>
6996
6997 * dired.el (dired-mark-files-regexp):
6998 Include any subdirectory components. (Bug#10445)
6999
7dd37071
ML
70002012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7001
7002 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7003 Handle [host]:port syntax. (Bug#10533)
7004
a268160b
AH
70052012-01-27 Alex Harsanyi <harsanyi@mac.com>
7006
7007 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7008
e43273ef
GM
70092012-01-26 Glenn Morris <rgm@gnu.org>
7010
7011 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7012 * term.el (term-raw-escape-map): Use Control-X-prefix.
7013 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7014
1edf595d
MR
70152012-01-25 Martin Rudalics <rudalics@gmx.at>
7016
7017 * window.el (window-state-get, window--state-get-1): Don't deal
7018 with fixed-sizeness of windows. Simplify code.
7019
fa8eafef
JC
70202012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7021
6df6ae42
JB
7022 * window.el (window--state-get-1, window--state-put-2):
7023 Don't save and restore the mark.
fa8eafef 7024
0b21c100
CY
70252012-01-25 Chong Yidong <cyd@gnu.org>
7026
7027 * custom.el (custom-variable-p): Doc fix.
7028
5ae1a6c8
GM
70292012-01-25 Glenn Morris <rgm@gnu.org>
7030
40047858
GM
7031 * dired.el (dired-goto-file): Handle some of the more common
7032 characters that `ls -b' escapes. (Bug#10596)
7033
5ddce96c
GM
7034 * progmodes/compile.el (compilation-next-error-function):
7035 Respect compilation-first-column in the "*compilation*" buffer.
7036 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7037
5ae1a6c8
GM
7038 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7039
b559f1a9
GM
70402012-01-24 Glenn Morris <rgm@gnu.org>
7041
7042 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7043
6725d21a
JD
70442012-01-24 Julien Danjou <julien@danjou.info>
7045
7046 * color.el (color-rgb-to-hsl): Fix value computing.
7047 (color-hue-to-rgb): New function.
7048 (color-hsl-to-rgb): New function.
7049 (color-clamp, color-saturate-hsl, color-saturate-name)
7050 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7051 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7052
70df4bbe
GM
70532012-01-24 Glenn Morris <rgm@gnu.org>
7054
7055 * vc/vc-rcs.el (vc-rcs-create-tag):
7056 * vc/vc-sccs.el (vc-sccs-create-tag):
7057 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7058
802a2ae2
ML
70592012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7060
7061 * eshell/esh-util.el (eshell-read-hosts-file):
7062 Skip comment lines. (Bug#10549)
7063
d7128bb1
ML
7064 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7065
d1a5c3b4
JB
70662012-01-23 Juanma Barranquero <lekktu@gmail.com>
7067
2724d9c7
JB
7068 * subr.el (display-delayed-warnings): Doc fix.
7069 (collapse-delayed-warnings): New function to collapse identical
7070 adjacent warnings.
7071 (delayed-warnings-hook): Add it.
d1a5c3b4 7072
a5509865
MA
70732012-01-22 Michael Albinus <michael.albinus@gmx.de>
7074
7075 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7076
a5509865
MA
7077 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7078 (tramp-default-user-alist): Don't add "pscp".
7079 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7080 property "login-as", if set. (Bug#10530)
7081
cc6d5805
MA
70822012-01-21 Michael Albinus <michael.albinus@gmx.de>
7083
7084 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7085 "plink1" and "psftp". (Bug#10530)
7086
70872012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7088
7089 * international/mule-cmds.el (prefer-coding-system): Show a
7090 warning message if the default value of file-name-coding-system
7091 was not changed.
7092
f0960428
JC
70932012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7094
cb882333
JB
7095 * windmove.el (windmove-reference-loc):
7096 Fix windmove-reference-loc miscalculation.
f0960428 7097
dd6f2a63
JB
70982012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7099
7100 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7101 default unit.
7102
7b447e9b
GM
71032012-01-21 Glenn Morris <rgm@gnu.org>
7104
117a9ea1
GM
7105 * international/mule.el (auto-coding-alist): Add .tbz.
7106
7b447e9b
GM
7107 * files.el (local-enable-local-variables): Doc fix.
7108 (inhibit-local-variables-regexps): Rename from
7109 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7110 Doc fix. Add some extensions from auto-coding-alist.
7111 (inhibit-local-variables-suffixes):
7112 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7113 (inhibit-local-variables-p):
7114 New function, extracted from set-auto-mode-1.
7115 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7116 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7117 (hack-local-variables): Doc fix. Make the mode-only case
7118 respect enable-local-variables and friends.
7119 Respect inhibit-local-variables-regexps for file-locals, but
7120 not for directory-locals.
7121 (set-visited-file-name):
7122 Take account of inhibit-local-variables-regexps.
7123 Whether it applies may change as the file name is changed.
7124 * jka-cmpr-hook.el (jka-compr-install):
7125 * jka-compr.el (jka-compr-uninstall):
7126 Update for inhibit-first-line-modes-suffixes name change.
7127
dd6e3cdd
MR
71282012-01-20 Martin Rudalics <rudalics@gmx.at>
7129
7130 * help-macro.el (make-help-screen): Temporarily restore original
7131 binding for minor-mode-map-alist (Bug#10454).
7132
0d0deb38
JD
71332012-01-19 Julien Danjou <julien@danjou.info>
7134
7135 * color.el (color-name-to-rgb): Use the white color to find the max
7136 color component value and return correctly computed values.
7137 (color-name-to-rgb): Add missing float conversion for max value.
7138
34a02f46
MR
71392012-01-19 Martin Rudalics <rudalics@gmx.at>
7140
7141 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7142 special state value for window-persistent-parameters.
7143 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7144 (window--state-put-2): Reset all window parameters to nil before
7145 assigning values of persistent parameters.
7146
606c44c4
AM
71472012-01-18 Alan Mackenzie <acm@muc.de>
7148
7149 Eliminate sluggishness and hangs in fontification of "semicolon
7150 deserts".
7151
cb882333
JB
7152 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7153 Change value 10000 -> 3000.
606c44c4
AM
7154 (c-state-safe-place): Reformulate so it doesn't stack up an
7155 infinite number of wrong entries in c-state-nonlit-pos-cache.
7156 (c-determine-limit-get-base, c-determine-limit): New functions to
7157 determine backward search limits disregarding literals.
7158 (c-find-decl-spots): Amend commenting.
7159 (c-cheap-inside-bracelist-p): New function which detects "={".
7160
7161 * progmodes/cc-fonts.el
7162 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7163 backward search.
7164 (c-font-lock-declarations): Fix an occurrence of point being
7165 undefined. Check additionally for point being in a bracelist or
7166 near a macro invocation without a semicolon so as to avoid a
7167 fruitless time consuming search for a declarator. Give a more
7168 precise search limit for declarators using the new
7169 c-determine-limit.
7170
f3860cea
GM
71712012-01-18 Glenn Morris <rgm@gnu.org>
7172
7173 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7174 (set-auto-mode): Doc fixes.
7175
1db03b16
GM
71762012-01-17 Glenn Morris <rgm@gnu.org>
7177
0e6038be
GM
7178 * isearch.el (search-nonincremental-instead): Fix doc typo.
7179
1db03b16
GM
7180 * dired.el (dired-insert-directory): Handle newlines in directory name.
7181 (dired-build-subdir-alist): Unescape newlines in directory name.
7182
4cb0aa75
MA
71832012-01-17 Michael Albinus <michael.albinus@gmx.de>
7184
7185 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7186 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7187 (tramp-action-terminal): Use it. (Bug#10530)
7188
1d00653d
SM
71892012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7190
7191 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7192
6a6ee00d
MR
71932012-01-16 Martin Rudalics <rudalics@gmx.at>
7194
7195 * window.el (window-state-ignored-parameters): Remove variable.
7196 (window--state-get-1): Rename argument MARKERS to IGNORE.
7197 Handle persistent window parameters. Make copy of clone-of
7198 parameter only if requested. (Bug#10348)
7199 (window--state-put-2): Install a window parameter only if it has
7200 a non-nil value or an existing parameter shall be overwritten.
7201
97912def
MA
72022012-01-15 Michael Albinus <michael.albinus@gmx.de>
7203
7204 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7205
688070a5
EZ
72062012-01-14 Eli Zaretskii <eliz@gnu.org>
7207
7208 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7209 don't pass the (nil) value of `upnode' to string-match.
7210
301afadc
CY
72112012-01-14 Chong Yidong <cyd@gnu.org>
7212
7213 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7214 Fix values recognized by the cursorBlink resource.
301afadc 7215
9e5788aa
PE
72162012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7217
7218 * epg.el (epg--make-temp-file): Avoid permission race condition
7219 when running on old Emacs versions (bug#10403).
7220
3cdb7f5a
GM
72212012-01-14 Glenn Morris <rgm@gnu.org>
7222
7223 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7224
8c82b1b4
AM
72252012-01-13 Alan Mackenzie <acm@muc.de>
7226
7227 Fix filling for when filladapt mode is enabled.
7228
7229 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7230 c-mask-paragraph, pass in `fill-paragraph' rather than
7231 `fill-region-as-paragraph'. (This is a reversion of a previous
7232 change.)
eb864a71
LM
7233 * progmodes/cc-mode.el (c-basic-common-init):
7234 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7235
e517eda4
GM
72362012-01-13 Glenn Morris <rgm@gnu.org>
7237
1498536e
GM
7238 * dired.el (dired-switches-escape-p): New function.
7239 (dired-insert-directory): Use dired-switches-escape-p.
7240 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7241
e517eda4
GM
7242 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7243
328f984d
GM
72442012-01-12 Glenn Morris <rgm@gnu.org>
7245
7246 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7247 changes in adaptive-fill-regexp. (Bug#10276)
7248
2cc769a8
AM
72492012-01-11 Alan Mackenzie <acm@muc.de>
7250
7251 Fix Emacs bug #10463 - put `widen's around the critical spots.
7252
1d00653d 7253 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7254 widen around each invocation of c-state-pp-to-literal. Remove an
7255 unused let variable.
7256
e52c37fa
GM
72572012-01-11 Glenn Morris <rgm@gnu.org>
7258
7259 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7260 Doc fix.
e52c37fa 7261
96f8741e
CY
72622012-01-10 Chong Yidong <cyd@gnu.org>
7263
1d00653d
SM
7264 * net/network-stream.el (network-stream-open-starttls):
7265 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7266 response to the capability command.
7267
b09a806e
GM
72682012-01-10 Glenn Morris <rgm@gnu.org>
7269
7270 * mail/unrmail.el (unrmail): Tweak previous change.
7271
7655cb66
CY
72722012-01-09 Chong Yidong <cyd@gnu.org>
7273
7274 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7275
9d5a8f0b
AM
72762012-01-08 Alan Mackenzie <acm@muc.de>
7277
7278 Optimise font locking in long enum definitions.
7279
7280 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7281 arm to a cond form to handle enums.
7282 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7283 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7284
9a0115ab 72852012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7286
7287 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7288 (Bug#10401)
6bb72cbd 7289
f186bb95
LMI
72902012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7291
29232a68
LMI
7292 * faces.el (set-face-attribute): Clarify the meaning of the nil
7293 frame (bug#10294).
7294
4e5d086d
LMI
7295 * subr.el (with-selected-frame): Mention that the selected frame
7296 is restored (bug#9980).
7297
8e66aebe
LMI
7298 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7299 (bug#9759).
7300
cd394be1 7301 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7302 (password-read): Don't autoload unused function.
7303
adf4e762
JB
73042012-01-07 Juanma Barranquero <lekktu@gmail.com>
7305
7306 * progmodes/which-func.el (which-func-mode): Turn into a
7307 non-interactive function and mark as obsolete (bug#10428).
7308
89bd9ccd
CY
73092012-01-06 Chong Yidong <cyd@gnu.org>
7310
7311 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7312 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7313 functions, along with 1 and -1.
7314
4afee9d5
EZ
73152012-01-06 Eli Zaretskii <eliz@gnu.org>
7316
7317 * time.el (display-time-load-average)
7318 (display-time-default-load-average): Doc fixes. See the thread
7319 starting at
7320 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7321 for the details.
7322
536aea70
GM
73232012-01-06 Glenn Morris <rgm@gnu.org>
7324
665ae865
GM
7325 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7326 has no messages. (Bug#10377)
7327
c869783d
GM
7328 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7329 than Info-edit. (Bug#10385)
7330
2bb4227e
GM
7331 * time.el (display-time-load-average, display-time-next-load-average):
7332 Doc fixes.
7333
7d5944b9
GM
7334 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7335 local setting of buffer-read-only to the input buffer. (Bug#10419)
7336
536aea70
GM
7337 * calendar/calendar.el (calendar-mode):
7338 Locally set scroll-margin to 0. (Bug#10379)
7339
7dccca16
UM
73402012-01-06 Ulrich Mueller <ulm@gentoo.org>
7341
7342 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7343
afbb7930
GM
73442012-01-05 Glenn Morris <rgm@gnu.org>
7345
7346 * eshell/em-unix.el (diff-no-select): Autoload it.
7347 (eshell/diff): Use diff-no-select. (Bug#10420)
7348
04482335
CY
73492012-01-05 Chong Yidong <cyd@gnu.org>
7350
7baca3bc
CY
7351 * shell.el (shell-dynamic-complete-functions): Revert last change.
7352 (shell-command-completion-function): New function.
7353 (shell-completion-vars): Use it to implement
7354 shell-completion-execonly (Bug#10417).
7355
04482335
CY
7356 * custom.el (enable-theme): Don't set custom-safe-themes.
7357
1d00653d
SM
7358 * cus-theme.el (custom-theme-merge-theme):
7359 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7360
bb5aa5d6
MM
73612012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7362
7363 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7364 first prompt in `sql-interacive-mode'.
7365 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7366 keywords.
6df6ae42 7367 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7368 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7369 context of original buffer. Invoke `sql-login-hook'.
7370
a7183d7c
EZ
73712012-01-04 Eli Zaretskii <eliz@gnu.org>
7372
7373 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7374 letters in cite-prefix.
7375
a1eacd1e
LMI
73762012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7377
7378 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7379
787cdb34
CY
73802012-01-03 Chong Yidong <cyd@gnu.org>
7381
1d00653d
SM
7382 * shell.el (shell-dynamic-complete-functions):
7383 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7384 comint-filename-completion first (Bug#10417).
7385
30710442
RS
73862012-01-02 Richard Stallman <rms@gnu.org>
7387
7388 * battery.el (battery-status-function):
7389 Detect when to use battery-yeeloong-sysfs.
7390 (battery-echo-area-format): Add string for Yeeloong.
7391 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7392 (battery-yeeloong-sysfs): New function.
7393
f75bfc33
CY
73942012-01-02 Chong Yidong <cyd@gnu.org>
7395
7396 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7397 (dirtrack): Merge code for handling relative filenames in prompt
7398 from shell-dir-cookie-watcher.
7399 (dirtrack-debug-message): New arg to avoid excess format calls.
7400
7401 * shell.el (shell-dir-cookie-re): Variable deleted.
7402 (shell-dir-cookie-watcher): Function deleted.
7403 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7404 with dirtrack-mode.
7405
651e947e
EZ
74062012-01-01 Eli Zaretskii <eliz@gnu.org>
7407
1d00653d
SM
7408 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7409 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7410 libgnutls-26.dll.
7411
94d4c7dc
AS
74122011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7413
7414 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7415
8d43f3cd
EZ
74162011-12-31 Eli Zaretskii <eliz@gnu.org>
7417
7418 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7419 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7420
98c8795a
MA
74212011-12-29 Michael Albinus <michael.albinus@gmx.de>
7422
7423 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7424 also for alternative shells.
7425 (tramp-open-connection-setup-interactive-shell): Check, whether
7426 the shell is a busybox.
7427 (tramp-send-command): Don't suppress multiple prompts for
7428 busyboxes, it hurts.
7429
51281b32
CY
74302011-12-28 Chong Yidong <cyd@gnu.org>
7431
7432 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7433 (gdb-get-source-file): Move mode line update to
7434 gdb-get-source-file (Bug#10087).
7435
2170cb53
CY
74362011-12-25 Chong Yidong <cyd@gnu.org>
7437
7438 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7439 gud-gdb-marker-filter without taking it as an argument.
7440 (gud-gdb-run-command-fetch-lines): Caller changed.
7441 (gud-gdb-completion-function): New variable.
7442 (gud-gdb-completion-at-point): Use it.
7443 (gud-gdb-completions-1): Split from gud-gdb-completions.
7444
7445 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7446 function as separate arguments.
7447 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7448 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7449 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7450 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7451 (gdb-stopped, def-gdb-auto-update-trigger)
7452 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7453 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7454 Callers changed.
2170cb53
CY
7455 (gud-gdbmi-completions): New function.
7456 (gdb): Use it for generating the completion table.
7457
be8b11bb
AM
74582011-12-24 Alan Mackenzie <acm@muc.de>
7459
7460 Introduce a mechanism to widen the region used in context font
1d00653d 7461 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7462
1d00653d
SM
7463 * progmodes/cc-langs.el (c-before-font-lock-functions):
7464 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7465 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7466 functions to be run just before context (etc.) font locking.
7467
7468 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7469 New, functionality extracted from
be8b11bb 7470 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7471 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7472 (c-after-change): Set c-in-after-change-fontification.
7473 (c-set-fl-decl-start): Rejig its interface, so it can be called
7474 from both after-change and context fontifying.
b81d40f0
JB
7475 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7476 New functions.
7477 (c-standard-font-lock-fontify-region-function): New variable.
7478 (c-font-lock-fontify-region): New function.
be8b11bb 7479
341cf6ac
JL
74802011-12-24 Juri Linkov <juri@jurta.org>
7481
7482 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7483 (Bug#10348)
7484
bffcee0a
MA
74852011-12-23 Michael Albinus <michael.albinus@gmx.de>
7486
7487 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7488 existence of source file. (Bug#10325)
7489
cb5e207c
AM
74902011-12-23 Alan Mackenzie <acm@muc.de>
7491
7492 Fix unstable fontification inside templates.
7493
b81d40f0
JB
7494 * progmodes/cc-langs.el (c-before-font-lock-functions):
7495 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7496 additionally has c-set-fl-decl-start. The other languages (apart
7497 from AWK) have that as a single entry.
7498
b81d40f0
JB
7499 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7500 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7501 c-set-fl-decl-start.
7502
b81d40f0
JB
7503 * progmodes/cc-mode.el (c-common-init, c-after-change):
7504 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7505 (c-set-fl-decl-start): New function, extracted from
7506 c-font-lock-enclosing-decls and enhanced.
7507
60ff536c
JB
75082011-12-23 Juanma Barranquero <lekktu@gmail.com>
7509
7510 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7511
1c4757d6
JL
75122011-12-22 Juri Linkov <juri@jurta.org>
7513
7514 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7515
d031f2c7
CY
75162011-12-22 Chong Yidong <cyd@gnu.org>
7517
7518 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7519
bace743a
DA
75202011-12-21 Drew Adams <drew.adams@oracle.com>
7521
7522 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7523
728a1f2b
JC
75242011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7525
7526 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7527
0d373f73
TZ
75282011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7529
fec0aaa4
TZ
7530 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7531 highlighting and support. Fix up comments for capitalization.
7532 (cfengine-mode-debug): New var.
7533 (cfengine3-mode): Change the modeline indicator to "CFE3".
7534 (cfengine3-font-lock-keywords): Improve defun highlighting.
7535 (cfengine2-actions): Rename from `cfengine-actions'.
7536 (cfengine2-font-lock-keywords): Rename from
7537 `cfengine-font-lock-keywords'.
7538 (cfengine2-imenu-expression): Rename from
7539 `cfengine-imenu-expression'.
7540 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7541 (cfengine2-beginning-of-defun): Rename from
7542 `cfengine-beginning-of-defun'.
7543 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7544 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7545 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7546 modeline indicator to "CFE2".
7547 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7548 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7549
bc86f573
CY
75502011-12-21 Chong Yidong <cyd@gnu.org>
7551
7552 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7553 filename argument.
7554
d45ba96b
MR
75552011-12-20 Martin Rudalics <rudalics@gmx.at>
7556
7557 * window.el (window-normalize-buffer-to-display): Remove.
7558 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7559
a6198c90
CY
75602011-12-19 Chong Yidong <cyd@gnu.org>
7561
7562 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7563 Don't signal an error in a predicate function; return non-nil.
7564 (vc-dir-mark-file): Move the error here.
7565 (vc-dir-mark-unmark): If acting on the region, keep going if one
7566 of the entries cannot be marked/unmarked.
7567 (vc-dir-mark-all-files): If current entry is a directory, mark
7568 only child files, as documented.
7569
34c5fb55
VB
75702011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7571
7572 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7573 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7574 addition.
7575
c803b2b7
JD
75762011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7577
7578 * term/ns-win.el (ns-get-selection-internal)
7579 (ns-store-selection-internal): Declare.
1154d12e
JB
7580 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7581 Declare as obsolete.
7582 (ns-get-pasteboard, ns-paste-secondary):
7583 Use ns-get-selection-internal.
7584 (ns-set-pasteboard, ns-copy-including-secondary):
7585 Use ns-store-selection-internal.
c803b2b7 7586
9cff91f8 75872011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7588
7589 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7590 (vc-deduce-fileset): Doc fix.
99a289d9 7591
f16c898a
AS
75922011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7593
7594 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7595
763237c4
SS
75962011-12-13 Sam Steingold <sds@gnu.org>
7597
7598 * man.el (Man-getpage-in-background): When running under a
7599 window-system, ignore $MANWIDTH and $COLUMNS.
7600
5fc1c122
KH
76012011-12-15 Kenichi Handa <handa@m17n.org>
7602
7603 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7604 (setup-ethiopic-environment-internal): Comment out key-binding for
7605 ethio-toggle-punctuation.
7606
13d49cbb
AM
76072011-12-13 Alan Mackenzie <acm@muc.de>
7608
898169a2
AM
7609 Add the switch statement to AWK Mode.
7610
7a71b18d 7611 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7612 "default" to the keywords regexp.
7613
7a71b18d 7614 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7615 expression as the rest.
1d00653d
SM
7616 (c-nonlabel-token-key): Allow string literals for AWK.
7617 Refactor for the other modes.
898169a2 7618
13d49cbb 7619 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7620 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7621 routines. Limit backward searching in c-font-lock-enclosing.decl.
7622
7623 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7624 pp-state and literal type in addition to the limits.
1d00653d 7625 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7626 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7627 (c-slow-in-literal, c-fast-in-literal): Remove.
7628 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7629
7630 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7631 being in a literal. Add a limit for backward searching.
7632
7633 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7634 c-slow-in-literal.
7635
15e0efc7
SM
76362011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7637
7638 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7639
454592a6
MR
76402011-12-13 Martin Rudalics <rudalics@gmx.at>
7641
7642 * window.el (delete-other-windows): Use correct frame in call to
7643 window-with-parameter.
7644
87393f26
DP
76452011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7646
7647 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7648 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7649 (makefile-gmake-statements, makefile-makepp-statements):
7650 Use it and add new makepp keywords.
7651 (makefile-makepp-font-lock-keywords): Add new patterns.
7652 (makefile-match-function-end): Match new [...] and [[...]].
7653
11636b22
JB
76542011-12-11 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * ses.el (ses-call-printer-return, ses-cell-property-get)
7657 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7658 (ses-create-cell-variable, ses-reset-header-string)
7659 (ses-cell-set-formula, ses-repair-cell-reference-all)
7660 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7661 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7662 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7663 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7664 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7665 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7666 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7667 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7668 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7669 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7670 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7671 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7672
cf018193
VB
76732011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7674
7675 * ses.el: The overall change is to add cell renaming, that is
7676 setting fancy names for cell symbols other than name matching
7677 "\\`[A-Z]+[0-9]+\\'" regexp .
7678 (ses-create-cell-variable): New defun.
7679 (ses-relocate-formula): Relocate formulas only for cells the
7680 symbols of which are not renamed, i.e. symbols whose names do not
7681 match regexp "\\`[A-Z]+[0-9]+\\'".
7682 (ses-relocate-all): Relocate values only for cells the symbols of
7683 which are not renamed.
7684 (ses-load): Create cells variables as the (ses-cell ...) are read,
7685 in order to check row col consistency with cell symbol name only
7686 for cells that are not renamed.
7687 (ses-replace-name-in-formula): New defun.
7688 (ses-rename-cell): New defun.
7689
ee957461
CY
76902011-12-11 Chong Yidong <cyd@gnu.org>
7691
7692 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7693 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7694
9a9e9ef0
MR
76952011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7696
7697 * window.el (other-window): Fix docstring.
7698
92a8eba5
EZ
76992011-12-10 Eli Zaretskii <eliz@gnu.org>
7700
7701 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7702 `from' or `to' address before taking its substring.
7703 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7704 encoded name is chopped in the middle of the encoded string, and
7705 thus displayed encoded.
7706
e152e577
JB
77072011-12-10 Juanma Barranquero <lekktu@gmail.com>
7708
7709 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7710
e5d84bfe
EZ
77112011-12-10 Eli Zaretskii <eliz@gnu.org>
7712
7713 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7714 to use texinfo-update-node and commands that call it if the
7715 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7716 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7717 (texinfo-all-menus-update, texinfo-master-menu)
7718 (texinfo-update-node, texinfo-every-node-update)
7719 (texinfo-multiple-files-update): Doc fix. Warn against updating
7720 all the @node lines.
7721 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7722 argument is numeric. Explain better in the doc string what the
7723 function really does.
7724 (texinfo-insert-master-menu-list): Improve the error message
7725 displayed if there's no menu in the Top node.
7726 (Bug#2975) See also this thread:
e5d84bfe
EZ
7727 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7728
1d84e9bb
MG
77292011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7730
7731 * speedbar.el (speedbar-supported-extension-expressions):
7732 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7733
382c953b
JB
77342011-12-09 Juanma Barranquero <lekktu@gmail.com>
7735
7736 * printing.el (pr-mode-alist):
7737 * simple.el (filter-buffer-substring-functions)
7738 (completion-list-insert-choice-function):
7739 * window.el (window-with-parameter, window-atom-root)
7740 (window-sides-slots, window-size-fixed, window-min-delta)
7741 (window-max-delta, window--resize-mini-window)
7742 (window--resize-child-windows-normal, window-tree)
7743 (delete-other-windows, quit-window, split-window)
7744 (display-buffer-record-window, special-display-buffer-names)
7745 (special-display-regexps, special-display-popup-frame)
7746 (same-window-p, split-window-sensibly)
7747 (display-buffer-overriding-action, display-buffer-alist)
7748 (display-buffer-base-action, display-buffer, switch-to-buffer)
7749 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7750 (fit-window-to-buffer, recenter-positions)
7751 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7752 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7753 and remove unneeded backslashes in docstrings.
7754
39c9faef
SM
77552011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7756
98449af8
SM
7757 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7758
39c9faef
SM
7759 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7760 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7761 end in ".mk".
7762 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7763 when reading the makefile (bug#10116).
7764
86ed9fdc
SM
77652011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7766
7767 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7768 (bug#10116).
7769
5580f89d
GM
77702011-12-06 Glenn Morris <rgm@gnu.org>
7771
7772 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7773
28d3917c
CY
77742011-12-06 Chong Yidong <cyd@gnu.org>
7775
7776 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7777
a98edce9
JB
77782011-12-06 Juanma Barranquero <lekktu@gmail.com>
7779
7780 * textmodes/table.el (table-shorten-cell): Fix typo.
7781
e65adfac
CG
77822011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7783
7784 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7785
71cc0b74
EZ
77862011-12-05 Eli Zaretskii <eliz@gnu.org>
7787
7788 * descr-text.el (describe-char): Fix display of strong
7789 right-to-left characters and directional embeddings and overrides.
7790
7791 * simple.el (what-cursor-position): Fix display of codepoints of
7792 strong right-to-left characters.
7793
315bc30d
CY
77942011-12-05 Chong Yidong <cyd@gnu.org>
7795
7796 * faces.el (read-color): Doc fix.
7797
58a70b94
GM
77982011-12-05 Glenn Morris <rgm@gnu.org>
7799
7800 * align.el (align--set-marker): Add doc-string.
7801 Don't try to move something that is not a marker. (Bug#10216)
7802
5158face
GM
78032011-12-04 Glenn Morris <rgm@gnu.org>
7804
7805 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7806 overly zealous deletion of trailing whitespace.
7807
520fca41
JB
78082011-12-04 Juanma Barranquero <lekktu@gmail.com>
7809
7810 * server.el (server-delete-client): On Windows, do not try to delete
7811 the only terminal.
7812 (server-process-filter): On Windows, treat requests for a tty frame as
7813 if they were for a GUI frame if the running server is in GUI mode.
7814
5e605a2e
GM
78152011-12-03 Glenn Morris <rgm@gnu.org>
7816
7817 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7818
5c3fe83f
SM
78192011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7820
6f5e57e7
SM
7821 * electric.el: Streamline electric-indent's hook.
7822 (electric-indent-chars): Revert to simple list.
7823 (electric-indent-functions): New var.
7824 (electric-indent-post-self-insert-function): Use it.
7825
5c3fe83f
SM
7826 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7827 there's no inferior buffer (bug#10196).
7828 (prolog-consult-compile): Don't use toggle-read-only.
7829
6bdac736
MA
78302011-12-02 Michael Albinus <michael.albinus@gmx.de>
7831
7832 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7833 interrupt. (Bug#10187)
7834
6131ba7f
SM
78352011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7836
99c79fee
SM
7837 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7838 (bug#9160).
7839
6131ba7f
SM
7840 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7841 (bug#10191).
7842
cb0a02ea
JL
78432011-12-02 Juri Linkov <juri@jurta.org>
7844
7845 * info.el (Info-search): Display "end of manual" when Isearch
7846 reaches the end of single-file Info manual. (Bug#9918)
7847
66e0570c
EZ
78482011-12-02 Eli Zaretskii <eliz@gnu.org>
7849
7850 * isearch.el (isearch-message-prefix): Run the input method part
7851 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7852
02b16839
JL
78532011-12-02 Juri Linkov <juri@jurta.org>
7854
7855 * isearch.el (isearch-occur): Use `word-search-regexp' for
7856 `isearch-word'.
7857 (isearch-search-and-update): Add condition for `isearch-word' and
7858 call `word-search-regexp'. (Bug#10145)
7859
0b950688
GM
78602011-12-01 Glenn Morris <rgm@gnu.org>
7861
7862 * eshell/em-hist.el (eshell-hist-initialize):
7863 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7864 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7865
9505c3c7
SM
78662011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7869
1bbe96b2 78702011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7871
a1beca85
SM
7872 * progmodes/verilog-mode.el (verilog-pretty-expr):
7873 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7874 verilog, such as += *= and the like.
7875 (verilog-assignment-operator-re): Regular expression to find the
7876 assigment operator in a verilog assignment.
7877 (verilog-assignment-operation-re): Regular expression to find an
7878 assignment statement for pretty-expr.
7879 (verilog-in-attribute-p): Query returns true if point is in an
7880 attribute context; used to skip these for expression line up from
7881 pretty-expr.
7882 (verilog-in-parameter-p): Query returns true if point is in an
7883 parameter definition context; used to skip these for expression
7884 line up from pretty-expr.
7885 (verilog-in-parenthesis-p): Query returns true if point is in a
7886 parenthetical expression, specifically ( ) but not [ ] or { };
7887 used by pretty-expr.
7888 (verilog-just-one-space): If there is no space, don't add one.
7889 (verilog-get-lineup-indent-2): Specifically skip just attribute
7890 contexts for expression lineup, rather than skipping all
7891 parenthetical expressions.
7892 (verilog-calculate-indent): Fix comment, and fix indent.
7893 (verilog-do-indent): Indent declarations in lists (suggested by
7894 Joachim Lechner).
7895 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7896 skeleton items.
7897 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7898 by Alain Mellan).
7899
1bbe96b2 79002011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7901
7902 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7903 parameters with embedded comments. Reported by Ray Stevens.
7904 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7905 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7906 Reported by Tim Holt.
7907 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7908 instantiated by upper module causing wrong expansion until AUTOed a
7909 second time. Reported by K C Buckenmaier.
7910 (verilog-diff-auto): Fix showing .* as a difference when
7911 `verilog-auto-star-save' off. Reported by Dan Dever.
7912 (verilog-auto-reset, verilog-read-always-signals)
7913 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7914 temporary signals in reset list if
7915 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7916 style to each signal's assignment type, bug381.
7917 Reported by Thomas Esposito.
6288f0ca
WS
7918 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7919 (verilog-uvm-statement-re): Support UVM indentation and
7920 highlighting, with old OVM keywords only.
a1beca85 7921 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7922 Support AUTOTIEOFF creating non-wire data types.
7923 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7924 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7925 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7926 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7927 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7928 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7929 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7930 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7931 non-numeric vector width. Reported by Alex Reed.
7932 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7933 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7934 (verilog-auto-delete-trailing-whitespace):
7935 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7936 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7937 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7938 Fix verilog-scan-cache corruption when running user AUTO expansion
7939 hooks that call indentation routines.
7940 (verilog-simplify-range-expression): Fix typo ignoring lower case
7941 identifiers.
7942 (verilog-delete-auto): Fix delete-autos to also remove user created
7943 automatics, as long as they start with AUTO.
7944 (verilog-batch-diff-auto, verilog-diff-auto)
7945 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7946 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7947 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7948 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7949 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7950 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7951 is disabled and its cache will get corrupt, causing AUTOS not to
7952 expand. Instead use only -quick functions.
7953 (verilog-scan-region): Fix scanning over escaped quotes.
7954 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7955 (verilog-re-search-backward-quick)
7956 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7957 related functions now ignore strings, to fix misparsing of strings
7958 with magic comments embedded in them.
a1beca85
SM
7959 (verilog-read-auto-template):
7960 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7961 Reported by Brad Dobbie.
7962 (verilog-read-auto-template):
7963 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7964 Reported by Brad Dobbie.
6288f0ca
WS
7965 (verilog-auto-inst, verilog-auto-inst-param)
7966 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7967 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7968 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7969 debugging templates without merge conflicts, bug357.
7970 Reported by Brad Dobbie.
7971 (verilog-read-auto-template):
7972 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7973 Reported by Brad Dobbie.
7974 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7975 abbrevs so user won't be asked to save.
7976 (verilog-read-auto-lisp-present): Fix to start at beginning of
7977 buffer in case called outside of verilog-auto.
7978 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7979 to "X-2". Reported by Matthew Myers.
7980 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7981 all inputs from module templates. Reported by Leith Johnson.
7982 (verilog-module-inside-filename-p): Fix locating programs as with
7983 modules.
7984 (verilog-auto-inst-port): Fix vl-width expressions when using
7985 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7986 (verilog-decls-get-regs, verilog-decls-get-signals,
7987 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7988 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7989 verilog-read-decls): Combine reg and wire structures into one var
7990 structure to represent SystemVerilog concepts.
7991 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7992 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7993 (verilog-auto-wire-type, verilog-insert-definition):
7994 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7995 SystemVerilog "logic" keyword instead of "wire"/"reg".
7996 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7997 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7998 ifdef or generate if so there's not a driver conflict).
7999 Reported by Matthew Myers.
8000 (verilog-auto-declare-nettype, verilog-insert-definition):
8001 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8002 `default_nettype none. Reported by Julian Gorfajn.
8003 (verilog-read-always-signals-recurse, verilog-read-decls)
8004 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8005 malformed end statement, bug325. Reported by Joshua Wise and
8006 Andrew Drake.
8007 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8008 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8009 when expanding .* in interfaces, bug320.
8010 Reported by Pierre-David Pfister.
6288f0ca 8011 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8012 name and open parenthesis, bug317.
8013 Reported by Pierre-David Pfister.
6288f0ca
WS
8014 (verilog-simplify-range-expression): Fix simplification of
8015 multiplications inside AUTOWIRE connections, bug303.
8016 (verilog-auto-inst-port): Support parameter expansion in
8017 multidimensional arrays.
8018 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8019 after "assert property". Reported by Julian Gorfajn.
8020 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8021 with multiplication, bug303.
8022 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8023 Reported by Jan Frode Lonnum.
8024
1bbe96b2
GM
80252011-11-30 Juanma Barranquero <lekktu@gmail.com>
8026
8027 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8028 (hfy-shell-file-name, hfy-shell):
8029 * international/fontset.el (x-decompose-font-name): Fix typos.
8030
80312011-11-29 Ken Brown <kbrown@cornell.edu>
8032
8033 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8034 (gdb-version): Remove defvar.
8035 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8036 (gdb-gud-context-command, gdb-non-stop-handler)
8037 (gdb-current-context-command, gdb-stopped): Use it.
8038 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8039 (gdb-non-stop-handler): Don't enable pretty-printing here.
8040 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8041 non-stop mode. Use the following.
8042 (gdb-check-target-async): New defun.
8043 (gud-watch, gdb-stopped): Fix whitespace.
8044 (gdb-get-source-file): Don't try to display the source file if
8045 `gdb-main-file' is nil.
8046
80472011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8048
8049 * align.el: Try to generate fewer markers (bug#10047).
8050 (align--set-marker): New macro.
8051 (align-region): Use it.
8052
c935221f
SM
80532011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8056
e70b5064
CY
80572011-11-29 Chong Yidong <cyd@gnu.org>
8058
8059 * indent.el (indent-for-tab-command, indent-according-to-mode):
8060 Doc fix.
8061 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8062
f3af92b7
MA
80632011-11-29 Michael Albinus <michael.albinus@gmx.de>
8064
8065 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8066 aware of remote file names. (Bug#10124)
8067
ed472be9
CY
80682011-11-29 Chong Yidong <cyd@gnu.org>
8069
8070 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8071
24510c22
SM
80722011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * files.el (find-file): Don't use force-same-window (bug#10144).
8075 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8076 use pop-to-buffer if the selected window can't be used.
8077 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8078
c60c3703
EZ
80792011-11-28 Eli Zaretskii <eliz@gnu.org>
8080
8081 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8082 special-mode-map.
8083
e95def75
CY
80842011-11-28 Chong Yidong <cyd@gnu.org>
8085
8086 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8087
c3f1c606
NR
80882011-11-27 Nick Roberts <nickrob@snap.net.nz>
8089
8090 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8091 gdb-get-source-file-list on gdb-create-source-file-list.
8092
00db469c
EZ
80932011-11-26 Eli Zaretskii <eliz@gnu.org>
8094
8095 * whitespace.el (whitespace-newline): Use a different foreground
8096 color for 16-color light-background displays.
8097
4ad3bc2a
CY
80982011-11-24 Chong Yidong <cyd@gnu.org>
8099
8100 * window.el (display-buffer--special-action): Doc fix.
8101
e9fce1ac
JB
81022011-11-25 Juanma Barranquero <lekktu@gmail.com>
8103
8104 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8105 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8106 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8107 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8108 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8109 (avl-tree-stack-first):
8110 * emacs-lisp/cconv.el (cconv--analyse-use):
8111 * net/gnutls.el (gnutls-negotiate): Fix typos.
8112
cb825e5d
GM
81132011-11-24 Glenn Morris <rgm@gnu.org>
8114
3adbe224
GM
8115 * lpr.el (lpr-windows-system, lpr-lp-system):
8116 * mail/binhex.el (binhex-begin-line):
8117 * progmodes/grep.el (grep-history, grep-find-history):
8118 * textmodes/flyspell.el:
8119 * vc/pcvs-defs.el (cvs-global-menu):
8120 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8121 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8122 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8123
321decc8
GM
8124 * net/tls.el: Fix case of "GnuTLS".
8125
420b63ad
GM
8126 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8127
cb825e5d
GM
8128 * version.el (emacs-build-system): Give it a doc-string.
8129
a0649f08
JL
81302011-11-24 Juri Linkov <juri@jurta.org>
8131
8132 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8133
c0bc0fd4
GM
81342011-11-24 Glenn Morris <rgm@gnu.org>
8135
8136 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8137 if called on a non-mime message just toggle the headers. (Bug#8006)
8138
20db1522
JB
81392011-11-24 Juanma Barranquero <lekktu@gmail.com>
8140
8141 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8142 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8143 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8144 (allout-rebullet-heading, allout-open-sibtopic)
8145 (allout-toggle-current-subtree-encryption)
8146 (allout-toggle-subtree-encryption, allout-encrypt-string)
8147 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8148 (allout-distinctive-bullets-string, allout-auto-activation):
8149 * window.el (window-normalize-buffer-to-display):
8150 * progmodes/verilog-mode.el (verilog-batch-indent):
8151 * textmodes/bibtex.el (bibtex-field-braces-opt)
8152 (bibtex-field-strings-opt):
8153 * vc/cvs-status.el (cvs-tree-merge):
8154 Fix typos.
8155
7262a87c
MA
81562011-11-23 Michael Albinus <michael.albinus@gmx.de>
8157
8158 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8159 `non-essential' to t, in order to avoid remote connections.
8160
283430a1
EZ
81612011-11-23 Eli Zaretskii <eliz@gnu.org>
8162
a1beca85
SM
8163 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8164 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8165 case-insensitively.
8166
d2992a38
ML
81672011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8168
8169 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8170
50419064
GM
81712011-11-23 Glenn Morris <rgm@gnu.org>
8172
da94eca1
GM
8173 * paths.el (rmail-file-name): Reformat the doc-string so that it
8174 is picked up.
8175
9aac4de2
GM
8176 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8177 (rmail-auto-file): Ignore case in the "special" field names,
8178 as mail-fetch-field does for all others.
8179
8038d2d2
GM
8180 * mail/rmail.el (rmail-forward):
8181 * mail/rmailkwd.el (rmail-set-label):
8182 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8183 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8184
f3fe222a
GM
8185 * mail/rmail.el (rmail-current-message): Doc fix.
8186
50419064
GM
8187 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8188
28109f49
SM
81892011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8192
394c65f1
GM
81932011-11-22 Glenn Morris <rgm@gnu.org>
8194
8195 * mail/rmailmm.el (test-rmail-mime-handler)
8196 (test-rmail-mime-bulk-handler)
8197 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8198
f2a0aa3a
JL
81992011-11-21 Juri Linkov <juri@jurta.org>
8200
1154d12e
JB
8201 * calc/calc.el (calc-read-key-sequence):
8202 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8203
9c34a344
LMI
82042011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8205
8206 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8207 Tell the caller that the next line needs recomputation, even
8208 though it doesn't start a sexp (bug#10094).
8209
f04a3be9
SM
82102011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8211
8212 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8213
7978747f
SM
82142011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8215
f04a3be9
SM
8216 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8217 Use force-same-window.
7978747f 8218
fe7a3057
JB
82192011-11-20 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * descr-text.el (describe-char-unicode-data):
8222 * json.el (json-string-escape):
8223 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8224 (Footnote-unicode, Footnote-style-p):
8225 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8226
24901d61
CY
82272011-11-20 Chong Yidong <cyd@gnu.org>
8228
8229 * window.el (replace-buffer-in-windows): Restore interactive spec.
8230
bac7ff22
SM
82312011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8232
24f3d7b9
SM
8233 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8234
bac7ff22
SM
8235 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8236 (byte-compile-global-not-obsolete-vars): New var.
8237 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8238 Use it.
8239 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8240
cd1181db
JB
82412011-11-20 Juanma Barranquero <lekktu@gmail.com>
8242
8243 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8244 * progmodes/pascal.el (electric-pascal-equal):
8245 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8246 * xml.el (xml-substitute-special): Fix typos.
8247
7fb18e9e
GM
82482011-11-20 Glenn Morris <rgm@gnu.org>
8249
8250 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8251 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8252 Doc fixes.
8253 (rmail-decode-mime-charset): Mark as obsolete.
8254
8255 * mail/rmailsum.el (rmail-message-regexp-p-1):
8256 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8257 Before using mime functions, check they are set. (Bug#10077)
8258
d5a6b3ba
JL
82592011-11-19 Juri Linkov <juri@jurta.org>
8260
8261 * info.el (Info-finder-find-node): Use `package--builtins' instead
8262 of `package-alist'. Use node names formed by the pattern "Keyword "
8263 and the keyword name.
8264
e981b61f
AS
82652011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8266
1d00653d 8267 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8268
3ffbc301
JL
82692011-11-19 Juri Linkov <juri@jurta.org>
8270
8271 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8272 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8273 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8274 `old-history', `old-history-forward'. Add let-binding
8275 `window-selected'. Remove calls to `kill-buffer',
8276 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8277 before calling `Info-find-node', so `Info-find-node-2' will reread
8278 the Info file. Restore window positions only when `window-selected'
8279 is non-nil.
8280
30c62133
JL
82812011-11-19 Juri Linkov <juri@jurta.org>
8282
8283 * isearch.el (isearch-lazy-highlight-new-loop):
8284 Remove condition `(not isearch-error)'. (Bug#9918)
8285
8286 * misearch.el (multi-isearch-search-fun): Add condition
8287 `(not bound)' to ignore lazy-highlighting search.
8288 Add the search-failed message "end of multi" when the end of
8289 multi-sequence is reached. Uncapitalize the search-failed
8290 message "Repeat for next buffer".
8291
8292 * info.el (Info-search): Add the search-failed message
8293 "end of the manual" when the end of the manual is reached
8294 in Isearch mode.
8295
645ca9cf
JL
82962011-11-19 Juri Linkov <juri@jurta.org>
8297
8298 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8299 Use non-destructive `remove' instead of `delete' because
8300 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8301 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8302
df754f66
JL
83032011-11-19 Juri Linkov <juri@jurta.org>
8304
8305 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8306 to nil instead of binding `search-ring' and `regexp-search-ring'.
8307 (Bug#9185)
8308
0e23d96a
EZ
83092011-11-19 Eli Zaretskii <eliz@gnu.org>
8310
8311 * simple.el (line-move): Force movement by logical lines for any
8312 hscrolled window, not only when auto-hscroll-mode is on.
8313 (line-move-visual): Update doc string to that effect. (Bug#10076)
8314
8a6ccb66
AS
83152011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8316
8317 * language/european.el (macintosh): Define as alias for mac-roman.
8318
49ae5b39
EZ
83192011-11-19 Eli Zaretskii <eliz@gnu.org>
8320
8321 * mail/rmailmm.el (rmail-mime-display-header)
8322 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8323 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8324 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8325 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8326 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8327 of a raw aref.
8328 (rmail-mime-entity-segment): To get past the tagline, move forward
8329 2 more lines, to account for the 2 empty lines that precede and
8330 follow the line with the buttons.
8331 (rmail-mime-update-tagline): Move one more line, to get past the
8332 empty line that follows the buttons in the tagline. (Bug#9520)
8333
c56cad4a
MR
83342011-11-19 Martin Rudalics <rudalics@gmx.at>
8335
8336 * window.el (window-max-delta-1, window-min-delta-1)
8337 (window-min-size-1, window-state-get-1, window-state-put-1)
8338 (window-state-put-2): Use "window--" prefix.
8339
cbe71af3
SM
83402011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8341
2ad52c60
SM
8342 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8343 (smie-warning-count): New var.
8344 (smie-set-prec2tab): Use it.
8345 (smie-bnf->prec2): Improve warnings. Add docstring.
8346 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8347 (smie-bnf--set-class): New function.
8348 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8349 corner case.
8350
6944dbc1
SM
8351 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8352 (compilation-error-properties, compilation-move-to-column):
8353 Handle compilation-first-column while in the target buffer.
8354
c400c4d7
SM
8355 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8356 Don't hardcode point-min==1.
8357
6dbe3e96
SM
8358 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8359 (eshell-rewrite-for-command): Remove workaround.
8360 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8361 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8362 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8363
cbe71af3
SM
8364 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8365
a8e1496d
GM
83662011-11-17 Glenn Morris <rgm@gnu.org>
8367
8368 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8369 Ignore buffer-local generated-autoload-file if it is the same
8370 as the global value. (Bug#10049)
8371
df85d315
JB
83722011-11-17 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8375 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8376 (reftex-toc-previous-heading, reftex-toc-max-level)
8377 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8378 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8379 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8380 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8381 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8382 (reftex-toc-rename-label, reftex-toc-visit-location)
8383 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8384 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8385 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8386 leaving "*toc*" only for references to the buffer.
8387
a0c2d0ae
MR
83882011-11-17 Martin Rudalics <rudalics@gmx.at>
8389
8390 * window.el (window-resize, delete-window, split-window):
8391 Replace window-splits by window-combination-resize.
1d00653d 8392 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8393
35c0bac8
GM
83942011-11-17 Glenn Morris <rgm@gnu.org>
8395
8396 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8397 Make bash entry derive from sh entry, not shell entry.
8398
d0c8fc8a
MA
83992011-11-16 Michael Albinus <michael.albinus@gmx.de>
8400
7262a87c
MA
8401 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8402 local file name.
8403
7877f373
JB
84042011-11-16 Juanma Barranquero <lekktu@gmail.com>
8405
8406 * menu-bar.el (menu-bar-file-menu):
8407 * printing.el (pr-ps-utility):
8408 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8409 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8410 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8411 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8412 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8413 (icalendar--convert-cyclic-to-ical)
8414 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8415 (icalendar--convert-ical-to-diary)
8416 (icalendar--convert-recurring-to-diary)
8417 (icalendar--convert-non-recurring-all-day-to-diary)
8418 (icalendar-import-format-sample):
8419 * progmodes/idlw-shell.el (idlwave-shell-mode):
8420 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8421 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8422 (vhdl-ps-print-init): Fix typos.
8423
10649b82
KM
84242011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8425
9d0cfcd6
GM
8426 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8427 FSF and collapse date sequence, obscure author/maintainer email address
8428 better, remove extra version line, track relocation of author's webpage.
10649b82 8429
9d0cfcd6
GM
8430 * progmodes/python.el (python-pdbtrack-input-prompt)
8431 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8432 regular python pdb prompts. Adjustments shamelessly taken exactly as
8433 suggested in EmacsWiki page (tiny change):
8434 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8435
58179cce
JB
84362011-11-16 Juanma Barranquero <lekktu@gmail.com>
8437
8438 * expand.el (expand-pos, expand-index, expand-point):
8439 Remove redundant info from docstring.
8440 (expand-add-abbrevs): Doc fix.
8441 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8442 (expand-sample-perl-mode-expand-list): Fix typos.
8443
8444 * net/dbus.el (dbus-event-member-name):
8445 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8446 * term/pc-win.el (msdos-create-frame-with-faces):
8447 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8448
b6f67890
MR
84492011-11-16 Martin Rudalics <rudalics@gmx.at>
8450
8451 * window.el (split-window, window-state-get-1)
8452 (window-state-put-1, window-state-put-2): Rename occurrences of
8453 window-nest to window-combination-limit.
1d00653d 8454 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8455
ce7ddba0
CY
84562011-11-16 Chong Yidong <cyd@gnu.org>
8457
8458 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8459 regexp (Bug#10033).
8460
3ae704f4
SM
84612011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8464 `completing-read' will remove *Completions* and will preserve
8465 current-buffer for us.
8466 (tmm-add-prompt): Users of *Completions* will always (re)set its
8467 major mode.
8468 (tmm-old-comp-map): Remove.
8469
6ad1cdde
GM
84702011-11-16 Glenn Morris <rgm@gnu.org>
8471
8472 * mail/rmailedit.el: Require rmailmm when compiling.
8473 (rmail-old-mime-state): New declaration.
8474 (rmail-edit-current-message): If editing a mime message,
8475 edit the "raw" message from the mbox buffer.
8476 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8477
d20faa20
GM
84782011-11-15 Glenn Morris <rgm@gnu.org>
8479
8480 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8481 which wasn't being used. Add optional arg to force given state.
8482 (rmail-mime): Add optional arg to force given state.
8483
c7015153
JB
84842011-11-15 Juanma Barranquero <lekktu@gmail.com>
8485
8486 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8487 * frame.el (display-mm-dimensions-alist):
8488 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8489 (outline-move-subtree-down):
8490 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8491 (newsticker--treeview-do-get-node):
8492 * net/quickurl.el (quickurl-list-buffer-name):
8493 * progmodes/dcl-mode.el (dcl-mode):
8494 * progmodes/gdb-mi.el (gdb-mapcar*):
8495 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8496
45261b50
GM
84972011-11-15 Glenn Morris <rgm@gnu.org>
8498
8499 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8500 in a boolean sense, so just make it a boolean, and fix the doc.
8501 (rmail-show-mime-function, rmail-mime-feature)
8502 (rmail-require-mime-maybe): Doc fixes.
8503 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8504
8505 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8506
0d26e0b6
JB
85072011-11-15 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8510 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8511 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8512 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8513
447f30f6
GM
85142011-11-15 Glenn Morris <rgm@gnu.org>
8515
672b871d
GM
8516 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8517 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8518 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8519 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8520 (rmail-mime, rmail-show-mime): Doc fixes.
8521
f6aa5bb1
GM
8522 * term/ns-win.el (mode-line-frame-identification):
8523 Leave it alone. (Bug#10051)
8524
947cd66b
GM
8525 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8526
447f30f6
GM
8527 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8528 Handle empty buffers. (Bug#9978)
8529
0b381c7e
JB
85302011-11-14 Juanma Barranquero <lekktu@gmail.com>
8531
8532 * international/mule.el (define-charset):
8533 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8534 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8535 * progmodes/verilog-mode.el (verilog-backward-token):
8536 * textmodes/ispell.el (lookup-words):
8537 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8538
71e027ac
GM
85392011-11-14 Glenn Morris <rgm@gnu.org>
8540
56632ce4
GM
8541 * progmodes/executable.el
8542 (executable-make-buffer-file-executable-if-script-p):
8543 Handle file-modes returning nil.
8544
40500957
GM
8545 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8546 message - not necessary, and causes problems. (Bug#9831)
8547
071c2340
GM
8548 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8549
d3cfca60
GM
8550 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8551
71e027ac
GM
8552 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8553 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8554 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8555
89d61221
MR
85562011-11-12 Martin Rudalics <rudalics@gmx.at>
8557
8558 * window.el (window-resize, delete-window): Use window-splits
8559 variable instead of function.
8560 (window-state-get-1, window-state-put-2, window-state-put):
8561 Don't deal with windows' splits status.
8562
98282f6f
GM
85632011-11-12 Glenn Morris <rgm@gnu.org>
8564
8565 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8566 (apropos-documentation): Doc fixes.
8567
40a8bdf6
JB
85682011-11-11 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8571 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8572
65bd19ff
SM
85732011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * electric.el (electric-indent-post-self-insert-function): Make it
8576 possible for a char to only indent in some circumstances.
8577 (electric-indent-mode): Simplify.
8578
54f9154c
MR
85792011-11-11 Martin Rudalics <rudalics@gmx.at>
8580
8581 * window.el (windows-with-parameter): Remove unused function.
8582 (windows-at-side): Rename to window-at-side-list.
8583 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8584 (window-side-check, window-size-ignore, window-size-fixed-1)
8585 (window-in-direction-2): Prefix with "window--".
8586 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8587
68cbc58b
GM
85882011-11-11 Glenn Morris <rgm@gnu.org>
8589
8590 * subr.el (eval-after-load): If FILE is already loaded,
8591 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8592
b2621720
GM
85932011-11-10 Glenn Morris <rgm@gnu.org>
8594
9a4de110
GM
8595 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8596 Call svn via vc-svn-command rather than vc-do-command.
8597 (vc-svn-command): Add --non-interactive. (Bug#9993)
8598 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8599
b2621720
GM
8600 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8601 Add toggle-read-only. (Bug#7292)
8602 * files.el (toggle-read-only): Mention that it should only
8603 be used interactively. (Bug#10006)
8604
1dce7193
SM
86052011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8606
d9ac1a1e
SM
8607 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8608 Adjust regexp for OCaml warnings.
8609
0c325082
SM
8610 * electric.el (electric-pair-post-self-insert-function): Let user
8611 turn it off buffer-locally (bug#9932).
8612
90132c14
SM
8613 * progmodes/python.el (python-beginning-of-statement):
8614 Rewrite (bug#2703).
8615
1dce7193
SM
8616 * progmodes/compile.el: Better handle TABs (bug#9749).
8617 (compilation-internal-error-properties)
8618 (compilation-next-error-function): Obey the target buffer's
8619 compilation-error-screen-columns.
8620
c4e7c63a
JB
86212011-11-09 Juanma Barranquero <lekktu@gmail.com>
8622
8623 * progmodes/meta-mode.el: Remove obsolete comments.
8624 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8625 Fix typos in docstrings.
8626
2cffd681
MR
86272011-11-09 Martin Rudalics <rudalics@gmx.at>
8628
8629 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8630 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8631 (window--resizable): New function. Make all callers of
8632 window-resizable call window--resizable instead.
8633 (window-resizable): Rewrite in terms of window--resizable.
8634
0edcba87
GM
86352011-11-08 Glenn Morris <rgm@gnu.org>
8636
8637 * progmodes/delphi.el (delphi-mode-syntax-table):
8638 Let define-derived-mode define a proper syntax table. (Bug#9994)
8639
4b0d61e3
SM
86402011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * window.el: Stay away from defsubst.
8643 (window-list-no-nils): Remove.
8644 (window-state-get-1, window-state-get): Use backquote instead.
8645
cd394be1 86462011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8647
4b0d61e3 8648 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8649 Fix incorrect use of default argument in `completing-read'.
8650
e1c2c6f2
MR
86512011-11-08 Martin Rudalics <rudalics@gmx.at>
8652
8653 * window.el (display-buffer-function, special-display-function):
8654 Mention display-buffer-record-window but do not mention
8655 help-setup parameter in doc-strings.
b3f4a882 8656 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8657
105216ed
CY
86582011-11-08 Chong Yidong <cyd@gnu.org>
8659
8660 * window.el (window-total-height, window-total-width): Doc fix.
8661 (window-body-size): Move from C.
8662 (window-body-height, window-body-width): Move to C.
8663
0a9f9ab5
SM
86642011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * window.el: Make special-display like display-buffer-alist (bug#9532).
8667 (display-buffer--special-action): New function, morphed
8668 from display-buffer--special.
8669 (display-buffer): Use it to handle special-display-buffers at higher
8670 priority (just after display-buffer-alist).
8671 (display-buffer-fallback-action, display-buffer--other-frame-action)
8672 (pop-to-buffer-same-window): Remove display-buffer--special.
8673
a769dd15
GM
86742011-11-07 Glenn Morris <rgm@gnu.org>
8675
8676 * calendar/cal-menu.el (cal-menu-set-date-title):
8677 Do nothing if not in a calendar. (Bug#9976)
8678
05a61ee3
SM
86792011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8680
8681 * files.el (find-file): Always use selected-window.
8682
be7f5545
MR
86832011-11-07 Martin Rudalics <rudalics@gmx.at>
8684
8685 * window.el (window-combinations): Make WINDOW argument
8686 mandatory. Rewrite doc-string.
8687 (walk-window-subtree, window-atom-check, window-min-delta)
8688 (window-max-delta, window--resize-this-window)
8689 (window--resize-root-window-vertically, window-tree)
8690 (balance-windows, window-state-put): Rewrite doc-strings as to
8691 not mention the term "subwindow".
8692 (window--resize-subwindows-skip-p): Rename to
8693 window--resize-child-windows-skip-p.
8694 (window--resize-subwindows-normal): Rename to
8695 window--resize-child-windows-normal.
8696 (window--resize-subwindows): Rename to
8697 window--resize-child-windows.
8698 (window-or-subwindow-p): Rename to window--in-subtree-p.
8699
3c6702ef
ML
87002011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8701
8702 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8703 Ensure that mbox format messages end in two newlines (Bug#9974).
8704
49745b39
CY
87052011-11-06 Chong Yidong <cyd@gnu.org>
8706
8707 * window.el (window-combination-p): Function deleted; its
8708 side-effect is not used in any existing code.
8709 (window-combinations, window-combined-p): Call window-*-child
8710 directly.
8711
24300f5f
CY
87122011-11-05 Chong Yidong <cyd@gnu.org>
8713
8714 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8715 (window-size-ignore, window-state-get): Callers changed.
8716 (window-normalize-window): Rename from window-normalize-any-window.
8717 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8718 (window-normalize-live-window): Delete.
447f16b8
CY
8719 (window-combination-p, window-combined-p, window-combinations)
8720 (walk-window-subtree, window-atom-root, window-min-size)
8721 (window-sizable, window-sizable-p, window-size-fixed-p)
8722 (window-min-delta, window-max-delta, window-resizable)
8723 (window-resizable-p, window-full-height-p, window-full-width-p)
8724 (window-current-scroll-bars, window-point-1, set-window-point-1)
8725 (window-at-side-p, window-in-direction, window-resize)
8726 (adjust-window-trailing-edge, maximize-window, minimize-window)
8727 (window-deletable-p, delete-window, delete-other-windows)
8728 (record-window-buffer, unrecord-window-buffer)
8729 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8730 (quit-window, split-window, window-state-put)
8731 (set-window-text-height, fit-window-to-buffer)
8732 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8733
89bd5ee1
EZ
87342011-11-04 Eli Zaretskii <eliz@gnu.org>
8735
53479029
EZ
8736 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8737 rfc2047-decode-string.
8738 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8739 warnings.
8740
89bd5ee1
EZ
8741 * window.el (window-body-height, window-body-width): Mention in
8742 the doc string that the return values are in frame's canonical
8743 units. (Bug#9949)
8744
bd17fdee
AM
87452011-11-03 Alan Mackenzie <acm@muc.de>
8746
8747 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8748 change in cc-engine.el.
8749
acc825c5
SM
87502011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8751
8752 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8753
1885e5b8
MR
87542011-11-02 Martin Rudalics <rudalics@gmx.at>
8755
8756 * window.el (quit-window): Call unrecord-window-buffer after
8757 showing another buffer in the window. (Bug#9937)
acc825c5 8758 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8759
ebe06da9
JB
87602011-11-02 Juanma Barranquero <lekktu@gmail.com>
8761
8762 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8763 Accept status with more than 9 shelves. (Bug#9935)
8764 Reported by Colin D Bennett <colin@gibibit.com>.
8765
4ee88440
MR
87662011-11-01 Martin Rudalics <rudalics@gmx.at>
8767
8768 * help.el (with-help-window): Don't reference
8769 temp-buffer-show-specifiers in doc-string.
8770
08e1d82c
AS
87712011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8772
8773 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8774 menu-item.
8775
84bd6e9e
VJL
87762011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8777
8778 * whitespace.el: New version 13.2.2.
8779 (whitespace-newline-mode): Disable properly. Reported by Sarah
8780 <EmacsWiki>.
8781
dba0634a
UJ
87822011-10-30 Ulf Jasper <ulf.jasper@web.de>
8783
8784 * net/newst-treeview.el: Remove "Time-stamp".
8785 (newsticker--group-manage-orphan-feeds): Do not call
8786 newsticker--treeview-tree-update.
db22a3c2
JB
8787 (newsticker-treeview-update, newsticker-treeview):
8788 Call newsticker--treeview-tree-update if necessary.
dba0634a 8789
3d8daefe
MR
87902011-10-30 Martin Rudalics <rudalics@gmx.at>
8791
8792 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8793 (window-iso-combinations): Remove "iso-" infix.
8794 Suggested by Chong Yidong.
3d8daefe
MR
8795 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8796 (window-max-delta-1, window-resize, window--resize-siblings)
8797 (window--resize-this-window, adjust-window-trailing-edge)
8798 (split-window, balance-windows-1)
8799 (shrink-window-if-larger-than-buffer):
8800 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8801 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8802
1bc4c3ae
SM
88032011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8804
8805 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8806 in place (bug#9907).
8807 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8808 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8809 (eshell-structure-basic-command, eshell-rewrite-while-command)
8810 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8811 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8812 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8813 (eshell-do-pipelines-synchronously, eshell-eval-command):
8814 Use backquotes and prefer setq to set.
8815 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8816 (eshell-macrop): Use functionp.
c1e2f5fa 8817 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8818
30b65d9c
CY
88192011-10-30 Chong Yidong <cyd@gnu.org>
8820
8821 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8822 instead of set-mark (Bug#9810).
8823
2d197ffb
CY
88242011-10-30 Chong Yidong <cyd@gnu.org>
8825
8826 * window.el (split-window-below, split-window-right): Rename from
8827 split-window-above-each-other and split-window-side-by-side
8828 respectively. All callers changed.
8829 (split-window-sensibly, split-window-sensibly): Use them.
8830 (split-window-keep-point): Doc fix.
8831
8832 * isearch.el: Add isearch-scroll property to split-window-below
8833 and split-window-right.
8834
8835 * follow.el (follow-mode):
8836 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8837 * progmodes/ada-xref.el (ada-gdb-application):
8838 * emulation/vip.el (vip-buffer-in-two-windows):
8839 * image-dired.el (image-dired-dired-with-window-configuration):
8840 * dired-x.el (dired-do-find-marked-files):
8841 * dired.el (dired-pop-to-buffer):
8842 * bs.el (bs--show-with-configuration):
8843 * vc/emerge.el (emerge-setup-windows):
8844 * textmodes/two-column.el (2C-two-columns):
8845 * textmodes/reftex-toc.el (reftex-toc):
8846 * progmodes/gdb-mi.el (gdb-setup-windows):
8847 * progmodes/fortran.el (fortran-window-create):
8848 * net/newst-treeview.el (newsticker--treeview-window-init):
8849 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8850 * emulation/tpu-edt.el (tpu-gold-map):
8851 * emulation/crisp.el (crisp-mode-map):
8852 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8853
38bb2ca8
CY
88542011-10-29 Chong Yidong <cyd@gnu.org>
8855
aa4de341
CY
8856 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8857
e1eb5385
CY
8858 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8859
5d2ece3c
CY
8860 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8861 forged Ispell output (Bug#7904).
8862
38bb2ca8
CY
8863 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8864
d0af9f77
SM
88652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * doc-view.el: Avoid ugly errors about not finding nil.
8868 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8869 (doc-view-dvipdf-program, doc-view-unoconv-program)
8870 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8871 Avoid nil or absolute file name as default value.
8872 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8873
52bedd34
AM
88742011-10-28 Alan Mackenzie <acm@muc.de>
8875
db22a3c2 8876 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8877
7e43cfa5
AM
88782011-10-28 Alan Mackenzie <acm@muc.de>
8879
8880 Amend the handling of c-beginning/end-of-defun in nested declaration
8881 scopes.
8882
52bedd34
AM
8883 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8884 cc-langs.el. Change it to a defcustom.
7e43cfa5 8885
52bedd34
AM
8886 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8887 cc-vars.el.
7e43cfa5 8888
d0af9f77
SM
8889 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8890 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8891
52bedd34 8892 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8893 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8894 (c-widen-to-enclosing-decl-scope): New function.
8895 (c-while-widening-to-decl-block): New macro.
8896 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8897 outward for defun boundaries, and correspondingly change symbol
8898 `respect-enclosure' to `go-outward'.
8899 (c-declaration-limits): Change algorithm to report only the "innermost"
8900 defun's boundaries.
8901
1a2ce9ee
DD
89022011-10-28 Deniz Dogan <deniz@dogan.se>
8903
8904 * net/rcirc.el (rcirc-mode): Use hard newlines.
8905
bc97a826
AM
89062011-10-28 Alan Mackenzie <acm@muc.de>
8907
8908 Amend to indent and fontify macros "which include their own semicolon"
8909 correctly, using the "virtual semicolon" mechanism.
8910
52bedd34 8911 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8912
d0af9f77 8913 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8914 Recode to scan one line at a time rather than having \n and \r
58179cce 8915 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8916 (c-forward-label): Amend for virtual semicolons.
58179cce 8917 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8918
52bedd34
AM
8919 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8920 of the new C macros.
bc97a826 8921
52bedd34 8922 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8923 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8924 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8925 (c-opt-cpp-macro-define): Make into a full language variable.
8926 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8927 AWK Mode (including \n, \r) removed, no longer needed.
8928
d0af9f77
SM
8929 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8930 Invoke c-make-macro-with-semi-re.
bc97a826 8931
52bedd34
AM
8932 * progmodes/cc-vars.el (c-macro-with-semi-re):
8933 (c-macro-names-with-semicolon): New variables.
58179cce 8934 (c-make-macro-with-semi-re): New function.
bc97a826 8935
7a6c0941
SM
89362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 * vc/log-edit.el: Fill empty field rather than adding new one.
8939 (log-edit-add-field): New function.
8940 (log-edit-insert-changelog): Use it.
8941
b0c4cdcf
ML
89422011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8943
8944 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8945
ee1f1da9
SM
89462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8949 (gdb--check-interpreter): New function.
8950 (gdb): Use it.
8951
51bc5f8b
GM
89522011-10-27 Glenn Morris <rgm@gnu.org>
8953
416a2c45
GM
8954 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8955 (least-positive-float, least-negative-float)
8956 (least-positive-normalized-float, least-negative-normalized-float)
8957 (float-epsilon, float-negative-epsilon):
8958 Remove unnecessary declarations.
8959
8960 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8961 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8962 (least-positive-float, least-negative-float)
8963 (least-positive-normalized-float, least-negative-normalized-float)
8964 (float-epsilon, float-negative-epsilon): Add doc-strings,
8965 based on those in cl.texi.
8966
51bc5f8b
GM
8967 * files.el (set-visited-file-name): If the major-mode changed,
8968 reload the local variables. (Bug#9796)
8969
15de15c6
CY
89702011-10-27 Chong Yidong <cyd@gnu.org>
8971
8972 * subr.el (change-major-mode-after-body-hook): New hook.
8973 (run-mode-hooks): Run it.
8974
ee1f1da9
SM
8975 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8976 Use change-major-mode-before-body-hook.
15de15c6
CY
8977
8978 * simple.el (fundamental-mode):
8979 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8980 change introducing fundamental-mode-hook.
8981
5430d399
JB
89822011-10-26 Juanma Barranquero <lekktu@gmail.com>
8983
acc825c5 8984 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8985
ad74a69e
MA
89862011-10-26 Michael Albinus <michael.albinus@gmx.de>
8987
8988 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8989 tramp.el explicitly. (Bug#7583)
ad74a69e 8990
71d4c2a5
SM
89912011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * progmodes/octave-mod.el:
8994 * progmodes/octave-inf.el: Update maintainer.
8995
b1f6fa26
CY
89962011-10-26 Chong Yidong <cyd@gnu.org>
8997
8998 * subr.el (with-wrapper-hook): Rewrite doc.
8999
3f04efd6
MA
90002011-10-25 Michael Albinus <michael.albinus@gmx.de>
9001
9002 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9003 filenames "/method:foo:". (Bug#9793)
3f04efd6 9004
410488d3
SM
90052011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9008 (bug#9865).
9009
c1ebb47e
GM
90102011-10-24 Glenn Morris <rgm@gnu.org>
9011
9012 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9013
7f5c46c7
MA
90142011-10-24 Michael Albinus <michael.albinus@gmx.de>
9015
9016 * notifications.el: Add the requirement of a running D-Bus session
9017 bus to the Commentary.
9018
db2440b6
JL
90192011-10-24 Juri Linkov <juri@jurta.org>
9020
9021 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9022 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9023 (Bug#9364)
9024
feecf435
JL
90252011-10-24 Juri Linkov <juri@jurta.org>
9026
9027 * info.el (Info-following-node-name-re): Add newline to the list
9028 of allowed characters for leading space. (Bug#9824)
9029
a3839de2
SM
90302011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9031
acc825c5
SM
9032 * progmodes/octave-inf.el (inferior-octave-mode-map):
9033 Fix C-c C-h binding.
a3839de2
SM
9034 * progmodes/octave-mod.el (octave-help): Remove.
9035
09388e76
MA
90362011-10-23 Michael Albinus <michael.albinus@gmx.de>
9037
9038 Sync with Tramp 2.2.3.
9039
9040 * net/tramp-cache.el (top): Pacify byte-compiler using
9041 `init-file-user' and `site-run-file'.
9042
9043 * net/trampver.el: Update release number.
9044
86c60681
CY
90452011-10-23 Chong Yidong <cyd@gnu.org>
9046
9047 * files.el (toggle-read-only): Remove obsolete comment about
9048 version control.
9049
9050 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9051 for toggle-read-only. Note that this hasn't called vc-next-action
9052 since 2008-05-02, though it wasn't documented at the time.
9053
a3839de2
SM
9054 * vc/ediff-init.el (ediff-toggle-read-only-function):
9055 Use toggle-read-only.
86c60681 9056
cd5495ff
AM
90572011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9058
9059 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9060 of c-parse-state.
9061
00b77525 9062 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9063 correct faulty logical expression.
cd5495ff
AM
9064 (c-parse-state-state, c-record-parse-state-state):
9065 (c-replay-parse-state-state): New defvar/defuns.
9066 (c-debug-parse-state): Use new functions.
9067
42ee24ed
MR
90682011-10-22 Martin Rudalics <rudalics@gmx.at>
9069
9070 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9071 last fix. Use window-in-direction correctly.
42ee24ed 9072
a7dee7e7
CY
90732011-10-21 Chong Yidong <cyd@gnu.org>
9074
9075 * progmodes/idlwave.el (idlwave-mode):
9076 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9077 require-final-newline; that's done in prog-mode.
9078 Suggested by Stefan Monnier.
a7dee7e7 9079
e07b9a6d
MR
90802011-10-21 Martin Rudalics <rudalics@gmx.at>
9081
9082 * mouse.el (mouse-drag-window-above)
9083 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9084 (mouse-drag-mode-line-1, mouse-drag-header-line)
9085 (mouse-drag-vertical-line-rightward-window): Remove.
9086 (mouse-drag-line): New function.
9087 (mouse-drag-mode-line, mouse-drag-header-line)
9088 (mouse-drag-vertical-line): Call mouse-drag-line.
9089 * window.el (window-at-side-p, windows-at-side): New functions.
9090
7e1361d9
UM
90912011-10-21 Ulrich Mueller <ulm@gentoo.org>
9092
9093 * tar-mode.el (tar-grind-file-mode):
9094 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9095
30fcaf3a
CY
90962011-10-21 Chong Yidong <cyd@gnu.org>
9097
9098 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9099 * progmodes/vera-mode.el (vera-mode):
9100 Use mode-require-final-newline.
30fcaf3a 9101
516eddb0
GM
91022011-10-20 Glenn Morris <rgm@gnu.org>
9103
db22a3c2 9104 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9105
10d5f513
CS
91062011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9107
9108 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9109
ac6c8639
CY
91102011-10-20 Chong Yidong <cyd@gnu.org>
9111
9112 * emulation/cua-base.el (cua-mode):
9113 * mail/footnote.el (footnote-mode):
9114 * mail/mailabbrev.el (mail-abbrevs-mode):
9115 * net/xesam.el (xesam-minor-mode):
9116 * progmodes/bug-reference.el (bug-reference-mode):
9117 * progmodes/cap-words.el (capitalized-words-mode):
9118 * progmodes/compile.el (compilation-minor-mode)
9119 (compilation-shell-minor-mode):
9120 * progmodes/gud.el (gud-tooltip-mode):
9121 * progmodes/hideif.el (hide-ifdef-mode):
9122 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9123 * progmodes/subword.el (subword-mode):
9124 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9125 * progmodes/which-func.el (which-function-mode):
9126 * term/tvi970.el (tvi970-set-keypad-mode):
9127 * term/vt100.el (vt100-wide-mode):
9128 * textmodes/flyspell.el (flyspell-mode):
9129 * textmodes/ispell.el (ispell-minor-mode):
9130 * textmodes/nroff-mode.el (nroff-electric-mode):
9131 * textmodes/paragraphs.el (use-hard-newlines):
9132 * textmodes/refill.el (refill-mode):
9133 * textmodes/reftex.el (reftex-mode):
9134 * textmodes/rst.el (rst-minor-mode):
9135 * textmodes/sgml-mode.el (html-autoview-mode)
9136 (sgml-electric-tag-pair-mode):
9137 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9138 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9139 * emulation/crisp.el (crisp-mode):
9140 * emacs-lisp/eldoc.el (eldoc-mode):
9141 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9142 minor mode behavior.
9143
aa42ab43
JL
91442011-10-19 Juri Linkov <juri@jurta.org>
9145
9146 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9147 the list of hard-coded chars with escape-glyph face.
9148
89400f1d
SM
91492011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9150
9151 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9152
305c07f6
MA
91532011-10-19 Michael Albinus <michael.albinus@gmx.de>
9154
9155 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9156 running process.
9157
13754b54
GM
91582011-10-19 Glenn Morris <rgm@gnu.org>
9159
9160 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9161 Ignore ignored files. (Bug#9726)
9162
06e21633
CY
91632011-10-19 Chong Yidong <cyd@gnu.org>
9164
9165 Doc fix for minor modes, stating that an omitted argument enables
9166 the mode unconditionally when called from Lisp.
9167
9168 * abbrev.el (abbrev-mode):
9169 * allout.el (allout-mode):
9170 * autoinsert.el (auto-insert-mode):
9171 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9172 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9173 (global-auto-revert-mode):
9174 * battery.el (display-battery-mode):
9175 * composite.el (global-auto-composition-mode)
9176 (auto-composition-mode):
9177 * delsel.el (delete-selection-mode):
9178 * desktop.el (desktop-save-mode):
9179 * dired-x.el (dired-omit-mode):
9180 * dirtrack.el (dirtrack-mode):
9181 * doc-view.el (doc-view-minor-mode):
9182 * double.el (double-mode):
9183 * electric.el (electric-indent-mode, electric-pair-mode):
9184 * emacs-lock.el (emacs-lock-mode):
9185 * epa-hook.el (auto-encryption-mode):
9186 * follow.el (follow-mode):
9187 * font-core.el (font-lock-mode):
9188 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9189 * help.el (temp-buffer-resize-mode):
9190 * hilit-chg.el (highlight-changes-mode)
9191 (highlight-changes-visible-mode):
9192 * hi-lock.el (hi-lock-mode):
9193 * hl-line.el (hl-line-mode, global-hl-line-mode):
9194 * icomplete.el (icomplete-mode):
9195 * ido.el (ido-everywhere):
9196 * image-file.el (auto-image-file-mode):
9197 * image-mode.el (image-minor-mode):
9198 * iswitchb.el (iswitchb-mode):
9199 * jka-cmpr-hook.el (auto-compression-mode):
9200 * linum.el (linum-mode):
9201 * longlines.el (longlines-mode):
9202 * master.el (master-mode):
9203 * mb-depth.el (minibuffer-depth-indicate-mode):
9204 * menu-bar.el (menu-bar-mode):
9205 * minibuf-eldef.el (minibuffer-electric-default-mode):
9206 * mouse-sel.el (mouse-sel-mode):
9207 * msb.el (msb-mode):
9208 * mwheel.el (mouse-wheel-mode):
9209 * outline.el (outline-minor-mode):
9210 * paren.el (show-paren-mode):
9211 * recentf.el (recentf-mode):
9212 * reveal.el (reveal-mode, global-reveal-mode):
9213 * rfn-eshadow.el (file-name-shadow-mode):
9214 * ruler-mode.el (ruler-mode):
9215 * savehist.el (savehist-mode):
9216 * scroll-all.el (scroll-all-mode):
9217 * scroll-bar.el (scroll-bar-mode):
9218 * server.el (server-mode):
9219 * shell.el (shell-dirtrack-mode):
9220 * simple.el (auto-fill-mode, transient-mark-mode)
9221 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9222 (line-number-mode, column-number-mode, size-indication-mode)
9223 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9224 * strokes.el (strokes-mode):
9225 * time.el (display-time-mode):
9226 * t-mouse.el (gpm-mouse-mode):
9227 * tool-bar.el (tool-bar-mode):
9228 * tooltip.el (tooltip-mode):
9229 * type-break.el (type-break-mode-line-message-mode)
9230 (type-break-query-mode):
9231 * view.el (view-mode):
9232 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9233 (global-whitespace-mode, global-whitespace-newline-mode):
9234 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9235
a3839de2
SM
9236 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9237 Fix autogenerated docstring.
06e21633 9238
5214e501
JL
92392011-10-19 Juri Linkov <juri@jurta.org>
9240
9241 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9242 by checking environment variables "DESKTOP_SESSION" and
9243 "XDG_CURRENT_DESKTOP". (Bug#9779)
9244
195f8db9
JL
92452011-10-19 Juri Linkov <juri@jurta.org>
9246
9247 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9248 (browse-url-chromium-program, browse-url-chromium-arguments):
9249 New defcustoms.
9250 (browse-url-default-browser): Check for `browse-url-chromium' and
9251 call `browse-url-chromium-program'.
9252 (browse-url-chromium): New command. (Bug#9779)
9253
343a34ff
JB
92542011-10-18 Juanma Barranquero <lekktu@gmail.com>
9255
9256 * facemenu.el (list-colors-duplicates): On Windows, detect more
9257 duplicates by assuming that only colors matching "^System" are
9258 special "system colors". (Bug#9722)
9259
6978a151
SM
92602011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9263 to distinguish the author from the committer.
9264
6a80b297
MA
92652011-10-18 Michael Albinus <michael.albinus@gmx.de>
9266
9267 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9268
b31a5677
JK
92692011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9270
9271 * international/mule.el (sgml-html-meta-auto-coding-function):
9272 Add support for detecting encoding in HTML5 specified only as
9273 <meta charset="UTF-8">. Implementation just makes http-equiv and
9274 content-type parts from HTML4 encoding string optional. (Bug#9716)
9275
80c6d77f
GM
92762011-10-18 Glenn Morris <rgm@gnu.org>
9277
9278 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9279
08b0fee8
CY
92802011-10-18 Chong Yidong <cyd@gnu.org>
9281
9282 * faces.el (cursor): Doc fix.
9283
67e729a5
CY
92842011-10-17 Chong Yidong <cyd@gnu.org>
9285
9286 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9287
343a34ff 92882011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9289
9290 * dirtrack.el (dirtrack): Support shell buffers with path
9291 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9292
0bc06380
TZ
92932011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9294
9295 * json.el: Bump version to 1.3 and note change in History.
9296 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9297
8b79f3e0
SM
92982011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9299
5a7c536b
SM
9300 * comint.el (comint-insert-input, comint-send-input)
9301 (comint-get-old-input-default, comint-backward-matching-input)
9302 (comint-next-prompt): Use nil instead of `input' for field property of
9303 past user input (bug#114).
9304
96a8a0df
SM
9305 * minibuffer.el (completion--replace): Inherit surrounding properties
9306 (bug#114).
9307 (minibuffer-complete-and-exit): Use it.
9308
8b79f3e0
SM
9309 * comint.el (comint--table-subvert): Quote the all-completions output
9310 (bug#9160).
9311
b8f7ff0d
MR
93122011-10-17 Martin Rudalics <rudalics@gmx.at>
9313
8b79f3e0 9314 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9315
b8f7ff0d 9316 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9317 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9318 entries and separate them from frame entries.
9319
c235b555
GM
93202011-10-15 Glenn Morris <rgm@gnu.org>
9321
9322 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9323 Doc fixes.
9324
6bbfa6e1
CY
93252011-10-15 Chong Yidong <cyd@stupidchicken.com>
9326
8b79f3e0
SM
9327 * net/network-stream.el (network-stream-open-starttls):
9328 Improve detection of failure due to lack of TLS support.
ec5c990d 9329
6bbfa6e1
CY
9330 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9331 putting the input text in front and in bold.
9332
98488977
SM
93332011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9334
3d1337be
SM
9335 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9336
ee0b45e4
SM
9337 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9338 empty buffer.
9339
98488977
SM
9340 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9341 unread-command-events rather than pushing yet-another event.
9342
186f4720
EZ
93432011-10-14 Eli Zaretskii <eliz@gnu.org>
9344
9345 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9346 the explanation of the possible choices. Make the options passed
9347 to completing-read shorter.
9348
8b7a997c
AM
93492011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9350
9351 * textmodes/flyspell.el (flyspell-large-region): Make sure
9352 extended character mode is used if defined (Bug#1339).
9353
12587bbb
EZ
93542011-10-13 Eli Zaretskii <eliz@gnu.org>
9355
9356 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9357 character info for LRE, LRO, RLE, and RLO characters by appending
9358 an invisible PDF.
12587bbb 9359
bad41229
SM
93602011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9363 even in case of error; add debug spec; simplify data flow.
9364 (with-timeout-handler): Remove.
9365
28dbc92f
MA
93662011-10-12 Michael Albinus <michael.albinus@gmx.de>
9367
9368 Fix Bug#6019, Bug#9315.
9369
9370 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9371 complete `buffer-file-name', the local file name part could look
9372 remotely (for example on VMS).
9373
9374 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9375 `tramp-run-real-handler'.
9376 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9377 already quoted by '"'.
9378
9379 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9380 Let `file-name-handler-alist' be nil, the local file name part
9381 could look remotely (for example on VMS).
9382
e1b0b23a
SM
93832011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9386 from here...
9387 (flyspell-post-command-hook): ...to here.
9388
a120bde9
SM
93892011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9392 if not needed.
9393 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9394 using completion. Protect against "slow" callers.
9395 Remove the "message hack".
9396
7ce7717b
JL
93972011-10-11 Juri Linkov <juri@jurta.org>
9398
9399 * isearch.el (isearch-lazy-highlight-word): New variable.
9400 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9401 Use it. (Bug#9727)
9402
c02ee9d6
GM
94032011-10-11 Glenn Morris <rgm@gnu.org>
9404
9405 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9406 like f90-previous-statement does.
9407
93e616fd 94082011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9409
1f190e73 9410 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9411 only in interactive use, to avoid error.
9412
af7b6078
SM
94132011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * minibuffer.el (completion-file-name-table): Fix last change,
9416 i.e. ignore normal errors but not the other ones.
9417
0563dae9
MR
94182011-10-10 Martin Rudalics <rudalics@gmx.at>
9419
9420 * window.el (special-display-buffer-names)
9421 (special-display-regexps): Remove some remnants of earlier
9422 changes from doc-strings.
366ca7f3
MR
9423 (quit-windows-on): New function.
9424
9425 * vc/vc.el (vc-revert, vc-rollback):
9426 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9427 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9428 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9429
49677495
MR
94302011-10-09 Martin Rudalics <rudalics@gmx.at>
9431
9432 * window.el (frame-auto-hide-function): Add version tag.
9433 (Bug#9699)
9434
56f2d1e1
MA
94352011-10-09 Michael Albinus <michael.albinus@gmx.de>
9436
9437 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9438 condition.
9439
112a6592
LL
94402011-10-09 Leo Liu <sdl.web@gmail.com>
9441
9442 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9443 (Bug#9701)
9444
0812589b
GM
94452011-10-08 Glenn Morris <rgm@gnu.org>
9446
9447 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9448 before the first code statement zero indent. (Bug#9690)
9449
b2b0776e
CY
94502011-10-08 Chong Yidong <cyd@stupidchicken.com>
9451
9452 * simple.el (count-words-region): Always count in the region.
9453 Report the number of lines and characters too.
9454 (count-words): New command, which counts in the buffer if the
9455 region is inactive, as count-words-region used to.
9456 (count-words--message): New function. Handle plurals.
9457 (count-lines-region): Make it an alias for count-words-region.
9458
9459 * bindings.el (esc-map): Replace count-lines-region with
9460 count-words-region.
9461
c557cd6b
MR
94622011-10-08 Martin Rudalics <rudalics@gmx.at>
9463
9464 * window.el (window--delete): Delete dedicated frame
9465 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9466 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9467
61a57ef4 94682011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9469
3a7d293b 9470 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9471
c3833279
CY
94722011-10-07 Chong Yidong <cyd@stupidchicken.com>
9473
9474 * bindings.el ([M-left],[M-right]): Bind to left-word and
9475 right-word respectively.
9476
21ce8245
GM
94772011-10-07 Glenn Morris <rgm@gnu.org>
9478
9479 * cus-start.el (debug-on-quit): Fix custom type.
9480
6d823bb2
LMI
94812011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9482
0181e193
LMI
9483 * subr.el (define-key-after): Clarify that the function is not
9484 useful for non-menu keymaps.
9485
6d823bb2
LMI
9486 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9487
8e3459ce 94882011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9489
21ce8245 9490 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9491 in current minibuffer (Fix bug with recursive minibuffers).
9492
a1c2d21e
CY
94932011-10-06 Chong Yidong <cyd@stupidchicken.com>
9494
9495 * progmodes/gdb-mi.el (gdb): Doc fix.
9496
5a4cf282
MR
94972011-10-05 Martin Rudalics <rudalics@gmx.at>
9498
9499 * window.el (frame-auto-hide-function): New option replacing
9500 frame-auto-delete. Suggested by Stefan Monnier.
9501 (window--delete): Call frame-auto-hide-function instead of
9502 investigating frame-auto-delete.
c96111ea
MR
9503 (window-point-1, set-window-point-1): New functions.
9504 (window-in-direction, record-window-buffer, window-state-get-1)
9505 (display-buffer-record-window): Use window-point-1 instead of
9506 window-point.
9507 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9508
9854542e
SM
95092011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9512
8943cfb0
GM
95132011-10-05 Glenn Morris <rgm@gnu.org>
9514
9515 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9516 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9517
647ab967
LL
95182011-10-05 Leo Liu <sdl.web@gmail.com>
9519
9520 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9521 works with buffer object.
9522
3ddfbced
SM
95232011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9524
9525 * mpc.el (mpc-tool-bar-map): Add labels.
9526
bdfa5dd2
GM
95272011-10-04 Glenn Morris <rgm@gnu.org>
9528
9529 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9530
0e2070b5
MR
95312011-10-04 Martin Rudalics <rudalics@gmx.at>
9532
9533 * window.el (window--delete): New function.
9534 (frame-auto-delete): Resuscitate option.
9535 (bury-buffer, replace-buffer-in-windows)
9536 (quit-window): Rewrite using window--delete.
9537 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9538 Pass display-buffer-mark-dedicated to window--display-buffer-2
9539 (Bug#9639).
9540
3dc61a09
SM
95412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9542
915a9b64
SM
9543 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9544 returns a list (bug#9554). Add remote file name completion.
9545 * comint.el (comint--table-subvert): Curry and get quote&unquote
9546 functions as arguments.
9547 (comint--complete-file-name-data): Adjust call accordingly.
9548 * pcomplete.el (pcomplete--table-subvert): Remove.
9549 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9550
3dc61a09
SM
9551 * minibuffer.el (completion-table-case-fold): Use currying.
9552 (completion--styles-type, completion--cycling-threshold-type):
9553 New constants.
9554 (completion-styles, completion-category-overrides)
9555 (completion-cycle-threshold): Use them.
9556 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9557 completion-table-case-fold.
9558
8ea0a993
SB
95592011-10-03 Stephen Berman <stephen.berman@gmx.net>
9560
9561 * minibuffer.el (completion-category-overrides): Fix type of styles
9562 and add more user friendly tags (bug#9660).
9563
8c24b7f6
SM
95642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9567 (mule-input-method-string): New widget.
9568 (default-input-method, language-info-custom-alist): Use it.
9569
428fe61a
SM
95702011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9571
32c1fffd
SM
9572 * pcomplete.el: Require comint.
9573 (pcomplete--common-suffix): Remove.
9574 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9575 (pcomplete--table-subvert): Sync with comint--table-subvert.
9576 (pcomplete--entries): Use comint-completion-file-name-table.
9577 * comint.el (comint-unquote-filename): Simplify.
9578 (comint-completion-file-name-table): New function (bug#9616).
9579 (comint--complete-file-name-data): Use it.
9580
428fe61a
SM
9581 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9582 (pcmpl-gnu-tar-buffer): Remove.
9583 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9584 around. Make sure pcomplete-suffix-list is only changed temporarily.
9585 Don't look inside the tar's file if it's too large.
428fe61a 9586
04c52e2f
CY
95872011-10-01 Chong Yidong <cyd@stupidchicken.com>
9588
ce3cefcc
CY
9589 * cus-edit.el (custom-mode-map):
9590 * epa.el (epa-key-list-mode-map):
9591 * man.el (Man-mode-map):
9592 * startup.el (splash-screen-keymap):
9593 * simple.el (special-mode-map): Use scroll-up-command and
9594 scroll-down-command.
9595
9596 * progmodes/idlw-help.el (idlwave-help-mode-map):
9597 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9598 * net/newst-plainview.el (newsticker-mode-map):
9599 * emulation/ws-mode.el (wordstar-mode-map):
9600 * emulation/vi.el (vi-com-map):
9601 * calc/calc-graph.el (calc-graph-show-dumb):
9602 * term/sun.el (terminal-init-sun):
9603 * term/ns-win.el (global-map):
9604 * progmodes/grep.el (grep-mode-map):
9605 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9606 * mail/rmail.el (rmail-mode-map):
9607 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9608
04c52e2f
CY
9609 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9610 custom-safe-themes as special.
9611
79adf8c8
JD
96122011-10-01 Julien Danjou <julien@danjou.info>
9613
9614 * notifications.el (notifications-notify): Fix docstring.
9615
63bd50d3
PS
96162011-10-01 Per Starbäck <per@starback.se>
9617
9618 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9619
199e4c7e
MR
96202011-09-30 Martin Rudalics <rudalics@gmx.at>
9621
9622 * startup.el (command-line-1): Fix last fix by inserting
9623 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9624 (Bug#9605) and (Bug#9636)
199e4c7e 9625
fe5f08dd
EZ
96262011-09-29 Eli Zaretskii <eliz@gnu.org>
9627
9628 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9629 window is hscrolled, move by logical lines. (Bug#9607)
9630 (line-move-visual): Update the doc string to the above effect.
9631
b5516bbd
MR
96322011-09-29 Martin Rudalics <rudalics@gmx.at>
9633
ccee00c0
MR
9634 * window.el (display-buffer-record-window): When WINDOW is the
9635 selected window use `point' instead of `window-point'. (Bug#9626)
9636
b5516bbd
MR
9637 * startup.el (command-line-1): Use insert-before-markers when
9638 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9639
b5516bbd
MR
9640 * help.el (help-window): Remove variable.
9641
52aa0014
GM
96422011-09-29 Glenn Morris <rgm@gnu.org>
9643
9644 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9645
df9a7357
JB
96462011-09-29 Juanma Barranquero <lekktu@gmail.com>
9647
9648 * descr-text.el (describe-char-categories): Accept category
9649 descriptions more than one line long.
9650
a8406c20
SM
96512011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9652
88d9610c
SM
9653 * simple.el (delete-trailing-whitespace): Fix last change.
9654
a5daf810
SM
9655 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9656 Don't confuse "y => 3" as the beginning of a `y' operation.
9657
a8406c20
SM
9658 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9659 object has more than 4 slots (bug#9613).
9660
a239d4e9
JB
96612011-09-28 Juanma Barranquero <lekktu@gmail.com>
9662
9663 * subr.el (with-output-to-temp-buffer):
9664 * net/quickurl.el (quickurl, quickurl-browse-url):
9665 Fix typos in docstrings.
9666
693fbdb6
EZ
96672011-09-27 Eli Zaretskii <eliz@gnu.org>
9668
9669 * minibuffer.el (completion-styles)
9670 (completion-category-overrides): Cross reference each other in doc
9671 strings.
9672
8b457e28
GM
96732011-09-27 Glenn Morris <rgm@gnu.org>
9674
9675 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9676 to split-string. (Bug#9606)
9677
85a16208
LMI
96782011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9679
9680 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9681 (bug#9615).
9682
502f9ebd
CY
96832011-09-27 Chong Yidong <cyd@stupidchicken.com>
9684
9685 * emacs-lisp/package.el (list-packages): Fix echo area message.
9686
7690bdea
LL
96872011-09-27 Leo Liu <sdl.web@gmail.com>
9688
9689 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9690
e2ee6f30
MA
96912011-09-25 Michael Albinus <michael.albinus@gmx.de>
9692
9693 * net/dbus.el (dbus-unregister-object): Don't release services for
9694 registered signals. (Bug#9581)
9695
f3f98342
TZ
96962011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9697
9698 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9699 function that picks between cfengine 2 and 3 support
9700 automatically. Update docs accordingly.
9701
dd7aa8dd
KH
97022011-09-22 Kenichi Handa <handa@m17n.org>
9703
9704 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9705 ZERO.
9706 (indian-itrans-v5-table-for-tamil): New variable.
9707 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9708
3f2b07f8
KM
97092011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9710
9711 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9712 that's true if the current command involved collapsing of text.
9713 It's reset to false at the beginning of the next command.
9714 (allout-post-command-business): Move the cursor to the beginning
9715 of entry if the cursor is hidden and collapsing activity just
9716 happened.
9717
371d6a61
CY
97182011-09-24 Chong Yidong <cyd@stupidchicken.com>
9719
9720 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9721 tracking (Bug#9541).
9722
2ac2721a
UJ
97232011-09-24 Ulf Jasper <ulf.jasper@web.de>
9724
9725 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9726 (newsticker-show-news): Automatically load html rendering package
9727 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9728 because w3m-fill-column is let-bound" and the error "Symbol's value
9729 as variable is void: w3m-fill-column".
2ac2721a 9730
fac7ae53
MA
97312011-09-24 Michael Albinus <michael.albinus@gmx.de>
9732
9733 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9734 Release services only if they are defined. (Bug#9581)
9735
e08b633b
RS
97362011-09-23 Richard Stallman <rms@gnu.org>
9737
e488d29c
RS
9738 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9739 distinguish start of paragraph from start of its text.
9740
19c38752
RS
9741 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9742
e08b633b
RS
9743 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9744 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9745 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9746
0a39f27e
AS
97472011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9748
9749 * international/mule-diag.el (mule-diag): Insert a newline after
9750 each fontset description.
9751
db4e950d
SM
97522011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * simple.el (delete-trailing-whitespace):
9755 Document last change; simplify.
9756
eca3f3ea
PW
97572011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9758
d68e189a
PW
9759 * simple.el (delete-trailing-whitespace): Also delete
9760 extra newlines at the end of the buffer.
9761
eca3f3ea
PW
9762 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9763 (picture-newline): Use forward-line so as to ignore fields.
9764
01c157cc
SM
97652011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * subr.el (with-wrapper-hook): Fix edebug spec.
9768
022de23e
LMI
97692011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9770
9771 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9772 (bug#4538).
9773
91683089
MA
97742011-09-23 Michael Albinus <michael.albinus@gmx.de>
9775
eca3f3ea
PW
9776 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9777 Fix nasty bug using wrong cached values.
91683089 9778
5bdd6fa4
AM
97792011-09-23 Alan Mackenzie <acm@muc.de>
9780
9781 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9782
97adfb97
CY
97832011-09-23 Chong Yidong <cyd@stupidchicken.com>
9784
9785 * window.el (pop-to-buffer): Ensure right window is selected if we
9786 chose another frame.
9787
d4ef2b50
EZ
97882011-09-22 Eli Zaretskii <eliz@gnu.org>
9789
9790 * simple.el (what-cursor-position): Use get-char-property-change
9791 and next-single-char-property-change, to be able to show display
9792 properties that come from overlays as well as text properties.
9793
72258fe5
CY
97942011-09-22 Chong Yidong <cyd@stupidchicken.com>
9795
9796 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9797
9798 * cmuscheme.el (run-scheme, switch-to-scheme):
9799 * cus-edit.el (customize-group, custom-buffer-create)
9800 (customize-browse):
9801 * info.el (info):
9802 * shell.el (shell):
9803 * mail/sendmail.el (mail):
9804 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9805
8f098516
RS
98062011-09-22 Richard Stallman <rms@gnu.org>
9807
9808 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9809 move back only to line beg, don't move back over blank lines.
9810
e74f1bb6
MA
98112011-09-22 Michael Albinus <michael.albinus@gmx.de>
9812
9813 * files.el (copy-directory): Set directory attributes only in case
9814 they could be retrieved from the source directory. (Bug#9565)
9815
bfeef8b6
DK
98162011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9817
9818 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9819 (hs-find-block-beginning, hs-hide-level-recursive):
9820 Ignore strings as well as comments. (Bug#9502)
9821
7e423bb8
AS
98222011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9823
9824 * progmodes/sql.el (sql-comint-postgres):
9825 Convert port number to a string. (Bug#9566)
9826
b4d72fcf
MR
98272011-09-22 Martin Rudalics <rudalics@gmx.at>
9828
9829 * window.el (quit-window): Undedicate window when switching to
9830 previous buffer. Reported by Thierry Volpiatto
9831 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9832 (special-display-popup-frame): When popping up a new frame reset
9833 its previous buffers to nil. Simplify code.
b4d72fcf 9834
a7b88dc6
MA
98352011-09-21 Michael Albinus <michael.albinus@gmx.de>
9836
9837 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9838 and process filter, as done also in `shell-command'.
9839
cf4eacfd
MR
98402011-09-21 Martin Rudalics <rudalics@gmx.at>
9841
eca3f3ea 9842 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9843 Call set-window-start with NOFORCE argument t.
9844 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9845 (quit-window): Reword doc-string. Handle new format of
9846 quit-restore parameter. Don't delete window if it has a
9847 previous buffer we can show instead of the present one.
9848 (display-buffer-record-window): Rewrite using a new format for
9849 the quit-restore window parameter
9850 (special-display-popup-frame, display-buffer-same-window)
9851 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9852 (display-buffer-pop-up-window, display-buffer-use-some-window):
9853 Adapt symbol passed to display-buffer-record-window.
9854 * help.el (help-window-setup): Handle new format of quit-restore
9855 parameter.
9856
8d28cb95
SM
98572011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9858
94ab793f
SM
9859 * faces.el (face-list): Fix docstring (bug#9564).
9860
8d28cb95
SM
9861 * window.el (display-buffer--action-function-custom-type):
9862 Don't include internal functions in the Custom interface.
9863
3820edeb
JL
98642011-09-20 Juri Linkov <juri@jurta.org>
9865
9866 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9867 (Info-forward-node, Info-backward-node, Info-next-preorder)
9868 (Info-last-preorder): Use it. (Bug#9528)
9869
5147931d
JL
98702011-09-20 Juri Linkov <juri@jurta.org>
9871
9872 * info.el (Info-last-preorder): Visit last menu item only when
9873 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9874
cf499a1a
JD
98752011-09-20 Julien Danjou <julien@danjou.info>
9876
9877 * password-cache.el (password-cache-remove): Remove entries even if the
9878 value is nil, so that password with a nil value (negative caching) is
9879 possible to invalidate.
9880
f84e2fe2
LM
98812011-09-20 Lawrence Mitchell <wence@gmx.li>
9882
9883 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9884 all whitespace around breakpoint. (Bug#9553)
9885 (f90-find-breakpoint): Only break at whitespace inside a comment.
9886
78054a46
SM
98872011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9888
9889 * minibuffer.el (completion-file-name-table): Keep track of errors.
9890 (completion-table-with-predicate): Handle the case where pred1 is nil.
9891 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9892
345083b2
SM
98932011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9894
e24e27be
SM
9895 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9896 (debugger-return-value): Signal an error if the debugging context does
9897 not await any return value.
9898
345083b2
SM
9899 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9900 * image-mode.el (image-toggle-display-text)
9901 (image-toggle-display-image): Stay away from evil `intangible'.
9902
08d355e3
LL
99032011-09-19 Leo Liu <sdl.web@gmail.com>
9904
9905 * replace.el (occur-revert-arguments): Make it permanent-local.
9906 (occur-mode): Don't call font-lock-defontify.
9907
f01da43f
CY
99082011-09-19 Chong Yidong <cyd@stupidchicken.com>
9909
9910 * net/ldap.el (ldap-search-internal): Don't push empty search
9911 result (Bug#9508).
9912
b6072fa6
SM
99132011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9916
443d6696
MA
99172011-09-19 Michael Albinus <michael.albinus@gmx.de>
9918
9919 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9920 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9921
7cc6e154
JL
99222011-09-18 Juri Linkov <juri@jurta.org>
9923
9924 * buff-menu.el (Buffer-menu-mode-map):
9925 * dired.el (dired-mode-map):
9926 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9927 (lisp-interaction-mode-map):
9928 * emacs-lisp/package.el (package-menu-mode-map):
9929 * epa.el (epa-key-list-mode-map):
9930 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9931 (menu-bar-options-menu):
9932 * outline.el (outline-mode-menu-bar-map):
9933 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9934 * vc/vc-dir.el (vc-dir-menu-map):
9935 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9936 Capitalize non-function content words in menu item strings.
9937
9938 * dired.el (dired-mode-map): Add menu item for
9939 `image-dired-dired-toggle-marked-thumbs'.
9940
80302a81
JL
99412011-09-18 Juri Linkov <juri@jurta.org>
9942
9943 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9944 to `isearch-case-fold-search' and restore its original value
9945 after the `isearch-mode' call.
9946
46c5cf66
JL
99472011-09-18 Juri Linkov <juri@jurta.org>
9948
9949 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9950 because `zgrep' returns 1 for successful matches (bug#9226).
9951
d18b513b
JL
99522011-09-18 Juri Linkov <juri@jurta.org>
9953
9954 * info.el (Info-extract-menu-node-name): Check the second match
9955 for empty string (second test-case of bug#9528).
9956 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9957 intermediate nodes to the history (first test-case of bug#9528).
9958
72753f87
JL
99592011-09-18 Juri Linkov <juri@jurta.org>
9960
9961 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9962 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9963
c9384295
JL
99642011-09-18 Juri Linkov <juri@jurta.org>
9965
1154d12e
JB
9966 * info.el (Info-file-supports-index-cookies):
9967 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9968 outputs one more line for long file names (bug#4142).
c9384295 9969
d473dce8
CY
99702011-09-18 Chong Yidong <cyd@stupidchicken.com>
9971
9972 * newcomment.el (comment-normalize-vars): If prompting for
9973 comment-start, set comment-start-skip too (Bug#8424).
9974
2176854d
JB
99752011-09-18 Johan Bockgård <bojohan@gnu.org>
9976
9977 * icomplete.el: Fix previous fix of Bug#5849.
9978 (icomplete-mode): Don't set completion-show-inline-help.
9979 (icomplete-minibuffer-setup): Set completion-show-inline-help
9980 locally during icompletion.
9981
3aace4e4
CY
99822011-09-18 Chong Yidong <cyd@stupidchicken.com>
9983
c940224f
CY
9984 * woman.el (woman2-process-escapes): Don't delete unrecognized
9985 escapes (Bug#7843).
9986
3aace4e4
CY
9987 * files.el (inhibit-first-line-modes-regexps): Add image files.
9988 (hack-local-variables-prop-line): Return nil for malformed
9989 prop-lines (Bug#9044).
9990
710dec63
MA
99912011-09-18 Michael Albinus <michael.albinus@gmx.de>
9992
9993 * net/tramp.el (top): Don't require 'shell.
9994 (tramp-methods): Fix docstring.
9995 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9996 Return complete remote file name. Handle "smb" case.
9997 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9998 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9999
10000 * net/tramp-compat.el (top): Require 'shell.
10001
10002 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10003 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10004 `tramp-current-host'.
10005 (tramp-get-remote-tmpdir): Remove.
10006
10007 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10008 `tramp-tmpdir' entries.
10009 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10010 (tramp-smb-handle-file-attributes): Ignore errors.
10011 (tramp-smb-wait-for-output): Check also for process end.
10012
5d5ac8ec
LMI
100132011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10014
10015 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10016 when sending QUIT (bug#9312).
10017
8c0f49f0
CY
100182011-09-17 Chong Yidong <cyd@stupidchicken.com>
10019
10020 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10021 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10022 occur-mode-display-occurrence.
10023 (occur-edit-mode): Add usage message.
10024 (occur-cease-edit): New command.
10025 (occur-after-change-function): Use text properties to find the
10026 position of the prefix text.
10027 (occur-engine): Set stickiness of prefix text properties.
10028
8f1383f7
GM
100292011-09-17 Glenn Morris <rgm@gnu.org>
10030
10031 * progmodes/etags.el (complete-tag):
10032 Fix call to completion-in-region. (Bug#9526)
10033
744ba0e3
JL
100342011-09-17 Juri Linkov <juri@jurta.org>
10035
10036 * textmodes/ispell.el (ispell-word): Add to the error message
10037 the word, ispell program name and current dictionary (bug#9121).
10038 (ispell-tex-arg-end): Capitalize "error" in the error message.
10039
d9bbf400
AS
100402011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10041
10042 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10043 check. (Bug#4251)
10044
8da11505
JL
100452011-09-17 Juri Linkov <juri@jurta.org>
10046
10047 * window.el (window-safe-min-height, window-safe-min-width):
10048 Fix typos (followup to bug#9522).
10049
a91adc7e
SJ
100502011-09-17 Sven Joachim <svenjoac@gmx.de>
10051
10052 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10053
064f328a
EZ
100542011-09-16 Eli Zaretskii <eliz@gnu.org>
10055
10056 * simple.el (line-move): If goal-column is set, move by logical
10057 lines, not by display lines. (Bug#971)
10058 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10059 to reflect the above change.
10060
e69df516
SM
100612011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * image.el (imagemagick-register-types): Use regexp-opt.
10064
cbb0f9ab
CY
100652011-09-15 Chong Yidong <cyd@stupidchicken.com>
10066
10067 * window.el (display-buffer-base-action): Rename from
10068 display-buffer-default-action. Make default value empty.
10069 (display-buffer-overriding-action): Convert to defvar.
10070 (display-buffer-fallback-action): New var.
10071
25322144
CY
100722011-09-15 Chong Yidong <cyd@stupidchicken.com>
10073
10074 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10075 declaration.
10076 (package--add-to-archive-contents): If there is a duplicate entry
10077 with an older version, remove it.
10078 (package-menu-mark-delete, package-menu-mark-install)
10079 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10080 (package-menu-mark-obsolete-for-deletion):
10081 Use package-menu-get-status instead of a regexp search.
25322144
CY
10082 (package-menu-get-status): Use tabulated-list-entry.
10083 (package-menu-mark-upgrades): New command.
d770725a 10084 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10085 (package-menu-execute): Do installation before deletion.
10086 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10087 instead of checking major-mode.
10088 (package-menu--find-upgrades): New function.
10089
7520339c
LMI
100902011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10091
10092 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10093 passwords in the log buffer.
65a046c4
LMI
10094 (smtpmail-process-filter): Update the process marker so that the
10095 "broken by peer" status message is inserted in the right place.
7520339c 10096
d3c30954
SM
100972011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10098
3fe48822
SM
10099 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10100 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10101 bibtex-completion-at-point-function.
10102 (bibtex-completion-at-point-function): Use them.
10103
1b8b3954
SM
10104 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10105
d3c30954
SM
10106 * mpc.el (mpc-constraints-tag-lookup): New function.
10107 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10108 also to browser "album|playlist".
10109
72779976
JL
101102011-09-14 Juri Linkov <juri@jurta.org>
10111
10112 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10113 (isearch-edit-string): Use length of `isearch-string' when
10114 `isearch-fail-pos' returns nil.
10115 (isearch-message): Remove duplicate code and call
10116 `isearch-fail-pos' with arg `t'.
10117
a0bf2bcd
CY
101182011-09-14 Chong Yidong <cyd@stupidchicken.com>
10119
17bb0a2d
CY
10120 * replace.el (occur-mode-goto-occurrence): Don't force using other
10121 window (Bug#9499).
10122
a0bf2bcd
CY
10123 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10124
f678e0b6
MR
101252011-09-14 Martin Rudalics <rudalics@gmx.at>
10126
10127 * window.el (display-buffer-window): Remove.
10128 (display-buffer-record-window): Use help-setup window parameter
10129 instead of variable display-buffer-window.
10130 (display-buffer-function, special-display-buffer-names)
10131 (special-display-function): Mention help-setup parameter instead
10132 of display-buffer-window in doc-string.
d3c30954
SM
10133 * help.el (help-window-setup): New argument help-window.
10134 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10135 Reword some messages.
10136 (with-help-window): Pass window used for displaying the buffer
10137 to help-window-setup. Don't set display-buffer-window.
10138
8e39b2e8
GM
101392011-09-13 Glenn Morris <rgm@gnu.org>
10140
10141 * emacs-lisp/debug.el (debugger-make-xrefs):
10142 Preserve point. (Bug#9462)
10143
85e9c04b
CY
101442011-09-13 Chong Yidong <cyd@stupidchicken.com>
10145
10146 * window.el (window-deletable-p): Use next-frame.
10147
1b36ed6a
MR
101482011-09-13 Martin Rudalics <rudalics@gmx.at>
10149
10150 * window.el (window-auto-delete): Remove.
10151 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10152 dedication and previous buffers.
1b36ed6a
MR
10153 (switch-to-prev-buffer): Don't delete window.
10154 (delete-windows-on): Delete a window's frame if and only if the
10155 window is dedicated.
10156 (replace-buffer-in-windows): Delete buffer's window or frame if
10157 and only if window is dedicated.
10158 (quit-window): Handle quit-restore as before last change.
4d61f28d 10159 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10160
ef8ef9fb
CY
101612011-09-13 Chong Yidong <cyd@stupidchicken.com>
10162
10163 * window.el (window-deletable-p): Never delete the last frame on a
10164 given terminal.
10165
b2cba41e
GM
101662011-09-13 Glenn Morris <rgm@gnu.org>
10167
10168 * help.el (describe-key-briefly): Copy previous standard-output change.
10169
51553db6 101702011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10171
10172 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10173
b7556719
GM
101742011-09-13 Glenn Morris <rgm@gnu.org>
10175
10176 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10177 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10178
64b51947
CY
101792011-09-12 Chong Yidong <cyd@stupidchicken.com>
10180
10181 * dired-aux.el (dired-mark-read-string): Don't return default
10182 value on empty input (Bug#9361).
10183 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10184 Omit initial minibuffer contents.
10185 (dired-do-chmod): Signal an error on empty input.
10186 (dired-mark-read-string): Don't return default on empty input.
10187
10188 * files.el (file-modes-symbolic-to-number): Doc fix.
10189
393a301e
SM
101902011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * international/mule-cmds.el (ucs-completions): Remove.
10193 (read-char-by-name): Use complete-with-action instead; add metadata.
10194
fa5660f9
CY
101952011-09-11 Chong Yidong <cyd@stupidchicken.com>
10196
10197 * window.el (display-buffer--action-function-custom-type)
10198 (display-buffer--action-custom-type): New vars.
10199 (display-buffer-alist, display-buffer-default-action)
10200 (display-buffer-overriding-action): Add defcustom types.
10201
4a592f66
CY
10202 * frame.el (delete-other-frames): Doc fix (Bug#276).
10203
73d56dbd
LMI
102042011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10205
10206 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10207
37ac18a3
CY
102082011-09-11 Chong Yidong <cyd@stupidchicken.com>
10209
10210 Change modes that used same-window-* vars to use switch-to-buffer.
10211
10212 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10213 Use switch-to-buffer.
10214
10215 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10216 (customize-browse, custom-buffer-create-other-window):
10217 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10218
10219 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10220 (Info-prev, Info-up, Info-speedbar-goto-node)
10221 (info-display-manual): Use switch-to-buffer.
10222 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10223
10224 * mail/sendmail.el (mail): Use switch-to-buffer.
10225 (mail-recover): Use switch-to-buffer-other-window.
10226
10227 * cmuscheme.el (run-scheme, switch-to-scheme):
10228 * ielm.el (ielm):
10229 * shell.el (shell):
10230 * net/rlogin.el (rlogin):
10231 * net/telnet.el (telnet, rsh):
10232 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10233
10195bd6
AS
102342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10235
10236 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10237
b322f63a
LMI
102382011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10239
39d7fed6
LMI
10240 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10241 so don't mention it (bug#9301).
ba5a81f1 10242 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10243
ee0e9f11
LMI
10244 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10245 match `x', `w32' and `ns', like the manual says (bug#9029).
10246
0b1c89c1 10247 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10248 (process-kill-buffer-query-function): Mention the buffer name in
10249 the query.
0b1c89c1 10250
77549ea8
LMI
10251 * image-mode.el (image-next-line): The line parameter is mandatory
10252 (bug#9258).
10253
803ef892
LMI
10254 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10255 which can be useful (bug#9301).
10256
12980837
LMI
10257 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10258
91054f8f
LMI
10259 * subr.el (match-string): Mention that the current buffer should
10260 be the same as the search was done in (bug#9282).
10261
b322f63a
LMI
10262 * facemenu.el: Disable the remove-* commands if the mark isn't
10263 active (bug#9162).
10264
3199b96f
CY
102652011-09-10 Chong Yidong <cyd@stupidchicken.com>
10266
10267 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10268 of display-buffer.
10269 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10270
10271 * replace.el (occur-mode-goto-occurrence)
10272 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10273 and display-buffer.
10274
10275 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10276 display-buffer.
10277
10278 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10279 special-display and same-window variables.
10280 (mail-other-window): Use switch-to-buffer-other-window.
10281 (mail-other-frame): USe switch-to-buffer-other-frame.
10282
393a301e
SM
10283 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10284 Use display-buffer-other-frame.
3199b96f
CY
10285 (gdb-display-gdb-buffer): Use pop-to-buffer.
10286
10287 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10288
10289 * progmodes/python.el: Don't set same-window-buffer-names.
10290
10291 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10292
10293 * window.el (display-buffer-alist): Add *Python*.
10294
8319e0bf
CY
102952011-09-10 Chong Yidong <cyd@stupidchicken.com>
10296
10297 * window.el (display-buffer-alist): Add entry for buffers
10298 previously handled same-window-*.
10299 (display-buffer-alist, display-buffer-default-action)
10300 (display-buffer-overriding-action): Mark as risky.
10301 (display-buffer-alist): Document action function changes.
10302 (display-buffer--same-window-action)
10303 (display-buffer--other-frame-action): New variables.
10304 (switch-to-buffer, display-buffer-other-frame): Use them.
10305 (display-buffer): Rename reuse-frame entry to reusable-frames.
10306 (display-buffer-reuse-selected-window): Function deleted.
10307 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10308 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10309 (display-buffer-special): New function.
10310 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10311 display-buffer-reuse-or-pop-window. Split off special-display
10312 part into display-buffer-special.
10313 (display-buffer-use-some-window): Don't perform any special
10314 pop-up-frames handling.
10315 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10316 (display-buffer--maybe-same-window): Rename from
0d3ff375 10317 display-buffer-maybe-same-window.
8319e0bf 10318
919a69aa
CY
10319 * info.el: Don't set same-window-regexps.
10320 (info-setup): New function.
10321 (info-other-window, info): Call it.
10322
10323 * cus-edit.el: Don't set same-window-regexps.
10324 (customize-group): New argument.
10325 (customize-group-other-window): Use it.
10326 (customize-face, customize-face-other-window): Likewise.
10327 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10328
8319e0bf
CY
10329 * net/rlogin.el:
10330 * net/telnet.el:
10331 * progmodes/gud.el: Don't set same-window-regexps.
10332
10333 * cmuscheme.el:
10334 * ielm.el:
10335 * shell.el:
10336 * mail/sendmail.el:
10337 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10338
25173000
JL
103392011-09-10 Juri Linkov <juri@jurta.org>
10340
10341 * isearch.el (isearch-edit-string): Remove obsolete mention of
10342 `C-w' (`isearch-yank-word-or-char') from docstring.
10343 (isearch-query-replace): Fix typo in docstring (bug#9466).
10344
056e44ef
JL
103452011-09-10 Juri Linkov <juri@jurta.org>
10346
10347 * paren.el (show-paren-function): Don't show escaped parens.
10348 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10349
c3760c17
EZ
103502011-09-10 Eli Zaretskii <eliz@gnu.org>
10351
10352 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10353 (mm-default-file-encoding): Remove autoload forms, they are
10354 replaced with autoload cookies in mml.el and mm-encode.el.
10355 (mail-add-attachment): New command.
10356 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10357 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10358 the doc string.
10359 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10360
fece895e
RT
103612011-09-10 Reuben Thomas <rrt@sc3d.org>
10362
e69df516
SM
10363 * simple.el (count-words-region): Use buffer if there's no region
10364 (bug#9429).
fece895e 10365
5e68ce4a
JL
103662011-09-09 Juri Linkov <juri@jurta.org>
10367
10368 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10369 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10370 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10371
0a6b9622
AM
103722011-09-09 Alan Mackenzie <acm@muc.de>
10373
10374 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10375 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10376
14a29deb
EZ
103772011-09-09 Eli Zaretskii <eliz@gnu.org>
10378
10379 Fix for Savannah bug#9392.
10380 * simple.el (mail-encode-mml): New defvar.
10381
10382 * mail/rmail.el (mail-encode-mml): Add a defvar.
10383 (rmail-enable-mime-composing): Default to t.
10384 (rmail-forward): Use MIME method of forwarding only if both
10385 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10386 Set mail-encode-mml non-nil if the MIME method was used.
10387
10388 * mail/sendmail.el (mml-to-mime): Add autoload form.
10389 (mail-encode-mml): Add a defvar.
10390 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10391 to nil.
10392 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10393 message through mml-to-mime, and reset mail-encode-mml to nil.
10394
28c45130
GM
103952011-09-09 Glenn Morris <rgm@gnu.org>
10396
10397 * woman.el (woman-if-body): When processing an .el block,
10398 do not delete the next .el block as well. (Bug#9447)
69f4b618 10399 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10400
9b1c252e
MR
104012011-09-08 Martin Rudalics <rudalics@gmx.at>
10402
10403 * window.el (window-deletable-p): Make sure window is live before
10404 invoking window-prev-buffers.
10405
567457e3
LL
104062011-09-08 Leo Liu <sdl.web@gmail.com>
10407
10408 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10409
97f05794
JL
104102011-09-08 Juri Linkov <juri@jurta.org>
10411
10412 * progmodes/compile.el (compilation-environment): Make it
10413 a defcustom (bug#8340).
10414
8b0874b5
MR
104152011-09-08 Martin Rudalics <rudalics@gmx.at>
10416
10417 * window.el (frame-auto-delete): Rename to window-auto-delete.
10418 Make it control auto-deletion of windows and/or frames.
10419 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10420 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10421 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10422 Rewrite handling of case when window/frame can be deleted.
10423 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10424 argument t. (Bug#9456)
8b0874b5 10425
4feb6e73
CY
104262011-09-07 Chong Yidong <cyd@stupidchicken.com>
10427
10428 * help-mode.el (help-mode): Restore autoload.
10429
91ab9c13
JL
104302011-09-07 Juri Linkov <juri@jurta.org>
10431
10432 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10433 `compilation-environment'. Set buffer-local
10434 `compilation-environment' to `thisenv' later after (funcall mode).
10435 (Bug#8340)
10436
10437 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10438 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10439 instead of replacing its value. (Bug#8340)
10440
0527e251
JL
104412011-09-07 Juri Linkov <juri@jurta.org>
10442
10443 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10444 based on text properties put by `grep-filter' instead of matching
10445 escape sequences.
10446 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10447 to the value of `grep-error-screen-columns' (bug#9438).
10448
249f792c
JL
104492011-09-07 Juri Linkov <juri@jurta.org>
10450
10451 * simple.el (next-error-highlight, next-error-highlight-no-select):
10452 Doc fix (bug#9432).
10453
ff7271b9
OT
104542011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10455
10456 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10457 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10458
183fc730
LL
104592011-09-07 Leo Liu <sdl.web@gmail.com>
10460
10461 * net/rcirc.el (rcirc-mode): Conditionally initialize
10462 rcirc-input-ring.
10463
77694924
SM
104642011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * emacs-lisp/find-func.el (find-function-C-source): Only set
10467 find-function-C-source-directory after checking that we found a source
10468 file there (bug#9440).
10469
d809b8eb
AM
104702011-09-06 Alan Mackenzie <acm@muc.de>
10471
10472 * isearch.el (isearch-other-meta-char): Wherever a key list is
10473 unread, "unread" the prefix arg, too. This fixes bug #8901.
10474
453de99f
OG
104752011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10476
10477 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10478
90439906
JL
104792011-09-05 Juri Linkov <juri@jurta.org>
10480
10481 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10482
f62bd846
JL
104832011-09-05 Juri Linkov <juri@jurta.org>
10484
10485 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10486 keeping point where processing of grep matches begins, and
10487 continue to delete remaining escape sequences from the same point.
10488 (grep-filter): Make leading zero optional in "0?1;31m" because
10489 git-grep emits "\033[1;31m" escape sequences unlike expected
10490 "\033[01;31m" as GNU Grep does (bug#9408).
10491 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10492
045820ec
JL
104932011-09-05 Juri Linkov <juri@jurta.org>
10494
10495 * subr.el (y-or-n-p): Capitalize "yes".
10496
f5e29b9b
MA
104972011-09-04 Michael Albinus <michael.albinus@gmx.de>
10498
10499 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10500 `tramp-cache-unload-hook' where appropriate.
10501 (tramp-methods): Rename `tramp-remote-sh' to
10502 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10503 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10504
10505 * net/tramp-sh.el (top): Don't require 'shell.
10506 (tramp-methods): Add `tramp-remote-shell' and
10507 `tramp-remote-shell-args' entries.
10508 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10509 (tramp-sh-handle-shell-command): Remove.
10510 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10511 Use `tramp-remote-shell'.
10512
2784c434
CY
105132011-09-03 Chong Yidong <cyd@stupidchicken.com>
10514
393a301e 10515 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10516 (sendmail-query-once): Save directly to send-mail-function.
10517 Update message-send-mail-function too.
10518
10519 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10520
464cdf56
CS
105212011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10522
10523 * progmodes/python.el (python-mode-map): Use correct function to
10524 start python interpreter from menu-bar (as reported by Geert
10525 Kloosterman).
10526 (inferior-python-mode-map): Fix typo.
393a301e 10527 (python-shell-map): Remove.
464cdf56 10528
d37e5c87
DD
105292011-09-03 Deniz Dogan <deniz@dogan.se>
10530
10531 * net/rcirc.el (rcirc-print): Simplify code for
10532 rcirc-scroll-show-maximum-output. There is no need to walk
10533 through all windows to find the right one.
10534
f3ada0ee
CS
105352011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10536
10537 * help.el (help-return-method): Doc fix.
10538
1f3c99ca
MR
105392011-09-03 Martin Rudalics <rudalics@gmx.at>
10540
10541 * window.el (window-deletable-p): Don't return a non-nil value
10542 when there's a buffer that was shown in the window before.
10543 (Bug#9419)
393a301e
SM
10544 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10545 Set window's previous buffers to nil.
1f3c99ca 10546
a3cf097f
EZ
105472011-09-03 Eli Zaretskii <eliz@gnu.org>
10548
10549 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10550 newline before and after the tag line, so it doesn't interfere
10551 with determining the paragraph direction of bidirectional text.
10552
3d03de90
LL
105532011-09-03 Leo Liu <sdl.web@gmail.com>
10554
10555 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10556
c3313451
CY
105572011-09-02 Chong Yidong <cyd@stupidchicken.com>
10558
393a301e 10559 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10560 (pop-to-buffer): Change interactive spec. Pass second argument
10561 directly to display-buffer.
10562 (display-buffer): Fix interactive spec. Use functionp to
10563 distinguish between a function and a list of functions.
10564
10565 * abbrev.el (edit-abbrevs):
10566 * arc-mode.el (archive-extract):
10567 * autoinsert.el (auto-insert):
10568 * bookmark.el (bookmark-bmenu-list):
10569 * files.el (find-file):
10570 * view.el (view-buffer):
10571 * progmodes/compile.el (compilation-goto-locus):
10572 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10573
89894cd8
CY
105742011-09-02 Chong Yidong <cyd@stupidchicken.com>
10575
10576 * window.el (display-buffer-alist): Doc fix.
10577 (display-buffer): Add docstring. Don't treat
10578 display-buffer-default specially.
10579 (display-buffer-reuse-selected-window)
10580 (display-buffer-same-window, display-buffer-maybe-same-window)
10581 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10582 (display-buffer-pop-up-window)
10583 (display-buffer-reuse-or-pop-window)
10584 (display-buffer-use-some-window): New functions.
10585 (display-buffer-default-action): Use them.
393a301e 10586 (display-buffer-default): Delete.
89894cd8
CY
10587 (pop-to-buffer-1): Fix choice of actions.
10588
ae0bc9fb
SM
105892011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * minibuffer.el (completion--insert-strings): Don't get confused by
10592 completion entries that end with an LF char.
10593
e9d90883
EZ
105942011-09-01 Eli Zaretskii <eliz@gnu.org>
10595
10596 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10597
437014c8
CY
105982011-09-01 Chong Yidong <cyd@stupidchicken.com>
10599
10600 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10601 (display-buffer-same-window, display-buffer-other-window):
10602 New functions.
437014c8
CY
10603 (pop-to-buffer-1): New function. Use the above.
10604 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10605 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10606
10607 * view.el (view-buffer-other-window, view-buffer-other-frame):
10608 Just use pop-to-buffer.
10609
a5e063d5
TV
106102011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10611
10612 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10613
793d32bb
WH
106142011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10615
10616 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10617
d65e4c15
RS
106182011-08-31 Richard Stallman <rms@gnu.org>
10619
10620 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10621 of the separation of rmail-view-buffer from rmail-buffer.
10622 If you say no to "replace original", the decrypt is in the
10623 view buffer. If you say yes, the decrypt goes into the
10624 rmail buffer also.
10625
f818cd2a
MR
106262011-08-31 Martin Rudalics <rudalics@gmx.at>
10627
10628 * window.el (display-buffer-window): Rewrite doc-string.
10629 (display-buffer-record-window): New function.
10630 (display-buffer-macro-specifiers)
10631 (display-buffer-even-window-sizes, display-buffer-set-height)
10632 (display-buffer-set-width, display-buffer-in-window)
10633 (display-buffer-reuse-window, display-buffer-split-specifiers)
10634 (display-buffer-side-specifiers, display-buffer-split-window-1)
10635 (display-buffer-split-window, display-buffer-split-atom-window)
10636 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10637 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10638 (display-buffer-other-window-means-other-frame)
10639 (display-buffer-normalize-special)
10640 (display-buffer-normalize-default)
10641 (display-buffer-normalize-argument)
10642 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10643 (display-buffer-normalize-specifiers, display-buffer-frame)
10644 (display-buffer-same-window, display-buffer-same-frame)
10645 (display-buffer-other-window)
10646 (display-buffer-same-frame-other-window)
10647 (display-buffer-other-frame, pop-to-buffer-same-window)
10648 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10649 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10650 (switch-to-buffer-same-frame)
10651 (switch-to-buffer-other-window-same-frame)
10652 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10653 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10654 (display-buffer-alist-set): Remove.
10655 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10656 (special-display-regexps, special-display-function):
10657 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10658 parameter.
10659 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10660 (special-display-frame-alist, special-display-popup-frame)
10661 (same-window-buffer-names, same-window-regexps, same-window-p)
10662 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10663 (split-window-preferred-function, split-height-threshold)
10664 (split-width-threshold, window-splittable-p)
10665 (split-window-sensibly, window--try-to-split-window)
10666 (window--frame-usable-p, even-window-heights)
10667 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10668 (window--display-buffer-2, display-buffer-other-frame):
10669 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10670 (display-buffer-default, display-buffer-assq-regexp): New functions.
10671 (display-buffer-alist): Rewrite doc-string.
10672 (display-buffer-default-action)
10673 (display-buffer-overriding-action): New variables.
10674 (display-buffer, switch-to-buffer): Rewrite.
10675 (pop-to-buffer): Restore Emacs 23 behavior but use
10676 window-normalize-buffer-to-display.
10677 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10678 Restore Emacs 23 behavior but use
10679 window-normalize-buffer-to-switch-to.
10680 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10681 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10682 Rewrite using Emacs 23 options.
f818cd2a 10683
5bc3b51d
MA
106842011-08-31 Michael Albinus <michael.albinus@gmx.de>
10685
10686 * net/tramp.el (tramp-root-regexp): Remove.
10687 (tramp-completion-file-name-regexp-unified)
10688 (tramp-completion-file-name-regexp-separate)
10689 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10690 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10691 (tramp-drop-volume-letter): Simplify definition.
10692 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10693
b1a4f8e1
SM
106942011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10697 (bug#9356).
10698
5664fa7b
RT
106992011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10700
b1a4f8e1 10701 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10702
9a45d6c3
JL
107032011-08-29 Juri Linkov <juri@jurta.org>
10704
10705 * isearch.el (isearch-done): Don't display message "Mark saved"
10706 when arg `edit' is non-nil to prevent its flicker in the echo area.
10707
fb87e0fb
CY
107082011-08-28 Chong Yidong <cyd@stupidchicken.com>
10709
10710 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10711 obsolete packages for deletion.
10712
09ac1c2a
CS
107132011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10714
10715 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10716 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10717 view-mode from help-mode.
10718 (help-xref-override-view-map): Remove.
10719 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10720 view-mode is not used anymore.
10721
7a1ff57f
CY
107222011-08-28 Chong Yidong <cyd@stupidchicken.com>
10723
10724 * server.el (server-port): Doc fix.
10725
b9696605
CY
10726 * cus-theme.el (custom-theme-choose-mode): Inherit from
10727 special-mode (Bug#9124).
10728 (custom-theme-choose-mode-map): Add special-mode to parent.
10729
ef8cdf8c
AM
107302011-08-28 Alan Mackenzie <acm@muc.de>
10731
10732 * progmodes/cc-fonts.el
10733 (c-make-font-lock-BO-decl-search-function): New function.
10734 (c-basic-matchers-after - "Fontify the clauses after various
10735 keywords"): Extract the three keyword lists for the 3 erroneous
10736 constructs from the list of four, and use the new function above
10737 in place of an old one.
10738
27de4e20
DD
107392011-08-28 Deniz Dogan <deniz@dogan.se>
10740
10741 * net/rcirc.el (rcirc-insert-prev-input)
10742 (rcirc-insert-next-input): Remove unused argument.
10743
356a3681
SM
107442011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10745
10746 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10747
3fc9b218
AM
107482011-08-27 Alan Mackenzie <acm@muc.de>
10749
10750 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10751 handle function pointer parameters properly.
10752
538a061c
MR
107532011-08-27 Martin Rudalics <rudalics@gmx.at>
10754
10755 * window.el (display-buffer-reuse-window): Fix case where
10756 selected window was reused with non-nil OTHER-WINDOW argument.
10757 (Bug#9381)
10758
35b1c40c
DD
107592011-08-27 Deniz Dogan <deniz@dogan.se>
10760
10761 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10762 oftc's NickServ messages.
10763
2f6a3e79
GM
107642011-08-27 Glenn Morris <rgm@gnu.org>
10765
10766 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10767
7254299e
CY
107682011-08-26 Chong Yidong <cyd@stupidchicken.com>
10769
10770 * emacs-lisp/package.el (package-install): Call package-initialize
10771 if called interactively.
10772
f8ccf167
LL
107732011-08-26 Leo Liu <sdl.web@gmail.com>
10774
10775 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10776
3e8cd5ce
JL
107772011-08-25 Juri Linkov <juri@jurta.org>
10778
10779 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10780 `search-whitespace-regexp' (bug#9364).
10781
93eb7113
JL
107822011-08-25 Juri Linkov <juri@jurta.org>
10783
10784 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10785 `regexp-search-ring' to their global values to protect from
10786 updating by `read-from-minibuffer' (bug#9185).
10787
f65d1611
JL
107882011-08-25 Juri Linkov <juri@jurta.org>
10789
10790 * textmodes/ispell.el (ispell-command-loop): Add newline
10791 at the end of the "Use option `i'..." line.
10792
f1cf7a31
JL
107932011-08-25 Juri Linkov <juri@jurta.org>
10794
10795 * battery.el (display-battery-mode): If `battery-status-function'
10796 or `battery-mode-line-format' is nil, display the message and set
10797 `display-battery-mode' to nil (bug#9363).
10798
0c95fcf7
EZ
107992011-08-25 Eli Zaretskii <eliz@gnu.org>
10800
10801 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10802 bidi-string-mark-left-to-right; they are unnecessary now.
10803
a2ebe600
DD
108042011-08-25 Deniz Dogan <deniz@dogan.se>
10805
10806 * net/quickurl.el: Documentation typo fixes.
10807
e4ed06f1
CY
108082011-08-25 Chong Yidong <cyd@stupidchicken.com>
10809
10810 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10811
e5f1c99e
GM
108122011-08-25 Glenn Morris <rgm@gnu.org>
10813
b2948976
GM
10814 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10815
e5f1c99e
GM
10816 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10817 (smtpmail-via-smtp): Handle nil response from smtp.
10818
f22f4808
JL
108192011-08-24 Juri Linkov <juri@jurta.org>
10820
10821 * proced.el (proced-marked): Inherit from `error' instead of
10822 `font-lock-warning-face'.
10823
10824 * ibuffer.el (ibuffer-marked-face): Change default face from
10825 `font-lock-warning-face' to `warning'.
10826 (ibuffer-deletion-face): Change default face from
10827 `font-lock-type-face' to `error'.
10828
10829 * battery.el (battery-update): Use the face `error' instead of
10830 `font-lock-warning-face' (bug#6117).
10831
6a93965e
JL
108322011-08-24 Juri Linkov <juri@jurta.org>
10833
10834 * faces.el (success): Change face color from "Green3" to
10835 "ForestGreen" on light background (bug#9353).
10836
1ed43b09
CY
108372011-08-24 Chong Yidong <cyd@stupidchicken.com>
10838
5664fa7b
RT
10839 * window.el (quit-window): Rename from quit-restore-window.
10840 Use same arglist as old quit-window.
1ed43b09
CY
10841 (frame-auto-delete): Doc fix.
10842
10843 * view.el (view-mode-exit): Use quit-window.
10844
11dcdbb2
JL
108452011-08-24 Juri Linkov <juri@jurta.org>
10846
10847 * isearch.el (isearch-ring-adjust1): Start visiting previous
10848 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10849 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10850 for empty search string (when the last search string is reused
10851 automatically) to adjust the isearch ring to the last element and
10852 prepare the correct index for further M-p commands (bug#9185).
10853
de62b4df
KH
108542011-08-24 Kenichi Handa <handa@m17n.org>
10855
10856 * international/ucs-normalize.el: If decomposition property of
10857 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10858 nil.
10859 (nfd, nfkd): Likewise.
10860
963b492b
SM
108612011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10864 from process filters aren't reliably transmitted to the surrounding
10865 accept-process-output.
10866 (mpc-proc-check): New function.
10867 (mpc-proc-sync): Use it (bug#8293)
10868
93b6b5e1
SM
108692011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10872 Add compatibility functions (bug#9313).
10873
bca633fb
EZ
108742011-08-23 Eli Zaretskii <eliz@gnu.org>
10875
b177498a
EZ
10876 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10877
6df6ae42 10878 * international/uni-bidi.el: Regenerate.
bca633fb 10879
0902a04e
KH
108802011-08-23 Kenichi Handa <handa@m17n.org>
10881
10882 * international/charprop.el:
10883 * international/uni-bidi.el:
10884 * international/uni-category.el:
10885 * international/uni-combining.el:
10886 * international/uni-comment.el:
10887 * international/uni-decimal.el:
10888 * international/uni-decomposition.el:
10889 * international/uni-digit.el:
10890 * international/uni-lowercase.el:
10891 * international/uni-mirrored.el:
10892 * international/uni-name.el:
10893 * international/uni-numeric.el:
10894 * international/uni-old-name.el:
10895 * international/uni-titlecase.el:
10896 * international/uni-uppercase.el: Regenerate.
10897
3bbf23bc
MR
108982011-08-23 Martin Rudalics <rudalics@gmx.at>
10899
10900 * help.el (help-window-setup): Fix message displayed when other
10901 window is reused. (Bug#9341)
10902
b3fd59bd
SM
109032011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10904
1802e444
SM
10905 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10906 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10907
b3fd59bd
SM
10908 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10909 Mark obsolete.
10910 * shell.el (shell-parse-pcomplete-arguments): New function.
10911 (shell-completion-vars): Use it instead (bug#9160).
10912
4eb61348
SM
109132011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10914
867cab74
SM
10915 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10916 strings and comments (bug#9333).
10917
4eb61348
SM
10918 * emacs-lisp/debug.el (debug-arglist): New function.
10919 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10920 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10921
262a1439
JL
109222011-08-22 Juri Linkov <juri@jurta.org>
10923
56ee679c
JL
10924 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10925 Revert regexp that highlights output switches to its old
10926 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10927
262a1439
JL
10928 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10929 to check for empty output (bug#9226).
10930
f13f86fb
CY
109312011-08-22 Chong Yidong <cyd@stupidchicken.com>
10932
10933 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10934 symbol-constituent as the default, as that stops font-lock from
10935 working properly (Bug#8843).
10936
c65c9622
LMI
109372011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10938
10939 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10940 `coding-system-for-*' around the process open call to avoid
10941 auth-source side effects.
e7f2c178 10942 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10943 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10944 probe hangs.
c65c9622 10945
23a8a5ab
CY
109462011-08-21 Chong Yidong <cyd@stupidchicken.com>
10947
ff98b2dd
CY
10948 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10949
23a8a5ab
CY
10950 * emacs-lisp/find-func.el (find-function-noselect): New arg
10951 lisp-only.
10952
10953 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10954 signal an error for built-in functions (Bug#6664).
10955
f5e3c598
LMI
109562011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10957
10958 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10959 (smtpmail-try-auth-methods): Use it.
10960
a3f2468a
CY
109612011-08-21 Chong Yidong <cyd@stupidchicken.com>
10962
2c34e8da
CY
10963 * font-lock.el (font-lock-fontify-region)
10964 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10965 (font-lock-default-unfontify-buffer)
10966 (font-lock-default-fontify-region)
10967 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10968
b3fd59bd
SM
10969 * progmodes/compile.el (compilation-error-properties):
10970 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10971 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10972 `ant' regexp.
ee31aabc 10973
a3f2468a
CY
10974 * net/browse-url.el (browse-url-firefox): Don't call
10975 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10976
8e999f70
GM
109772011-08-20 Glenn Morris <rgm@gnu.org>
10978
c21a496a
GM
10979 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10980
59ee0542
GM
10981 * tutorial.el (tutorial--default-keys): Update some default bindings.
10982
8e999f70
GM
10983 * files.el (hack-local-variables): Fully ignore case for "mode:".
10984
e3715033
AM
109852011-08-20 Alan Mackenzie <acm@muc.de>
10986
10987 Resolve invalid use of a regexp in regexp-opt.
10988
4d61f28d
JB
10989 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10990 detection for a java annotation.
e3715033 10991
4d61f28d 10992 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10993 detection for a java annotation.
10994
4d61f28d
JB
10995 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10996 handling for java.
e3715033
AM
10997 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10998
04ed2e9c
CY
109992011-08-20 Chong Yidong <cyd@stupidchicken.com>
11000
11001 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11002 (Bug#9274).
11003
826cee64
AM
110042011-08-20 Alan Mackenzie <acm@muc.de>
11005
58179cce 11006 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11007 such a construct. Mainly for when jit-lock etc. starts a chunk
11008 here.
11009
58179cce 11010 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11011 variable.
58179cce 11012 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11013 c-make-font-lock-search-function.
11014 (c-make-font-lock-search-function): Use the above function.
11015 (c-make-font-lock-context-search-function): New function.
11016 (c-cpp-matchers): Enhance the preprocessor expression case with
11017 the above function
11018 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11019 which takes an expression.
11020
11021 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11022
13009bd8
MR
110232011-08-20 Martin Rudalics <rudalics@gmx.at>
11024
11025 * window.el (display-buffer-reuse-window)
11026 (display-buffer-pop-up-window): Don't reuse or split a side
11027 window.
11028
9234ff7f
GM
110292011-08-19 Glenn Morris <rgm@gnu.org>
11030
11031 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11032 Downcase "Mode:". (Bug#9331)
9234ff7f 11033
f635daa1
CY
110342011-08-18 Chong Yidong <cyd@stupidchicken.com>
11035
11036 * international/characters.el: Add L and R categories.
11037
11038 * subr.el (bidi-string-mark-left-to-right): Rename from
11039 string-mark-left-to-right. Use category search.
11040
11041 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11042
bc987f8b
JL
110432011-08-18 Juri Linkov <juri@jurta.org>
11044
11045 * faces.el (error, warning, success): New faces with definitions
11046 copied from old default values of `font-lock-warning-face',
11047 `compilation-warning', `compilation-info' (bug#6117).
11048
11049 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11050
11051 * progmodes/compile.el (compilation-error): Inherit from `error'.
11052 (compilation-warning): Inherit from `warning'.
11053 (compilation-info): Inherit from `success'.
11054
11055 * dired.el (dired-marked): Inherit from `warning'.
11056 (dired-flagged): Inherit from `error'.
11057
57173b96
LMI
110582011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11059
3e79eb87
LMI
11060 * mail/smtpmail.el (auth-source): Require to avoid problems with
11061 binding variables (bug#9298). Also clean up some unused
11062 autoloads.
11063
b3fd59bd
SM
11064 * net/network-stream.el (network-stream-open-starttls):
11065 Support using starttls.el without using gnutls-cli.
57173b96 11066
02b404de
JL
110672011-08-17 Juri Linkov <juri@jurta.org>
11068
11069 * progmodes/grep.el (rgrep): Handle the case when
11070 `grep-find-command' is a cons cell (bug#9278).
11071
8c9177f2
MR
110722011-08-17 Martin Rudalics <rudalics@gmx.at>
11073
11074 * window.el (display-buffer-pop-up-frame): Run frame creation
11075 function with BUFFER current (as special-display-popup-frame
11076 does). Reported by Drew Adams.
11077
3644a0ab
DU
110782011-08-17 Daiki Ueno <ueno@unixuser.org>
11079
11080 * epa-mail.el: Simplify GnuPG group expansion using
11081 epg-expand-group.
11082 (epa-mail-group-alist, epa-mail-group-modtime)
11083 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11084 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11085 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11086 Remove.
11087
5e617bc2 110882011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11089
11090 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11091
9c4aeabf
AM
110922011-08-16 Alan Mackenzie <acm@muc.de>
11093
11094 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11095 Correct, to avoid the inside of macros.
11096
3a99bf64
RS
110972011-08-16 Richard Stallman <rms@gnu.org>
11098
04963aa8
RS
11099 * epa-mail.el: Handle GnuPG group definitions.
11100 (epa-mail-group-alist, epa-mail-group-modtime)
11101 (epa-mail-gnupg-conf-file): New variables.
11102 (epa-mail-parse-groups, epa-mail-sync-groups)
11103 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11104 (epa-mail-expand-recipients): New functions.
11105 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11106
177549d0
RS
11107 * mail/rmail.el (rmail-epa-decrypt): New command.
11108
fe38beef
RS
11109 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11110 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11111 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11112 (epa-decrypt-armor-in-region): Make error message clearer.
11113
934eacb9
SM
111142011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11117 and "a2b" to "ab" for `prefix'.
11118
d024fb4e
CY
111192011-08-14 Chong Yidong <cyd@stupidchicken.com>
11120
11121 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11122 filter groups.
de148fee
CY
11123 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11124 Fourquet (Bug#8804).
d024fb4e 11125
62f1ca49
JB
111262011-08-12 Juanma Barranquero <lekktu@gmail.com>
11127
11128 * startup.el (argi): Declare as global variable (bug#9275).
11129
9ccaaa4b
CY
111302011-08-12 Chong Yidong <cyd@stupidchicken.com>
11131
11132 * subr.el (string-mark-left-to-right): Search the entire string
11133 for RTL script, not just the terminating character. Doc fix.
11134
a3dae87a
SM
111352011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11136
6cd18349
SM
11137 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11138 New function.
11139 (js--regexp-literal, js-syntax-propertize-function): Remove.
11140 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11141 (js-mode-map): Don't rebind electric keys.
11142 (js-insert-and-indent): Remove.
11143 (js-mode): Setup electric-layout and electric-indent instead.
11144
a3dae87a
SM
11145 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11146
9d5cb631
DU
111472011-08-12 Daiki Ueno <ueno@unixuser.org>
11148
11149 * epa.el (epa-progress-callback-function): Fix the logic of
11150 displaying progress.
11151 * epa-file.el (epa-file-insert-file-contents): Make progress
11152 display more user-friendly.
11153 (epa-file-write-region): Ditto.
11154
3e26a4a2
CY
111552011-08-10 Chong Yidong <cyd@stupidchicken.com>
11156
11157 * subr.el (string-mark-left-to-right): New function.
11158
11159 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11160 Use string-mark-left-to-right.
11161 (list-buffers-noselect): Caller changed.
11162
a3dae87a
SM
11163 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11164 Use string-mark-left-to-right.
3e26a4a2
CY
11165 (tabulated-list-print): Recenter after moving point.
11166
ac8cf6e6
JL
111672011-08-10 Juri Linkov <juri@jurta.org>
11168
11169 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11170 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11171 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11172
8d96c9a4
CY
111732011-08-09 Chong Yidong <cyd@stupidchicken.com>
11174
11175 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11176 (Bug#7554).
11177
7be1c708 111782011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11179
11180 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11181 character. (Bug#6594)
11182
37e11a63
CY
111832011-08-08 Chong Yidong <cyd@stupidchicken.com>
11184
839dde57
CY
11185 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11186 (image-dired--with-db-file): New macro.
11187 (image-dired-write-tags, image-dired-remove-tag)
11188 (image-dired-create-gallery-lists, image-dired-write-comments)
11189 (image-dired-get-comment, image-dired-mark-tagged-files)
11190 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11191 (image-dired-gallery-generate): Use insert-file-contents.
11192
37e11a63
CY
11193 * time.el (display-time-world-list, display-time-world-display):
11194 * time-stamp.el (time-stamp-string):
11195 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11196 set-time-zone-rule (Bug#7337).
11197
0b4946c4
DU
111982011-08-08 Daiki Ueno <ueno@unixuser.org>
11199
11200 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11201 (epg-error-to-string, epg-errors-to-string): New function.
11202 (epg-wait-for-completion): Reverse errors list.
11203 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11204 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11205 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11206 (epg-sign-keys, epg-generate-key-from-file)
11207 (epg-generate-key-from-string): Format errors by using
11208 epg-errors-to-string (bug#9255).
11209 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11210
75bfc667
JL
112112011-08-07 Juri Linkov <juri@jurta.org>
11212
11213 * faces.el (list-faces-display): Remove extra angle bracket
11214 from `help-mode-map'.
11215
11216 * info.el (Info-history-toc-nodes): Doc fix.
11217
11218 * longlines.el (longlines-mode): Doc fix.
11219
673e08bb
SM
112202011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11221
4640dd88
SM
11222 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11223 of statements and in a few more cases (bug#9183).
11224
673e08bb
SM
11225 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11226 New functions.
11227 (cl-transform-lambda): Use them (bug#9239).
11228
89b3f019
MR
112292011-08-05 Martin Rudalics <rudalics@gmx.at>
11230
11231 * window.el (display-buffer-same-window)
11232 (display-buffer-same-frame, display-buffer-other-window)
11233 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11234 (pop-to-buffer-other-window)
11235 (pop-to-buffer-same-frame-other-window)
11236 (pop-to-buffer-other-frame): Make them defuns.
11237 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11238
640c8776
SM
112392011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11240
11241 * subr.el (make-composed-keymap): Move from C. Change calling
11242 convention, and improve docstring to bring attention to a subtle point.
11243 * minibuffer.el (completing-read-default): Adjust accordingly.
11244
63648a95
MA
112452011-08-03 Michael Albinus <michael.albinus@gmx.de>
11246
11247 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11248 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11249
11250 * net/trampver.el: Update release number.
11251
b796c9b7
SM
112522011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11253
11254 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11255 "in" (bug#9190).
11256
2239d7d5
LMI
112572011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11258
e07dd7c3
LMI
11259 * mail/sendmail.el (sendmail-query-once): Restore the current
11260 buffer after querying (bug#9074).
11261
0e6a2bd7
LMI
11262 * dired.el (dired-flagged): Use different faces for marked and
11263 flagged files (bug#6117).
11264
ce887515
LMI
11265 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11266 (bug#4433).
11267
92f2affc
LMI
11268 * ido.el (ido-mode): Switch off the message if called
11269 non-interactively.
11270
57d5aff0
LMI
11271 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11272 before 587, since it appears that that's more likely to work for
11273 more people.
11274
98cd6c18 11275 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11276 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11277 exist.
11278
b96dec83
LMI
11279 * info.el: Remove the `Info-beginning-of-buffer' function
11280 (bug#8325).
11281
b796c9b7
SM
11282 * net/network-stream.el (network-stream-open-starttls):
11283 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11284
d90e2ea0
MR
112852011-08-01 Martin Rudalics <rudalics@gmx.at>
11286
11287 * window.el (display-buffer-in-window): Don't set dedicated status
11288 of window here (Bug#9215).
11289 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11290 (display-buffer-pop-up-side-window)
b796c9b7 11291 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11292
cca09170
SM
112932011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11296 before binding generated-autoload-file.
11297
027b979c
DD
112982011-08-01 Deniz Dogan <deniz@dogan.se>
11299
11300 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11301
3c7ee4f3
MA
113022011-07-30 Michael Albinus <michael.albinus@gmx.de>
11303
11304 Sync with Tramp 2.2.2.
11305
11306 * net/trampver.el: Update release number.
11307
2cc8e51a
JL
113082011-07-30 Juri Linkov <juri@jurta.org>
11309
11310 * dired-aux.el (dired-touch-initial): Remove function.
11311 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11312 current time, and `default' to the last modification time of the
11313 current marked file (bug#6887).
11314
a514d856
JM
113152011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11316
11317 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11318 numeric argument to read-number (bug#9163).
a514d856 11319
8a7eddd7
MA
113202011-07-27 Michael Albinus <michael.albinus@gmx.de>
11321
11322 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11323 connection process, it could be nil.
11324
1ddd96f5
LL
113252011-07-27 Leo Liu <sdl.web@gmail.com>
11326
11327 Simplify url handling in rcirc-mode.
11328
11329 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11330 (rcirc-browse-url-at-mouse): Remove.
11331 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11332
b248a85d
AM
113332011-07-26 Alan Mackenzie <acm@muc.de>
11334
11335 Fontify bitfield declarations properly.
11336
11337 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11338 (c-symbol-chars): Now exported as a lang variable.
11339 (c-not-primitive-type-keywords): New lang variable.
11340
11341 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11342 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11343 parsed as a bitfield declaration.
b248a85d 11344
b796c9b7
SM
11345 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11346 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11347 (c-punctuation-in): New function.
11348 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11349 declarations properly.
11350
68575ab0
UJ
113512011-07-26 Ulf Jasper <ulf.jasper@web.de>
11352
11353 * calendar/icalendar.el (icalendar--all-events): Take care of
11354 multiple vcalendars in a single file.
b796c9b7 11355 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11356
0f0a88b9
DD
113572011-07-25 Deniz Dogan <deniz@dogan.se>
11358
11359 * image.el (insert-image): Clarifying docstring.
11360
0b3f36df
MA
113612011-07-24 Michael Albinus <michael.albinus@gmx.de>
11362
11363 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11364 `tramp-send-command-and-check' if there is no error.
11365 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11366
a9901f61
AM
113672011-07-22 Alan Mackenzie <acm@muc.de>
11368
11369 Prevent cc-langs.elc being loaded at run time.
11370
11371 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11372 cc-langs.
11373
4d61f28d 11374 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11375 "(require 'cc-langs)". Quote a form so it will evaluate at
11376 (cc-mode's) compilation time.
11377
11d074b2
MA
113782011-07-22 Michael Albinus <michael.albinus@gmx.de>
11379
11380 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11381 loading. (Bug#9114)
11382
938b94c8
MR
113832011-07-21 Martin Rudalics <rudalics@gmx.at>
11384
11385 * window.el (display-buffer-pop-up-window)
11386 (display-buffer-pop-up-side-window)
11387 (display-buffer-in-side-window): Call display-buffer-set-height
11388 and display-buffer-set-width after setting the new window's
b796c9b7 11389 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11390
bfa4f190
SS
113912011-07-20 Sam Steingold <sds@gnu.org>
11392
11393 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11394 (etags-tags-included-tables): Call `convert-standard-filename' on
11395 the file names contained in TAGS so that windows Emacs can handle
11396 TAGS files created by cygwin ctags.
11397
8ca42262
LMI
113982011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11399
11400 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11401 which apparently didn't work.
11402
5db2afd2 114032011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11404
5db2afd2
RW
11405 * proced.el (proced-send-signal): For *Marked Processes* buffer
11406 put point at beginning of buffer.
11407
92e15d10
SB
114082011-07-19 Stephen Berman <stephen.berman@gmx.net>
11409
11410 * proced.el (proced-format): Make header lines align with the text
11411 (bug#1779).
11412
1bfd59e5
LMI
114132011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11414
11415 * view.el (view-buffer): Allow running in `special' modes if we're
11416 visiting a file (bug#8615).
11417
f5aae37c
MR
114182011-07-19 Martin Rudalics <rudalics@gmx.at>
11419
11420 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11421 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11422 New functions.
f5aae37c
MR
11423 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11424 more accurately.
11425
bf2c1571
AM
114262011-07-18 Alan Mackenzie <acm@muc.de>
11427
11428 Fontify declarators properly when, e.g., a jit-lock chunk begins
11429 inside a declaration.
11430
11431 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11432
b796c9b7
SM
11433 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11434 New function.
bf2c1571
AM
11435 (c-complex-decl-matchers): Insert reference to
11436 c-font-lock-enclosing-decls.
11437
11438 * progmodes/cc-engine.el (c-backward-single-comment):
11439 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11440 to nil around calls to (forward-comment -1).
11441
4e190b80
LMI
114422011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11443
12dc863d
LMI
11444 * image.el (put-image): Doc typo fix.
11445
a762e966
LMI
11446 * progmodes/etags.el (tags-search): Doc typo fix.
11447
4e190b80
LMI
11448 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11449 password if we get errors 550 to 554.
11450
f019fb21
LMI
114512011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11452
b796c9b7 11453 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11454
81746738
LMI
11455 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11456 indentation character (bug#6380).
11457
3ee3a1b5
LMI
11458 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11459
c82f64de
LMI
11460 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11461 to clarify what the problem is (bug#4291).
11462
f019fb21
LMI
11463 * simple.el (current-kill): Clarify what
11464 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11465 (auto-fill-mode): Document `auto-fill-function' in relation to
11466 `auto-fill-mode' (bug#2470).
f019fb21 11467
0794775d
LM
114682011-07-16 Lawrence Mitchell <wence@gmx.li>
11469
11470 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11471 method if slot is read-only (bug#9035).
11472
be39b8cc
MR
114732011-07-16 Martin Rudalics <rudalics@gmx.at>
11474
b796c9b7 11475 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11476 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11477 selected before, see discussion of (Bug#8615), (Bug#6954).
11478 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11479
6ccf7859
GM
114802011-07-15 Glenn Morris <rgm@gnu.org>
11481
11482 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11483 Respect help-form.
6ccf7859 11484
87e86684
LM
114852011-07-09 Lawrence Mitchell <wence@gmx.li>
11486
11487 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11488 (gnutls-negotiate): Use it.
11489
d6066239
LMI
114902011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11491
b796c9b7
SM
11492 * net/gnutls.el (gnutls-negotiate):
11493 Upcase `gnutls-algorithm-priority'.
d6066239 11494
bd23ebc0
GM
114952011-07-15 Glenn Morris <rgm@gnu.org>
11496
c65bca65
GM
11497 * jka-compr.el (jka-compr-verbose): Move from here...
11498 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11499 Add missing :version tag.
11500 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11501
478615cc
LMI
115022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11503
7b41decb
LMI
11504 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11505 (gnutls-negotiate): Use it.
11506
dbc44fcd
LMI
11507 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11508
06789f97
LMI
11509 * info.el (Info-beginning-of-buffer): New command.
11510 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11511 announcing `b' as the key (bug#8325).
ab896c37 11512 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11513
c39da690
LMI
11514 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11515
3aa5f34b
LMI
11516 * international/mule-cmds.el
11517 (describe-specified-language-support): Make the error message
11518 clearer (bug#8905).
11519
4bf0979f
LMI
11520 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11521
478615cc
LMI
11522 * isearch.el (isearch-barrier): Add a doc string, since it's
11523 mentioned in a function doc string (bug#8678).
11524
75c68aa1
MR
115252011-07-15 Martin Rudalics <rudalics@gmx.at>
11526
11527 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11528 buffer argument (Bug#9083) and self-identifying label argument.
11529
a7c33da2
GM
115302011-07-15 Glenn Morris <rgm@gnu.org>
11531
11532 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11533
2f5c6024
LMI
115342011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11535
11536 * man.el (Man-fontify-manpage): Fix message when formatting the
11537 man page (bug#7929).
11538
0bb23927 115392011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11540
11541 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11542 argument LRM; if non-nil, append an invisible LRM character to the
11543 buffer name.
11544 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11545 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11546 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11547 paragraph direction.
cce4b0a7 11548
621ef9ab
LMI
115492011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11550
d1583c48
LMI
11551 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11552 the man page name (bug#7929).
11553
6a57fb5f
LMI
11554 * image.el (put-image): Mention the `put-image' overlay property
11555 (bug#7834).
11556
d7956b14
LMI
11557 * scroll-bar.el (set-scroll-bar-mode): Mention that
11558 `scroll-bar-mode' lists the values (bug#7772).
11559
5b2d4a66
LMI
11560 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11561 command (bug#7729).
11562
7509a874
LMI
11563 * rect.el (apply-on-rectangle): Return the point after the last
11564 operation.
11565 (string-rectangle): Go to the point after the last operation
11566 (bug#7522).
11567
4fe74b19
LMI
11568 * printing.el (pr-toggle-region): Clarify the documentation
11569 slightly (bug#7493).
11570
b796c9b7
SM
11571 * time.el (display-time-update):
11572 Allow `display-time-mail-function' to return nil (bug#7158).
11573 Fix suggested by Detlev Zundel.
ab283561 11574
fc233c9d
LMI
11575 * vc/diff.el (diff): Clarify the order the file names are read
11576 (bug#7111).
11577
43f5740b
LMI
11578 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11579 the doc string (bug#7015).
11580
f2182a76
LMI
11581 * font-lock.el (font-lock-maximum-decoration): Mention what
11582 numeric levels mean (bug#6935).
11583
621ef9ab
LMI
11584 * startup.el (initial-buffer-choice): Don't mention the `none'
11585 selection, which is against policy.
11586
adc47434
MR
115872011-07-14 Martin Rudalics <rudalics@gmx.at>
11588
b796c9b7
SM
11589 * window.el (display-buffer-normalize-special):
11590 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11591
7e5bfb8f
EZ
115922011-07-14 Eli Zaretskii <eliz@gnu.org>
11593
11594 * subr.el (version<, version<=, version=): Mention "-CVS" and
11595 "-12345" alpha version numbers.
11596
27fa387a
CY
115972011-07-14 Chong Yidong <cyd@stupidchicken.com>
11598
11599 * bindings.el: Add advertised binding for set-mark-command
11600 (Bug#5772).
11601
8bdfa064
CY
116022011-07-14 Chong Yidong <cyd@stupidchicken.com>
11603
11604 * bindings.el (mode-line-other-buffer):
11605 * bookmark.el (bookmark-bmenu-2-window):
11606 * bs.el (bs-cycle-next, bs-cycle-previous):
11607 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11608 switch-to-buffer.
11609
11610 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11611 Delete.
8bdfa064 11612
5eba16a3
JB
116132011-07-14 Juanma Barranquero <lekktu@gmail.com>
11614
11615 * follow.el (follow-debug-message, follow-redisplay):
11616 * jka-cmpr-hook.el (with-auto-compression-mode):
11617 Fix typos in docstrings.
11618
15853710
LMI
116192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11620
a28e4607
LMI
11621 * subr.el (with-silent-modifications): Clarify somewhat what the
11622 macro inhibits (bug#6525).
11623
15853710
LMI
11624 * simple.el (eval-expression): Note what it does if called
11625 interactively (bug#6495).
11626
bee0fcef
CY
116272011-07-13 Chong Yidong <cyd@stupidchicken.com>
11628
b796c9b7
SM
11629 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11630 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11631
11632 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11633 Remove switch-to-buffer.
11634
58274504
LMI
116352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11636
bd2fcc8d
LMI
11637 * files.el (make-directory): Clarify that an error will be raised
11638 if there's an error (bug#6397).
11639
0f04b32c
LMI
11640 * startup.el (initial-buffer-choice): Add `none' as a choice
11641 (bug#6234).
11642
465c5fc8
LMI
11643 * subr.el (add-hook): Clarify section about buffer-local hooks
11644 (bug#6218).
11645
58274504
LMI
11646 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11647
bead9a43
JB
116482011-07-13 Juanma Barranquero <lekktu@gmail.com>
11649
11650 * tabify.el (untabify): Preserve the current column so that point
11651 doesn't move (bug#6032).
11652
3af98a7b
LMI
116532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11654
b796c9b7
SM
11655 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11656 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11657
6240145a
GM
116582011-07-13 Glenn Morris <rgm@gnu.org>
11659
11660 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11661 (dired-insert-directory): Give a message the first time
11662 if ls is found not to support --dired.
11663
1d8c2ccc
LMI
116642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11665
11666 * simple.el (toggle-truncate-lines): Clarify what is toggled
11667 (bug#5580). Text by Drew Adams.
11668
5fc4038e
CY
116692011-07-13 Chong Yidong <cyd@stupidchicken.com>
11670
11671 * simple.el (blink-matching-open): Make the error message from the
11672 last change less verbose.
11673
bf6012e5
DN
116742011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11675
11676 * font-lock.el (font-lock-comment-face): Use the high contrast
11677 "yellow" color for font-lock-comment-face on low color terminals
11678 using a dark background color (bug#4221).
11679
343c3b5a
LMI
116802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11681
7e9505c5
LMI
11682 * dired.el (dired-insert-set-properties): Make the doc string
11683 reflect what it does now (bug#5325).
11684
c26fdcf5
LMI
11685 * simple.el (blink-matching-open): Say that we were unable to find
11686 the match within the limit, if we're limited (bug#5122).
11687
bb388cc5
LMI
11688 * international/mule-cmds.el (prefer-coding-system): Add an
11689 example (bug#4869).
11690
343c3b5a
LMI
11691 * progmodes/etags.el (tags-search): Document `file-list-form'
11692 (bug#4731).
11693
2a517d45
LM
116942011-07-13 Lawrence Mitchell <wence@gmx.li>
11695
11696 * net/browse-url.el (browse-url-default-browser)
11697 (browse-url-browser-function): Make the default browser choice a
11698 bit more logical (bug#4300). Also clean up the doc string.
11699
b6c78ef2
JB
117002011-07-13 Juanma Barranquero <lekktu@gmail.com>
11701
11702 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11703 binary endings (bug#4440).
11704
1c4dd947
LMI
117052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11706
a2014063
LMI
11707 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11708 which can be pretty annoying (bug#8971).
11709
9c9c2d88
LMI
11710 * jka-compr.el (jka-compr-verbose): New variable, and use
11711 throughout (bug#8971).
11712
1c4dd947
LMI
11713 * info.el (Info-find-file): Fall back on the installation
11714 directory if we can't find the info node anywhere else.
11715
a1c9f41b
SO
117162011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11717
11718 * vc/vc.el (vc-revert-file):
11719 Don't set file time-stamp in the past. (Bug#5181)
11720
536f3d36
LMI
117212011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11722
7152b011
LMI
11723 * files.el (after-find-file): Give a better error message when
11724 trying to find a symlink that points to a file that doesn't exist
11725 (bug#4398).
11726
536f3d36
LMI
11727 * progmodes/cc-vars.el: Remove (probably) misleading comment
11728 (bug#4396).
11729
460c0fba
JB
117302011-07-12 Johan Bockgård <bojohan@gnu.org>
11731
11732 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11733
7a6bda45
CY
117342011-07-12 Chong Yidong <cyd@stupidchicken.com>
11735
11736 * mouse-sel.el: Hack restoring functionality, while keeping
11737 compatibility with 2010-07-03 changes to mouse selection.
11738 (mouse-sel-primary-overlay): New var.
11739 (mouse-sel-selection-alist): Use it.
11740 (mouse-sel-mode): Doc fix; remove points that are default features
11741 of mouse.el.
11742
c79598ef
JB
117432011-07-12 Johan Bockgård <bojohan@gnu.org>
11744
11745 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11746 Fix previous fix (bug#2490).
11747
ff8be6ef
RW
117482011-07-12 Roland Winkler <winkler@gnu.org>
11749
b796c9b7
SM
11750 * textmodes/bibtex.el (bibtex-initialize):
11751 Use pop-to-buffer-same-window.
ff8be6ef
RW
11752 (bibtex-search-entries): Fix interactive call.
11753
296ba3ee
LMI
117542011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11755
f5242a02 11756 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11757 Fontise bytecomp Error lines more correctly (bug#2490).
11758 Fix suggested by Johan Bockgård.
f5242a02 11759
296ba3ee
LMI
11760 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11761
11762 * dired-x.el (dired-guess-default): Use `delete-dups'.
11763
f69fd0d2
CY
117642011-07-12 Chong Yidong <cyd@stupidchicken.com>
11765
11766 * dired.el (dired-mark-prompt):
11767 * dired-aux.el (dired-read-shell-command): Doc fix.
11768
eab5dc07
LMI
117692011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11770
b796c9b7
SM
11771 * mail/sendmail.el (sendmail-query-once):
11772 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11773 emacs -Q.
11774
11775 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11776
eab5dc07
LMI
11777 * cus-edit.el (custom-file): Take an optional no-error variable.
11778 (customize-save-variable): Set the variable, and give a warning if
11779 running under "emacs -q".
11780
a1e65d42
JB
117812011-07-11 Juanma Barranquero <lekktu@gmail.com>
11782
11783 * loadhist.el (unload-feature-special-hooks):
11784 Add `auto-coding-functions', `fill-nobreak-predicate' and
11785 `find-directory-functions' (bug#5327).
11786
1d52da10
LMI
117872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11788
be958f1d
LMI
11789 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11790
5bedb26c
LMI
11791 * cus-edit.el (custom-guess-name-alist): -alist variables should
11792 use the `alist' type (bug#3120). Suggested by Drew Adams.
11793
1d52da10
LMI
11794 * printing.el: Add documentation to all the `pr-toggle-' commands.
11795
cd394be1 117962011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11797
11798 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11799 backends where it makes sense (bug#2623).
11800
dcc88d8a
LMI
118012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11802
c3de9feb
LMI
11803 * dired-x.el (dired-guess-default): Remove duplicate shell command
11804 entries (bug#2028).
8a93078b 11805 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11806 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11807
dcc88d8a
LMI
11808 * subr.el (remove-duplicates): New conveniency function.
11809
505e3645
LMI
118102011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11811
11812 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11813 (bug#1526).
11814
118152011-07-10 Martin Rudalics <rudalics@gmx.at>
11816
11817 * window.el (display-buffer-normalize-default): Don't invert
11818 meaning of even-window-heights. Reported by Eli Zaretskii
11819 <eliz@gnu.org>.
11820
455e4fa1
BR
118212011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11822
11823 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11824
8e0bc3e9
CY
118252011-07-10 Chong Yidong <cyd@stupidchicken.com>
11826
11827 * window.el (display-buffer): Fix arguments to
11828 display-buffer-reuse-window in last change.
11829
fa7c3228
CY
11830 * faces.el (link): Use a less saturated blue on light backgrounds.
11831
11832 * startup.el (fancy-startup-text, fancy-about-text)
11833 (fancy-startup-tail): Use font-lock faces, for background safety.
11834
c0a7f300
BN
118352011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11836
b796c9b7
SM
11837 * emulation/viper-cmd.el (viper-change-state-to-vi):
11838 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11839
4dc2a129
MR
118402011-07-09 Martin Rudalics <rudalics@gmx.at>
11841
11842 * window.el (display-buffer-default-specifiers): Remove.
11843 (display-buffer-macro-specifiers): Remove default specifiers.
11844 (display-buffer-alist): Default to nil.
b796c9b7 11845 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11846 (display-buffer-pop-up-window): Allow splitting internal
11847 windows. Check whether a live window was created.
11848 (display-buffer-other-window-means-other-frame)
11849 (display-buffer-normalize-arguments): Rename to
11850 display-buffer-normalize-argument and rewrite. Set the
11851 other-window specifier.
11852 (display-buffer-normalize-special): New function.
11853 (display-buffer-normalize-options): Rename to
11854 display-buffer-normalize-default and rewrite.
11855 (display-buffer-normalize-options-inhibit): Remove.
11856 (display-buffer-normalize-specifiers): Rewrite.
11857 (display-buffer): Process other-window specifier and call
11858 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11859 more faithfully.
b796c9b7 11860 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11861 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11862 (display-buffer-in-window, display-buffer-alist-set):
11863 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11864 <tassilo@member.fsf.org>.
11865
2d43b8c9
LL
118662011-07-09 Leo Liu <sdl.web@gmail.com>
11867
11868 * register.el (insert-register): Restore accidental change on
11869 2011-06-26. (Bug#9028)
11870
7f9b7c53
GM
118712011-07-09 Glenn Morris <rgm@gnu.org>
11872
11873 * subr.el (remq): Handle the empty list. (Bug#9024)
11874
f042cfd8
AS
118752011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11876
11877 * mail/sendmail.el (send-mail-function): No longer delay custom
11878 initialization.
11879 * custom.el (custom-initialize-delay): Doc fix.
11880
856b2f11
SM
118812011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11882
11883 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11884
afae1d68
MA
118852011-07-08 Michael Albinus <michael.albinus@gmx.de>
11886
11887 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11888 human-friendly prompt.
11889
0757af94
SM
118902011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11891
11892 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11893 provided by a particular plugin.
11894
d760b731
LMI
118952011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11896
11897 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11898 save customizations (with "emacs -Q"), just set the variable
11899 instead of erroring out.
11900
11901 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11902
cd79ce90
JL
119032011-07-08 Juri Linkov <juri@jurta.org>
11904
11905 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11906 (archive-zip-update-case): Use 7z if found by `executable-find'.
11907 The order of searching the available programs is the same as in
11908 `archive-zip-extract' (bug#8968).
11909
14cc04aa
CY
119102011-07-07 Chong Yidong <cyd@stupidchicken.com>
11911
11912 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11913 (menu-bar-options-menu): Tweak descriptions.
11914
0a1848ec
LMI
119152011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11916
11917 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11918 menu items into verb phrases (bug#1421). Also refill to fit under
11919 80 columns.
11920
f5bd0689
CY
119212011-07-07 Chong Yidong <cyd@stupidchicken.com>
11922
538e85c6
CY
11923 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11924 (Info-read-node-name): Doc fix (Bug#1084).
11925
f5bd0689
CY
11926 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11927 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11928 (end-of-sexp, beginning-of-sexp)
11929 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11930 (forward-symbol, forward-same-syntax, word-at-point)
11931 (sentence-at-point): Doc fix (Bug#1144).
11932
56ec5115
LMI
119332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11934
f3f8e37f
LMI
11935 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11936 should cover it (bug#1281).
11937
0757af94 11938 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11939
e9fce1ac 11940 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11941 negotiation fails, then possibly try again with a non-encrypted
11942 connection (bug#9017).
11943
56ec5115
LMI
11944 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11945 be used.
11946
c2f9aec8
RS
119472011-07-07 Richard Stallman <rms@gnu.org>
11948
11949 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11950 property, and handle its changed format.
11951 Look for the correct line number.
11952 Use file's line contents (but not past first =) to find
11953 correct line in message.
11954
ef7b981d 119552011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11956
11957 * international/characters.el (build-unicode-category-table):
11958 Delete it.
0757af94 11959 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11960
0757af94 11961 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11962 to src/chartab.c.
11963 (get-char-code-property): Call unicode-property-table-internal to
11964 load a file. Call get-unicode-property-internal where necessary.
11965 (put-char-code-property): Call unicode-property-table-internal to
11966 load a file. Call put-unicode-property-internal where necessary.
11967 put-unicode-property-internal where necessary.
0757af94
SM
11968 (char-code-property-description):
11969 Call unicode-property-table-internal to load a file.
c805dec0
KH
11970
11971 * international/charprop.el:
11972 * international/uni-bidi.el:
11973 * international/uni-category.el:
11974 * international/uni-combining.el:
11975 * international/uni-comment.el:
11976 * international/uni-decimal.el:
11977 * international/uni-decomposition.el:
11978 * international/uni-digit.el:
11979 * international/uni-lowercase.el:
11980 * international/uni-mirrored.el:
11981 * international/uni-name.el:
11982 * international/uni-numeric.el:
11983 * international/uni-old-name.el:
11984 * international/uni-titlecase.el:
11985 * international/uni-uppercase.el: Regenerate.
11986
11987 * loadup.el: Load international/charprop.el before
11988 international/characters.
11989
e14b388a
CY
119902011-07-07 Chong Yidong <cyd@stupidchicken.com>
11991
11992 * window.el (next-buffer, previous-buffer): Signal an error if
11993 called from a minibuffer window.
11994
11995 * bindings.el: Revert 2011-07-04 change.
11996
354cf0ba
RS
119972011-07-06 Richard Stallman <rms@gnu.org>
11998
11999 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12000 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12001 Treat markers like ints.
12002 (rmail-mime-entity): Doc fix.
12003
a48868a7
LMI
120042011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12005
4906cd3d
LMI
12006 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12007 defcustom again for backwards compatibility.
12008
e0457abe
LMI
12009 * simple.el (shell-command-on-region): Fill.
12010
d67f7e1f
LMI
12011 * dired-aux.el (dired-kill-line): Add a doc string.
12012
fe204702
LMI
12013 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12014 to "\\sw\\|\\s_" (bug#358).
12015
a48868a7
LMI
12016 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12017 (dired-unmark-backward): Ditto.
12018 (dired-flag-backup-files): Ditto.
12019
12020 * dired-x.el (dired-mark-sexp): Ditto.
12021
aa8a705c
RS
120222011-07-06 Richard Stallman <rms@gnu.org>
12023
12024 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12025 (rmail-mime-entity): New arg TRUNCATED.
12026 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12027 New functions.
12028 (rmail-mime-save): Warn if entity is truncated.
12029 (rmail-mime-toggle-hidden): Likewise, for showing.
12030 (rmail-mime-process-multipart): Record when an entity is truncated.
12031
a9a936b9
RS
12032 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12033 if ENTITY is a string.
12034
1f2b92cb
LMI
120352011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12036
f4f73198 12037 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12038 of faces when `M-C-x'-ing their definitions (bug#8378).
12039 Also clean up the code slightly.
f4f73198 12040
12b16734 12041 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12042 because that makes the colors go away.
12b16734 12043
f0691d22
LMI
12044 * mail/sendmail.el (send-mail-function): Change the default to
12045 `sendmail-query-once'.
9e87df06 12046 (sendmail-query-once): Add an autoload cookie.
f0691d22 12047
1f2b92cb
LMI
12048 * net/network-stream.el (network-stream-open-starttls): Try using
12049 a plain connection even if the server offered STARTTLS, and we
12050 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12051 capability. This should make smtpmail.el work in slightly more
12052 configurations.
12053
1cdd2a1b
MA
120542011-07-06 Michael Albinus <michael.albinus@gmx.de>
12055
12056 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12057 New defun.
12058 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12059
fbcc67e2
MM
120602011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12061
12062 * progmodes/sql.el: Version 3.0
0757af94 12063 (sql-product-alist): Add product :completion-object,
fbcc67e2 12064 :completion-column, and :statement attributes.
0757af94 12065 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12066 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12067 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12068 ansi keywords.
12069 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12070 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12071 (sql-oracle-show-reserved-words): New function for development.
12072 (sql-product-font-lock): Simplify for source code buffers.
12073 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12074 New functions.
12075 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12076 (sql-mode-map): Add statement movement functions.
12077 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12078 New variable.
fbcc67e2
MM
12079 (sql-statement-regexp, sql-beginning-of-statement)
12080 (sql-end-of-statement, sql-signum): New functions.
0757af94 12081 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12082 (sql-show-sqli-buffer): Bug fix.
12083 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12084 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12085 with sql-interactive-mode.
12086 (sql-save-connection): Save buffer local settings.
0757af94 12087 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12088 (sql-product-interactive): Bug fix.
12089 (sql-preoutput-hold): New variable.
12090 (sql-interactive-remove-continuation-prompt): Bug fixes.
12091 (sql-debug-redirect): New variable.
12092 (sql-str-literal): New function.
12093 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12094 Redesign.
fbcc67e2
MM
12095 (sql-oracle-save-settings, sql-oracle-restore-settings)
12096 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12097 (sql-completion-object, sql-completion-column)
12098 (sql-completion-sqlbuf): New variables.
12099 (sql-build-completions-1, sql-build-completions)
12100 (sql-try-completion): New functions.
12101 (sql-read-table-name): Use them.
12102 (sql-contains-names): New buffer local variable.
12103 (sql-list-all, sql-list-table): Use it.
12104 (sql-oracle-completion-types): New variable.
12105 (sql-oracle-completion-object, sql-sqlite-completion-object)
12106 (sql-postgres-completion-object): New functions.
12107
d4eaeab1
GM
121082011-07-06 Glenn Morris <rgm@gnu.org>
12109
12110 * window.el (pop-to-buffer): Doc fix.
12111
322b7dab 121122011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12113
12114 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12115
322b7dab 121162011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12117
322b7dab 12118 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12119
322b7dab 12120 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12121
605dd5bf
CY
121222011-07-05 Chong Yidong <cyd@stupidchicken.com>
12123
12124 * button.el (button): Inherit from link face. Suggested by Dan
12125 Nicolaescu.
12126
7dbfa719
SM
121272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12128
3db614b0
SM
12129 * progmodes/gdb-mi.el: Fit in 80 columns.
12130 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12131 switch-to-buffer.
12132
7dbfa719
SM
12133 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12134 if imenu is simply not configured (bug#8941).
12135
919d884a
KM
121362011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12137
12138 * allout.el (allout-post-undo-hook): New allout outline-change
12139 event hook to signal undo activity.
12140 (allout-post-command-business): Run allout-post-undo-hook if an
12141 undo just occurred.
7dbfa719
SM
12142 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12143 * allout-widgets.el (allout-widgets-after-undo-function):
12144 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12145 in the vicinity of an undo.
12146 (allout-widgets-mode): Include allout-widgets-after-undo-function
12147 on the new allout-post-undo-hook.
12148
450a0f09
SM
121492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12150
12151 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12152 Let define-derived-mode define it.
12153 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12154 cycles of abbrev-table inheritance (bug#8998).
12155
2de69e00
RW
121562011-07-05 Roland Winkler <winkler@gnu.org>
12157
12158 * textmodes/bibtex.el: Add support for biblatex.
12159 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12160 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12161 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12162 (bibtex-entry-alist, bibtex-field-alist): New variables.
12163 (bibtex-entry-field-alist): Obsolete alias for
12164 bibtex-BibTeX-entry-alist.
12165 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12166 (bibtex-set-dialect): New command.
12167 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12168 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12169 Bind via bibtex-set-dialect.
2de69e00
RW
12170 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12171 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12172 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12173 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12174 Define via bibtex-set-dialect.
450a0f09
SM
12175 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12176 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12177 (bibtex-vec-push, bibtex-vec-incr): New functions.
12178 (bibtex-format-entry, bibtex-field-list)
12179 (bibtex-print-help-message, bibtex-validate)
12180 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12181
2dcdbdd9
SM
121822011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12183
12184 * progmodes/compile.el (compilation-goto-locus):
12185 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12186 * bs.el (bs-cycle-next, bs-cycle-previous):
12187 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12188 * bindings.el (mode-line-other-buffer):
12189 * autoinsert.el (auto-insert):
12190 * arc-mode.el (archive-extract):
12191 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12192
b27640fe
JB
121932011-07-05 Juanma Barranquero <lekktu@gmail.com>
12194
12195 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12196 Fix check of `emacs-lock-unlockable-modes'.
12197 Coerce true values of `emacs-lock--try-unlocking' to t.
12198
53bbe3ad
JB
121992011-07-05 Juanma Barranquero <lekktu@gmail.com>
12200
12201 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12202 * emacs-lock.el: New file.
12203
1d3cdbc7
JD
122042011-07-05 Julien Danjou <julien@danjou.info>
12205
12206 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12207 than `boundp' to check if face is set.
12208
9173deec
JB
122092011-07-05 Juanma Barranquero <lekktu@gmail.com>
12210
12211 * register.el (registerv-make):
12212 * window.el (window-min-height): Fix typos in docstrings.
12213
869795d6
JD
122142011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12215
9173deec 12216 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12217 Update doc string.
12218
b768cdcd
JB
122192011-07-04 Juanma Barranquero <lekktu@gmail.com>
12220
12221 * server.el (server-execute): Catch quit and call
12222 `server-return-error' to pass the error back to emacsclient and
12223 close the connection (bug#8942).
12224
13aa217b
KM
122252011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12226
12227 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12228 insecure exception for current topic. Also note that auto-saves
12229 are handled differently.
12230
5d3385a0 12231 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12232 State variables for tracking auto-save inhibition situation.
12233
12234 (allout-write-contents-hook-handler): Rename from
12235 'allout-write-file-hook-handler', and describe how it depends on
12236 write-contents-functions sensitivity to non-nil value to prevent
12237 file write.
12238
12239 (allout-auto-save-hook-handler): Remove. auto-save does not check
12240 this in individual buffers, only in the starting buffer, so this
12241 is not the right way for us to inhibit auto-save in a buffer
12242 according to its condition.
12243
12244 (allout-mode): Use new allout-write-contents-hook-handler, and
12245 only with write-contents-functions. Remove auto-save provisions -
12246 they're implemented elsewhere.
12247
12248 (allout-before-change-handler): If undo is in progress, note that
12249 for attention of allout-post-command-business.
12250
12251 (allout-post-command-business): If the command we're following was
12252 an undo, check for change in the status of encrypted items and
12253 adjust auto-save inhibitions accordingly.
12254
12255 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12256 according to whether there are or aren't any plain-text topics
12257 pending encryption.
12258
2dcdbdd9 12259 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12260 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12261 if there are plain-text topics pending encryption.
13aa217b
KM
12262
12263 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12264 buffer-saved-size and some allout state to not inhibit auto-saves
12265 if there are no longer any plain-text topics pending encryption.
12266
0757af94
SM
12267 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12268 No longer provide for exemption of the current topic.
13aa217b 12269
ac89b32c
JL
122702011-07-04 Juri Linkov <juri@jurta.org>
12271
12272 Add 7z operations to delete and save changed members (bug#8968).
12273 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12274 New defcustoms.
12275 (archive-7z-write-file-member): New function.
12276 (archive-7z-summarize): Fix the number of dashes in the
12277 listing output.
12278
8fa39615
SM
122792011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12280
12281 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12282 (bug#8958).
12283
2f11b3f1
CY
122842011-07-04 Chong Yidong <cyd@stupidchicken.com>
12285
d66fef2b
CY
12286 * bindings.el: Ignore next-buffer and previous-buffer in
12287 minibuffer-local-map.
12288
2f11b3f1
CY
12289 * font-lock.el (font-lock-builtin-face): Change light background
12290 color to dark slate blue (Bug#6693).
12291
f932a347
WD
122922011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12293
12294 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12295
c8af70e1
SM
122962011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12297
12298 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12299 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12300 Add switch-to-buffer.
12301
f158badc
LMI
123022011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12303
12304 * isearch.el (isearch-search-fun-function): Clarify further the
12305 meaning of the function returned.
12306
6d95bd46
MA
123072011-07-04 Michael Albinus <michael.albinus@gmx.de>
12308
12309 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12310
12311 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12312 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12313 Use it.
12314 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12315 `tramp-default-remote-path' does not exist.
12316 (tramp-send-command-and-read): New optional argument NOERROR.
12317 (tramp-open-connection-setup-interactive-shell)
12318 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12319 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12320 (tramp-process-sentinel): Flush also process' connection property.
12321 (tramp-sh-handle-start-file-process): Do not set process
12322 sentinel. It is done now ...
12323 (tramp-maybe-open-connection): ... here. (Bug#8929)
12324
909e6b67
MK
123252011-07-04 MON KEY <monkey@sandpframing.com>
12326
12327 * play/animate.el (animate-string): Doc fixes and allow changing
12328 the buffer name (bug#5417).
12329
123302011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12331
c8af70e1 12332 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12333
f34755dc
PE
123342011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12335
396cec72
PE
12336 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12337 This is simpler and helps future-proof the code.
12338 (timer-until): Use time-subtract and float-time.
08235028 12339 (timer--time-less-p): Use time-less-p.
f34755dc 12340
56e6cc31
JB
123412011-07-04 Juanma Barranquero <lekktu@gmail.com>
12342
3abb79e5
JB
12343 * type-break.el (timep): Use the value of `float-time' to avoid a
12344 byte-compiler warning.
12345
56e6cc31
JB
12346 * server.el (server-eval-and-print): Return any result, even nil.
12347
7b9430b4
PE
123482011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12349
12350 * type-break.el: Accept time formats that the builtins accept.
12351 (timep, type-break-time-difference): Accept any format that
12352 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12353 This is simpler and helps future-proof the code.
12354 (type-break-time-difference): Round rather than ignoring
12355 subseconds components.
12356
3034e9e7
LMI
123572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12358
12359 * info.el (Info-apropos-matches): Make non-interactive, since it
12360 doesn't seem to do anything useful as a command (bug#8829).
12361
1485f4c0
CY
123622011-07-03 Chong Yidong <cyd@stupidchicken.com>
12363
12364 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12365 Move from faces.el.
1485f4c0
CY
12366 (frame-default-terminal-background): New function.
12367
12368 * custom.el (custom-push-theme): Don't record faces in `changed'
12369 theme; this doesn't work correctly for per-frame face settings.
12370 (disable-theme): Use face-set-after-frame-default to reset faces.
12371 (custom--frame-color-default): New function.
12372
9fa3dd45
LMI
123732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12374
c8af70e1 12375 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12376 (bug#8769).
12377
6cbbc20c
KR
123782011-03-29 Kevin Ryde <user42@zip.com.au>
12379
12380 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12381 `perl-Test2' extend to match possible "fail #N" rep count
12382 (bug#8377).
12383
c7f98048
LMI
123842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12385
65676592
LMI
12386 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12387 `smtpmail-via-smtp' now returns the error instead of nil.
12388
c7f98048
LMI
12389 * isearch.el (isearch-search-fun-function): Clarify the doc string
12390 (bug#8101).
12391
56e6cc31 123922011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12393
12394 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12395 unnecessary spaces (bug#8987).
12396
2b216704
LMI
123972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12398
12399 * net/network-stream.el (open-network-stream): Use the
12400 :end-of-capability command thoughout.
12401
124022011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12403
12404 * net/network-stream.el (open-network-stream): Add the
12405 :end-of-capability command parameter, used by pop3.el.
12406
36adf6ce
LMI
124072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12408
1ca0da0e
LMI
12409 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12410
fc00f69c
LMI
12411 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12412 for list)" (bug#6475).
12413
28fd8759 12414 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12415 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12416 an error (bug#6297).
12417
0dd8b6da
LMI
12418 * man.el (Man-reference-regexp): Allow matching possible
12419 word-wrapped references (bug#6289).
12420
ce1438d6
LMI
12421 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12422 for consistency with the other vc buffers (bug#6197).
12423 (vc-checkin): Ditto.
12424
12425 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12426
36adf6ce
LMI
12427 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12428
e83cc1f7
LMI
124292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12430
8a20ca4c
LMI
12431 * custom.el (defcustom): Clarify that :set is only used in the
12432 Customize user interface (bug#6089).
12433
83319045
LMI
12434 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12435 associated with a file, refuse to run instead of erroring out
12436 (bug#6084).
12437
a8392169
LMI
12438 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12439 the doc string, since it appears that using `fill-column' always
12440 controls the width (bug#7845).
12441
e83cc1f7
LMI
12442 * simple.el (shell-command-on-region): Say where the error output
12443 went if `shell-command-default-error-buffer' is set (bug#6857).
12444
e47ca23b
KM
124452011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12446
12447 * allout.el (allout-yank-processing): Adjust cursor position for
12448 backwards-deleted space.
12449
12450 (allout-rebullet-heading): Register changes with
12451 allout-exposure-changed-hook, so the modified topic is properly
12452 decorated.
12453
5cf56143
LMI
124542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12455
08549772
LMI
12456 * minibuffer.el (completion-in-region): Document PREDICATE
12457 (bug#7136).
12458
48e96771
LMI
12459 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12460 of keyword/argument pairs (bug#6904).
12461
c8af70e1
SM
12462 * replace.el (multi-occur):
12463 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12464
e17d05e2
LMI
124652011-07-02 Drew Adams <drew.adams@oracle.com>
12466
12467 * dired.el (dired-mark-if): Make the message about whether it's
12468 marking or unmarking clearer (bug#8523).
12469
063b0e45
LMI
124702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12471
12472 * disp-table.el (display-table-print-array): New function.
12473 (describe-display-table): Use it to print the vectors more pretty
12474 (Bug#8859).
12475
28545e04
MR
124762011-07-02 Martin Rudalics <rudalics@gmx.at>
12477
12478 * window.el (window-state-get-1): Don't assign clone numbers.
12479 Add clone-of item to list of window parameters.
12480 (window-state-put-2): Don't process clone numbers.
12481 (display-buffer-alist): Fix doc-string.
12482
3349e122
SM
124832011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12484
12485 * subr.el (remq): Don't allocate if it's not needed.
12486 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12487 (keymap--merge-bindings): New functions.
12488 (keymap-canonicalize): Use them to refine the canonicalization.
12489 * minibuffer.el (minibuffer-local-completion-map)
12490 (minibuffer-local-must-match-map): Move initialization from C.
12491 (minibuffer-local-filename-completion-map): Move initialization from C;
12492 don't inherit from anything here.
12493 (minibuffer-local-filename-must-match-map): Make obsolete.
12494 (completing-read-default): Use make-composed-keymap to combine
12495 minibuffer-local-filename-completion-map with either
12496 minibuffer-local-must-match-map or
12497 minibuffer-local-filename-completion-map.
12498
d224ac83
GM
124992011-07-01 Glenn Morris <rgm@gnu.org>
12500
3de63bf8
GM
12501 * type-break.el (type-break-time-sum): Use dolist.
12502
d224ac83
GM
12503 * textmodes/flyspell.el (flyspell-word-search-backward):
12504 Replace CL function.
12505
1a1e3f32
SM
125062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12507
fe3f64d5
SM
12508 * mouse.el (mouse--strip-first-event): New function.
12509 (function-key-map): Use it to map fringe clicks to normal clicks
12510 by default.
12511
eb604e34
SM
12512 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12513 (vc-bzr-revision-completion-table): Add support for annotate and date.
12514
1a1e3f32
SM
12515 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12516 inherit from parent.
12517
5bd35902
LMI
125182011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12519
ace6c69c 12520 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12521 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12522
191e2bed
LMI
12523 * dired.el (dired-mode): Fix up the doc string as suggested by
12524 Drew Adams (bug#8817).
12525
5bd35902
LMI
12526 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12527 cookie, since the manual says that it should be possible to add
12528 this function to `find-file-hook' (bug#8709).
12529
eee8207a
TZ
125302011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12531
12532 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12533 here. Noted Ted Zlatanov as the maintainer.
12534 (cfengine-common-settings, cfengine-common-syntax): New functions
12535 to set up common things between `cfengine-mode' and
12536 `cfengine3-mode'.
12537 (cfengine3-mode): New mode.
12538 (cfengine3-defuns cfengine3-defuns-regex
12539 (cfengine3-class-selector-regex cfengine3-category-regex)
12540 (cfengine3-vartypes cfengine3-font-lock-keywords)
12541 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12542 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12543
36b148cf
MA
125442011-07-01 Michael Albinus <michael.albinus@gmx.de>
12545
12546 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12547
12548 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12549
0bf4ba9a
MR
125502011-07-01 Martin Rudalics <rudalics@gmx.at>
12551
12552 * window.el (same-window-buffer-names, same-window-regexps)
12553 (same-window-p, special-display-frame-alist)
12554 (special-display-popup-frame, special-display-function)
12555 (special-display-buffer-names, special-display-regexps)
12556 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12557 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12558 (split-window-preferred-function, split-height-threshold)
12559 (split-width-threshold, even-window-heights)
12560 (display-buffer-mark-dedicated, window-splittable-p)
12561 (split-window-sensibly, window-safely-shrinkable-p):
12562 Un-obsolete.
12563 (display-buffer): Don't spread args with function specifier
12564 because special-display-popup-frame won't like it.
12565
35837f51
PE
125662011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12567
d0672f86
PE
12568 Time-stamp simplifications and fixes.
12569 These improve accuracy slightly, and future-proof the code
12570 against some potential changes to current-time format.
12571
b9444d97
PE
12572 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12573 by using time-since and float-time.
12574
0ef923dc
PE
12575 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12576 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12577 + NNN microseconds".
12578
2f81380d
PE
12579 * type-break.el (type-break-time-sum): Rewrite using time-add.
12580
845b5c3e
PE
12581 * play/hanoi.el (hanoi-current-time-float): Remove.
12582 All uses replaced by float-time.
12583
ee6f1be0
PE
12584 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12585 This yields a more-accurate answer.
12586 (rng-time-to-float): Remove; no longer needed.
12587
fe955043
PE
12588 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12589
5777162a
PE
12590 * calendar/timeclock.el (timeclock-seconds-to-time):
12591 Defalias to seconds-to-time, since they're the same thing.
12592
3103f8b6 12593 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12594 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12595 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12596
0e61a35f
SM
125972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * window.el (bury-buffer): Don't iconify the only frame.
12600 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12601 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12602
ddd63a1e
CY
126032011-07-01 Chong Yidong <cyd@stupidchicken.com>
12604
0e61a35f
SM
12605 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12606 Add mouse-yank-primary.
ddd63a1e 12607
055f4923
TZ
126082011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12609
12610 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12611
6a2fb145
SM
126122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12613
12614 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12615 (find-library-name): Use it to find relative load names when provided
12616 absolute file name (bug#8803).
12617
fd4983f2
LMI
126182011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12619
887d14ad
LMI
12620 * textmodes/flyspell.el (flyspell-word): Consider words that
12621 differ only in case as potential doublons (bug#5687).
12622
c53dc7fc
LMI
12623 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12624 Remove two rather uninteresting debugging-like messages to make
12625 debbugs.el more silent.
12626
fd4983f2
LMI
12627 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12628 a password-like phrase.
12629
7a71b18d 126302011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12631
12632 * progmodes/cc-guess.el: New file.
12633
6a2fb145 12634 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12635
12636 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12637 derived from `c-basic-common-init'.
12638
12639 * progmodes/cc-mode.el (top-level): Require cc-guess.
12640 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12641
1fa280a3
LM
126422011-06-30 Lawrence Mitchell <wence@gmx.li>
12643
12644 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12645
e6597158
AM
126462011-06-30 Alan Mackenzie <acm@muc.de>
12647
1fa280a3
LM
12648 * progmodes/cc-engine.el (c-guess-continued-construct):
12649 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12650 lock is disabled. Name this case as "CASE G".
12651
68ba37fb
KM
126522011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12653
12654 * allout.el (allout-yank-processing): Fix injection of extra space
12655 between bullet and non-whitespace character in first topic when
12656 pasting, ensuring that the actual spacing in the pasted topic
12657 following the bullet char is preserved. This extra space was
12658 causing pasted encrypted topics to get a decrypted status even
12659 when the content was actually still encrypted. Now the decryption
12660 status from before the paste is preserved.
12661
12662 (allout-flag-region): Set all allout overlays so they evaporate
12663 when reduced to zero length (evanescent), to prevent overlay
12664 leakage.
12665
887a0b34
GM
126662011-06-30 Glenn Morris <rgm@gnu.org>
12667
94b9acce
GM
12668 * w32-fns.el (w32-charset-info-alist): Declare.
12669
1d9b46d4
GM
12670 * find-dired.el (find-grep-options): Simplify.
12671
cc232200
GM
12672 * term/ns-win.el (ns-set-resource): Declare.
12673
28e77c46
GM
12674 * ses.el (row, col): Declare dynamic variables honestly.
12675
887a0b34
GM
12676 * textmodes/reftex-parse.el (index-tags): Declare.
12677
658d8eb8
CY
126782011-06-30 Chong Yidong <cyd@stupidchicken.com>
12679
12680 * cus-edit.el (customize-push-and-save): New function.
12681
12682 * files.el (hack-local-variables-confirm): Use it.
12683
1fa280a3
LM
12684 * custom.el (load-theme): New arg NO-CONFIRM.
12685 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12686 (custom-enabled-themes): Doc fix.
12687
12688 * cus-theme.el (customize-create-theme)
12689 (custom-theme-merge-theme): Callers to load-theme changed.
12690
bb617717
LMI
126912011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12692
d61bdd5d
LMI
12693 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12694 short URLs have at least one dot in them (bug #7614).
12695
bb617717
LMI
12696 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12697 nil, because using a pty is apparently too slow (bug #895).
12698
2f31f37a
LMI
126992011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12700
12701 * mail/sendmail.el (sendmail-query-once): New function.
12702 (sendmail-query-once-function): New variable.
12703
3076b24e
GM
127042011-06-29 Glenn Morris <rgm@gnu.org>
12705
faf2a174
GM
12706 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12707
3076b24e
GM
12708 * ses.el (top-level): Require cl when compiling.
12709 (ses-set-localvars): Fix error statement.
12710 Call it at compile time to silence a storm of warnings.
12711
5386012d
MR
127122011-06-29 Martin Rudalics <rudalics@gmx.at>
12713
12714 * window.el (normalize-live-buffer): Rename to
12715 window-normalize-buffer.
12716 (normalize-live-frame): Rename to window-normalize-frame.
12717 (normalize-any-window): Rename to window-normalize-any-window.
12718 (normalize-live-window): Rename to window-normalize-live-window.
12719 (make-window-atom): Rename to window-make-atom.
12720 (window-resize-reset): Rename to window--resize-reset.
12721 (window-resize-reset-1): Rename to window--resize-reset-1.
12722 (resize-mini-window): Rename to window--resize-mini-window.
12723 (resize-subwindows-skip-p): Rename to
12724 window--resize-subwindows-skip-p.
12725 (resize-subwindows-normal): Rename to
12726 window--resize-subwindows-normal.
12727 (resize-subwindows): Rename to window--resize-subwindows.
12728 (resize-other-windows): Rename to window--resize-siblings.
12729 (resize-this-window): Rename to window--resize-this-window.
12730 (resize-root-window): Rename to window--resize-root-window.
12731 (resize-root-window-vertically): Rename to
12732 window--resize-root-window-vertically.
12733 (normalize-buffer-to-display): Rename to
12734 window-normalize-buffer-to-display.
12735 (normalize-buffer-to-switch-to): Rename to
12736 window-normalize-buffer-to-switch-to.
12737 Correspondingly update all callers of the functions listed
12738 above.
12739 (display-buffer-alist, display-buffer-normalize-arguments)
12740 (display-buffer-normalize-options, display-buffer)
12741 (display-buffer-alist-set): Use "function" instead of
12742 "fun-with-args".
12743
1176868d
CY
127442011-06-28 Chong Yidong <cyd@stupidchicken.com>
12745
12746 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12747 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12748 debbugs.gnu.org. Mention acknowledgment email.
12749
20a7a65f
LMI
127502011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12751
12752 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12753 buffer multibyteness, since it shouldn't matter.
12754
5f45cca5
MR
127552011-06-28 Martin Rudalics <rudalics@gmx.at>
12756
12757 * window.el (display-buffer-in-side-window): Handle dedicated
12758 windows as in display-buffer-reuse-window.
12759 (display-buffer-normalize-alist): Use value of override
12760 specifier.
12761 (display-buffer-normalize-specifiers): Use value of
12762 other-window-means-other-frame specifier.
12763 (display-buffer-alist): Rewrite some texts in widgets.
12764 (display-buffer): Spread arguments when calling function
12765 specified by fun-with-args.
12766
ad85fe1f
DD
127672011-06-28 Deniz Dogan <deniz@dogan.se>
12768
1fa280a3
LM
12769 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12770 Unnest `let'.
da68c4c8 12771
ad85fe1f
DD
12772 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12773 selectors (Bug#5732).
ec49bd31 12774 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12775
a08cc025
JA
127762011-06-27 Jari Aalto <jari.aalto@cante.net>
12777
12778 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12779 (eshell-ls-date-format): New defcustom.
12780 (eshell-ls-file): Use it.
12781
e2b551c5
SM
127822011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12783
12784 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12785
8982b231
KY
127862011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12787
12788 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12789 (ange-ftp-make-tmp-name): New arg.
12790 (ange-ftp-file-local-copy): Use it.
12791
36c9fa27
J
127922011-06-27 Jambunathan K <kjambunathan@gmail.com>
12793
12794 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12795 no-conversion (Bug#8870).
12796
d68443dc
MR
127972011-06-27 Martin Rudalics <rudalics@gmx.at>
12798
12799 * window.el (window-right, window-left, window-child)
12800 (window-child-count, window-last-child)
12801 (window-iso-combination-p, walk-window-tree-1)
12802 (window-atom-check-1, window-tree-1, delete-window)
12803 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12804 new naming conventions - window-vchild, window-hchild,
12805 window-next and window-prev are now called window-top-child,
12806 window-left-child, window-next-sibling and window-prev-sibling
12807 respectively.
d615d6d2
MR
12808 (resize-window-reset): Rename to window-resize-reset.
12809 (resize-window-reset-1): Rename to window-resize-reset-1.
12810 (resize-window): Rename to window-resize.
12811 (window-min-height, window-min-width)
12812 (resize-mini-window, resize-this-window, resize-root-window)
12813 (resize-root-window-vertically, adjust-window-trailing-edge)
12814 (enlarge-window, shrink-window, maximize-window)
12815 (minimize-window, delete-window, quit-restore-window)
12816 (split-window, balance-windows, balance-windows-area-adjust)
12817 (balance-windows-area, window-state-put-2)
12818 (display-buffer-even-window-sizes, display-buffer-set-height)
12819 (display-buffer-set-width, set-window-text-height)
12820 (fit-window-to-buffer): Rename all "resize-window" prefixed
12821 calls to use the "window-resize" prefix convention.
12822 (display-buffer-alist): Fix symbol for label specifier.
12823 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12824 corresponding specifier.
12825 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12826
b6458526
VB
128272011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12828
12829 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12830 convention.
12831 (ses-call-printer): Does not pass an empty string to formatter when the
12832 cell is empty to keep from barking printer Calc math-format-value.
12833
d31fd9ac
RS
128342011-06-27 Richard Stallman <rms@gnu.org>
12835
43d5bf84
RS
12836 * battery.el (battery-mode-line-limit): New variable.
12837 (battery-update): Handle it.
12838
d31fd9ac
RS
12839 * mail/rmailmm.el (rmail-mime-process-multipart):
12840 Handle truncated messages.
12841
819a6054
GM
128422011-06-27 Glenn Morris <rgm@gnu.org>
12843
12844 * progmodes/flymake.el (flymake-err-line-patterns):
12845 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12846
cedc73f2
VB
128472011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12848
819a6054 12849 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12850 (ses--clean-!, ses--clean-_): New functions.
12851 (ses-range): Add configurability of readout order, and conversion
12852 to Calc vector.
12853
5e5d49b6
VB
12854 * ses.el (ses-repair-cell-reference-all): New function.
12855 (ses-cell-symbol): Set macro as safe, so that it can be used in
12856 formulas.
12857
56e6cc31 12858 * ses.el: Update cycle detection algorithm.
90ca8b49 12859 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12860 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12861 (ses-set-localvars): New function.
12862 (ses-make-cell): Add property-list as a cell element.
12863 (ses-cell-property-get-fun, ses-cell-property-get)
12864 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12865 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12866 New functions.
90ca8b49
VB
12867 (ses-cell-property-set, ses-cell-property-pop)
12868 (ses-cell-property-get-handle): New macro.
12869 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12870 New aliases, used for code readability.
12871 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12872 cycle detection.
12873 (ses-self-reference-early-detection): New defcustom.
fac916bf 12874 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12875 (ses-mode): Use ses-set-localvars.
12876 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12877 before lauching the update processing.
12878 (ses-initialize-Dijkstra-attempt): New function.
12879 (ses-recalculate-cell): Update for cycle detection based on
12880 Dijkstra algorithm.
12881
2bb63e81
VB
12882 * ses.el: Fix commenting and indenting convention.
12883
c9d29fb8
SM
128842011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12885
12886 * bs.el (bs-cycle-next): Complete last change.
12887
d8e4b68b
JB
128882011-06-27 Drew Adams <drew.adams@oracle.com>
12889
12890 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12891
40098786
LMI
128922011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12893
c9d29fb8
SM
12894 * net/network-stream.el (network-stream-open-starttls):
12895 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12896 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12897
40098786
LMI
12898 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12899 to binary to possibly avoid line encoding issues on Windows (among
12900 other things).
12901
468d09d4
LMI
129022011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12903
12904 * net/network-stream.el (open-network-stream): Return an :error
12905 saying what the problem was, if possible.
12906
12907 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12908 server.
12909
12910 * net/network-stream.el (network-stream-open-starttls): If we
12911 wanted to use STARTTLS, and the server offered it, but we weren't
12912 able to because we had no STARTTLS support, then close the connection.
12913 (open-network-stream): Return an :error element, if present.
12914
16f07dd7
CY
129152011-06-26 Chong Yidong <cyd@stupidchicken.com>
12916
88821ca0
CY
12917 * hl-line.el (hl-line-sticky-flag): Doc fix.
12918 (global-hl-line-sticky-flag): New option (Bug#8323).
12919 (global-hl-line-highlight): Obey it.
12920
16f07dd7
CY
12921 * vc/vc.el (vc-revert-show-diff): Default to t.
12922
6b5ccddf
KM
129232011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12924
c9d29fb8
SM
12925 * allout-widgets.el (allout-widgets-post-command-business):
12926 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12927 undecorated when an isearch is continued past, and isearch
12928 automatically collapses them. This leads to "widget leaks", where
12929 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12930 hidden widgets can slow down cursor travel, substantially.
12931 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12932 so we're doing without this nicety.
12933
12934 (allout-widgets-tally-string): Don't try to do a hash-table-count
12935 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12936 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12937 *Messages* when allout-widgets-maintain-tally is t.
12938
355f2e07
MR
129392011-06-26 Martin Rudalics <rudalics@gmx.at>
12940
12941 * window.el (display-buffer-normalize-argument): Rename to
12942 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12943 LABEL argument. Respect special-display-function when popping up
12944 a new frame. Fix code searching for a window showing the buffer
12945 on another frame.
c9d29fb8
SM
12946 (display-buffer-normalize-specifiers):
12947 Call display-buffer-normalize-arguments.
355f2e07
MR
12948 (display-buffer-in-window): Don't undedicate the window if its
12949 buffer remains the same.
12950 Reported by Drew Adams <drew.adams@oracle.com>.
12951 (display-buffer-alist): Add choice for same-window macro
12952 specfier.
12953 (display-buffer): Mention special meaning of LABEL argument in
12954 doc-string. Fix quoting. Don't pop up a new frame even as
12955 fallback.
12956
7ca8fc42
JB
129572011-06-26 Juanma Barranquero <lekktu@gmail.com>
12958
12959 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12960 avoid deleting the current window in some cases (bug#8911).
12961
bc312254
AS
129622011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12963
12964 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12965 (Bug#8934)
12966
2db18f3f
LMI
129672011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12968
c9d29fb8
SM
12969 * net/network-stream.el (network-stream-open-starttls):
12970 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12971 (network-stream-open-tls): Ditto.
12972
6302e0d3
LL
129732011-06-26 Leo Liu <sdl.web@gmail.com>
12974
12975 * register.el (registerv): New struct.
12976 (registerv-make): New function.
c9d29fb8
SM
12977 (jump-to-register, describe-register-1, insert-register):
12978 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12979 struct. (Bug#8415)
12980
5fdd4046
CY
129812011-06-26 Chong Yidong <cyd@stupidchicken.com>
12982
2afef60a
CY
12983 * vc/vc.el (vc-revert-show-diff): New defcustom.
12984 (vc-diff-internal): New arg specifying diff buffer.
12985 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12986 reuse an existing *vc-diff* buffer (Bug#8927).
12987
5fdd4046
CY
12988 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12989
e93db24a
GM
129902011-06-26 Glenn Morris <rgm@gnu.org>
12991
12992 * progmodes/f90.el (f90-critical-indent): New option.
12993 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12994 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12995 (f90-mode): Doc fix.
12996 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12997 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12998 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12999 (f90-match-end): Handle block, critical.
13000
eefff499
GM
130012011-06-25 Glenn Morris <rgm@gnu.org>
13002
f6ba4cc9
GM
13003 * calendar/diary-lib.el (diary-included-files): Doc fix.
13004 (diary-include-files): New function, extracted from
13005 diary-include-other-diary-files and diary-mark-included-diary-files.
13006 (diary-include-other-diary-files, diary-mark-included-diary-files):
13007 Just call diary-include-files.
13008 (diary-mark-entries): Reset diary-included-files on first call.
13009
16712304
GM
13010 * calendar/diary-lib.el (diary-mark-entries)
13011 (diary-mark-included-diary-files):
13012 Visit included diary-files in temp buffers.
13013
5d8e0d43
GM
13014 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13015 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13016 (f90-start-block-re, f90-imenu-generic-expression)
13017 (f90-looking-at-program-block-start, f90-no-block-limit):
13018 Add support for submodules.
13019
ccf7a5d5
GM
13020 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13021 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13022
11fdef7d 130232011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13024
13025 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13026 buffer-file-type before setting its value, to avoid disastrous
eefff499 13027 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13028
74f53697
JB
130292011-06-25 Juanma Barranquero <lekktu@gmail.com>
13030
13031 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13032
13033 * ses.el (ses-unload-function):
13034 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13035
13036 * proced.el (proced-unload-function):
13037 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13038
18a4ce5e
AR
130392011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13040
13041 * server.el (server-create-window-system-frame): Add parameters arg.
13042 (server-process-filter): Doc fix. Handle frame-parameters.
13043
519d22cc
JB
130442011-06-25 Juanma Barranquero <lekktu@gmail.com>
13045
13046 Fix bug#8730, bug#8781.
13047
13048 * loadhist.el (unload--set-major-mode): New function.
13049 (unload-feature): Use it.
13050
13051 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13052 (python-unload-function): New function.
13053
c206f5b0
SM
130542011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13055
13056 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13057
f9ad64f3
GS
130582011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13059
13060 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13061 the candidates list.
13062
7d0da90e
JB
130632011-06-24 Juanma Barranquero <lekktu@gmail.com>
13064
13065 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13066
14b4e83d
RS
130672011-06-23 Richard Stallman <rms@gnu.org>
13068
13069 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13070 (rmail-variables): Set next-error-move-function.
13071 (rmail-what-message): Take argument POS.
13072 (rmail-next-error-move): New function.
13073
273d2baf
SM
130742011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13077 messages for adjacent non-terminals.
13078
56c2cc9a
RS
130792011-06-23 Richard Stallman <rms@gnu.org>
13080
13081 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13082 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13083 (rmail-start-mail): Don't specify use of rmail-mail-return;
13084 that's done by mail-bury now.
13085 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13086
d59eb518
MA
130872011-06-23 Michael Albinus <michael.albinus@gmx.de>
13088
13089 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13090 SIZE is a number.
13091
02cfc6d6
MR
130922011-06-23 Martin Rudalics <rudalics@gmx.at>
13093
13094 * window.el (get-lru-window, get-mru-window)
13095 (get-largest-window): Never return a minibuffer window.
13096 (display-buffer-pop-up-window): Fix a bug that could lead to
13097 reusing the minibuffer window.
13098 (display-buffer): Pass original specifier argument to
13099 display-buffer-function instead of the normalized one.
13100 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13101
4e323265
LL
131022011-06-22 Leo Liu <sdl.web@gmail.com>
13103
13104 * minibuffer.el (completing-read-function)
13105 (completing-read-default): Move from minibuf.c
13106
7a70468f
RS
131072011-06-22 Richard Stallman <rms@gnu.org>
13108
50718fc2
RS
13109 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13110 to Rmail even if not started by a special Rmail command.
13111
7a70468f
RS
13112 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13113 Copy the buffer currently showing just one message.
13114
297dde5a
RW
131152011-06-22 Roland Winkler <winkler@gnu.org>
13116
13117 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13118 (bibtex-clean-entry): First delete the old key so that a
13119 customized algorithm for generating the new key does not get
13120 confused by the old key.
13121 (bibtex-url): Obey regexp of first step.
13122 (bibtex-search-entries): Do not use add-to-list with local
13123 list-var.
13124
97bb1093
LMI
131252011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13126
13127 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13128 stored a user name, then query for the password first, instead of
13129 waiting for SMTP to give an error message and the trying again.
13130
1c0f1a19
JD
131312011-06-22 Lawrence Mitchell <wence@gmx.li>
13132
13133 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13134 BUFFER in call-process.
13135
396f7c9d
LMI
131362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13137
13138 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13139 QUIT twice.
ddb7ffee
LMI
13140 (smtpmail-try-auth-methods): Require user name and password from
13141 auth-source.
396f7c9d 13142
8998d1b3
MR
131432011-06-22 Martin Rudalics <rudalics@gmx.at>
13144
13145 * window.el (display-buffer-default-specifiers)
13146 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13147 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13148 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13149
13150 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13151 (special-display-frame-alist, special-display-popup-frame):
13152 Remove duplicate declarations. These are now in window.el.
13153
4ea31e07
LMI
131542011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13155
c9d29fb8
SM
13156 * mail/smtpmail.el (smtpmail-via-smtp):
13157 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13158 server supports it. SMTP servers that support STARTTLS commonly
13159 require it.
13160
13161 * net/network-stream.el (network-stream-open-starttls): Support
13162 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13163 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13164
95f41d9a
LMI
13165 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13166 upgrades with `open-network-stream', and rely solely on
13167 auth-source for all credentials. Big changes throughout the file,
13168 but in particular:
c9d29fb8
SM
13169 (smtpmail-auth-credentials): Remove.
13170 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13171 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13172 MAIL FROM, too.
95f41d9a 13173
c9d29fb8
SM
13174 * net/network-stream.el (network-stream-open-starttls):
13175 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13176 STARTTLS.
13177 (auth-source): Require.
13178 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13179 (network-stream-certificate): Change cert-cert to cert and
13180 cert-key to key.
4ea31e07 13181
065ec2c7
MA
131822011-06-21 Michael Albinus <michael.albinus@gmx.de>
13183
13184 * net/tramp-cache.el (top): Don't load the persistency file when
13185 "emacs -Q" has been called.
13186
cd93b359
DR
131872011-06-21 Tim Harper <timcharper@gmail.com>
13188
d8e4b68b
JB
13189 * term/ns-win.el (ns-initialize-window-system):
13190 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13191 resource to NO as it is not yet supported by the NS port.
13192
ae9c0411
JB
131932011-06-21 Juanma Barranquero <lekktu@gmail.com>
13194
13195 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13196 (list-dynamic-libraries): ...not here.
13197
7f3f739f
LL
131982011-06-21 Leo Liu <sdl.web@gmail.com>
13199
13200 * subr.el (sha1): Implement sha1 using secure-hash.
13201
327c8fb1
MR
132022011-06-21 Martin Rudalics <rudalics@gmx.at>
13203
13204 * window.el (display-buffer-alist): In default value do not
13205 enforce searching a window on any but the selected frame.
13206 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13207 (display-buffer-select-window): Remove function.
13208 (display-buffer-in-window): When a window on another frame gets
13209 reused, do not select it any more but just raise its frame if
13210 necessary (Bug#8851) and (Bug#8856).
13211 (display-buffer-normalize-options): Handle pop-up-frames related
13212 options more faithfully.
13213 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13214 window if it is on another frame.
c9d29fb8
SM
13215 (display-buffer-alist, display-buffer-default-specifiers):
13216 Don't make new frame unsplittable by default.
9e9de014
MR
13217 (display-buffer-normalize-argument): Fix doc-string typo and use
13218 'same-frame-other-window instead of 'other-window when associating
13219 with display-buffer-macro-specifiers.
327c8fb1 13220
7cf3f556
VB
132212011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13222
13223 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13224 New functions.
13225 (5x5-mode-map, 5x5-mode-menu): Bind them.
13226 (5x5-draw-grid): Tweak the solver's rendering.
13227
60a406cf
SM
132282011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13231 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13232
d8e4b68b 132332011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13234
13235 * menu-bar.el: Use function variable instead of switch-to-buffer.
13236 (menu-bar-select-buffer-function): New variable.
60a406cf 13237 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13238
478d6f95
SM
132392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13240
13241 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13242 variable's status.
13243
ca530739
JD
132442011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13245
13246 * x-dnd.el (x-dnd-version-from-flags)
13247 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13248 and long as number (Bug#8899).
13249 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13250
bcd70d97
SM
132512011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13252
60a406cf 13253 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13254 (completion-try-completion, completion-all-completions): Compute the
13255 metadata argument if it's missing; make it optional (bug#8795).
13256
60a406cf 13257 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13258 (widget-complete): Use new :completion-function property.
13259 (widget-completions-at-point): New function.
13260 (default): Use :completion-function instead of :complete.
60a406cf
SM
13261 (widget-default-completions): Rename from widget-default-complete;
13262 Rewrite.
bcd70d97
SM
13263 (widget-string-complete, widget-file-complete, widget-color-complete):
13264 Remove functions.
13265 (file, symbol, function, variable, coding-system, color):
13266 * international/mule-cmds.el (default-input-method, charset)
13267 (language-info-custom-alist):
13268 * cus-edit.el (face): Use new property :completions.
13269
13270 * progmodes/pascal.el (pascal-completions-at-point): New function.
13271 (pascal-mode): Use it.
13272 (pascal-mode-map): Use completion-at-point.
13273 (pascal-toggle-completions): Make obsolete.
13274 (pascal-complete-word, pascal-show-completions):
13275 * progmodes/octave-mod.el (octave-complete-symbol):
13276 Redefine as obsolete alias.
13277 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13278 Signal absence of completion info for old Octave,
13279 (inferior-octave-complete): Redefine as obsolete alias.
13280 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13281 (meta-completions-at-point): Rename from meta-complete-symbol and
13282 adapt it for use on completion-at-point-functions.
13283 (meta-common-mode): Use it.
13284 (meta-looking-at-backward, meta-match-buffer): Remove.
13285 (meta-complete-symbol): Redefine as obsolete alias.
13286 (meta-common-mode-map): Use completion-at-point.
13287 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13288 (makefile-mode-map): Use completion-at-point.
13289 (makefile-completions-at-point): Rename from makefile-complete and
13290 adapt it for use on completion-at-point-functions.
13291 (makefile-mode): Use it.
13292 (makefile-complete): Redefine as obsolete alias.
13293
aebf69c8
DD
132942011-06-20 Deniz Dogan <deniz@dogan.se>
13295
13296 * net/rcirc.el: Delete trailing whitespaces once and for all.
13297
bfbbb27d
DC
132982011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13299
13300 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13301
d264a46b
CY
133022011-06-19 Chong Yidong <cyd@stupidchicken.com>
13303
4ca009e5
CY
13304 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13305
d264a46b
CY
13306 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13307
fbf5b3ce
MR
133082011-06-19 Martin Rudalics <rudalics@gmx.at>
13309
13310 * window.el (display-buffer-other-window-means-other-frame):
13311 Call display-buffer-normalize-alist.
13312 (display-buffer-normalize-specifiers-1): Rename to
13313 display-buffer-normalize-argument. New argument other-frame.
13314 Rewrite.
13315 (display-buffer-normalize-specifiers-2): Rename to
13316 display-buffer-normalize-options.
13317 (display-buffer-normalize-alist-1): New function.
13318 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13319 display-buffer-normalize-alist.
13320 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13321 (display-buffer-normalize-options-inhibit): New variable.
13322 (display-buffer-normalize-specifiers): Rewrite calling
13323 display-buffer-normalize-alist,
13324 display-buffer-normalize-argument, and
13325 display-buffer-normalize-options. Don't call the latter if
13326 display-buffer-normalize-options-inhibit is non-nil.
13327 (frame-auto-delete): New option.
13328 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13329 (window-list-no-nils, window-state-ignored-parameters)
13330 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13331 (window-state-put-1, window-state-put-2, window-state-put):
13332 New functions.
9a028c23
MR
13333 (display-buffer-normalize-options): Move special-display-p group
13334 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13335
6d10d800
CY
133362011-06-18 Chong Yidong <cyd@stupidchicken.com>
13337
6420d28b
CY
13338 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13339 groups (Bug#8776).
13340 (rx-submatch-n): New function.
13341 (rx): Document it.
13342
ddb8b596
CY
13343 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13344 (Bug#8768).
13345
13346 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13347
77080289
CY
13348 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13349
61dfb316
CY
13350 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13351 anytime existing face settings are present (Bug#8889).
13352
6d10d800
CY
13353 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13354 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13355 Remove unused argument.
13356
be3fb2b8
MR
133572011-06-18 Martin Rudalics <rudalics@gmx.at>
13358
bcd70d97
SM
13359 * window.el (display-buffer-default-specifiers):
13360 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13361 pop-up-window-min-width, and another reuse-window specifier
13362 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13363 (display-buffer-normalize-specifiers-2):
13364 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13365 pop-up-windows is unset. Add a reuse-window specifier for the
13366 case popping up a new window fails.
13367 (special-display-popup-frame): Remove double quoting.
28dec25a 13368 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13369
1c6d8c76
SM
133702011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13371
13372 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13373 according to comint-completion-addsuffix.
13374
13375 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13376 (pcomplete-suffix-list): Mark as obsolete.
13377 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13378 pcomplete-seen in the closure.
13379 (pcomplete-comint-setup): Setup completion-at-point as well.
13380 (pcomplete--entries): New function.
13381 (pcomplete--env-regexp): New var.
13382 (pcomplete-entries): Rewrite to work with partial-completion and
13383 without relying on pcomplete-suffix-list.
13384 (pcomplete-pare-list): Remove, unused.
13385
25aef8b8
MR
133862011-06-17 Martin Rudalics <rudalics@gmx.at>
13387
13388 * window.el (display-buffer-alist): Set pop-up-window-min-height
13389 and pop-up-window-min-width in default value. Reported by
13390 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13391 other-window-means-other-frame.
13392 (display-buffer-macro-specifiers): Comment out entry for
13393 other-window specifier.
13394 (display-buffer-other-window-means-other-frame): New function.
13395 (display-buffer-normalize-specifiers-1): New arguments
13396 buffer-name and label. Treat other-window case specially.
13397 (display-buffer-normalize-specifiers-2): Treat other-window case
13398 specially.
13399 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13400 (display-buffer-normalize-specifiers):
13401 Call display-buffer-normalize-specifiers-3.
25aef8b8 13402
dbad4f69
MR
134032011-06-17 Martin Rudalics <rudalics@gmx.at>
13404
13405 * window.el (same-window-p): Fix two typos introduced when
13406 adding with-no-warnings.
d1067961
MR
13407 (display-buffer-normalize-specifiers-1): Don't check
13408 pop-up-frames for 'unset initialization.
13409 (display-buffer-normalize-specifiers-2): Major rewrite using
13410 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13411 (pop-up-frames, display-buffer-reuse-frames)
13412 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13413 Suggested by David Engster <deng@randomsample.de>.
13414 (even-window-heights): Initialize to 'unset.
13415 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13416 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13417 other window case.
dbad4f69 13418
9b9c9e3a
MR
134192011-06-16 Martin Rudalics <rudalics@gmx.at>
13420
bcd70d97
SM
13421 * window.el (display-buffer-normalize-specifiers-1):
13422 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13423 second argument of display-buffer (Bug#8865).
981d5c09
MR
13424 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13425 (switch-to-buffer-other-window-same-frame)
13426 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13427 Adams (Bug#8875).
9c2755e9
MR
13428 (display-buffer): Don't check noninteractive when calling
13429 display-buffer-pop-up-frame.
13430 (display-buffer-pop-up-frame): Never pop up a frame in
13431 noninteractive mode (Bug#8857).
67222e1d
MR
13432 (enlarge-window, shrink-window): Don't report an error when the
13433 window can't be resized as requested (Bug#8862).
9b9c9e3a 13434
2b75be67
SM
134352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13436
9ffdd3ba
SM
13437 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13438
cb581a67
SM
13439 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13440
2b75be67
SM
13441 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13442
8c0e3589
AM
134432011-06-15 Alan Mackenzie <acm@muc.de>
13444
cb581a67
SM
13445 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13446 for declarators, disable knr checking to speed up for normal files.
13447 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13448
b96e6cde
LMI
134492011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13450
4bba86e6
LMI
13451 * net/network-stream.el (open-network-stream): Add the keyword
13452 :always-query-capabilities for the case where you want to force a
13453 `plain' network connection, but the protocol still requires the
13454 capabilitiy command (i.e., SMTP and EHLO).
13455
2b75be67 13456 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13457 consistency with other `-live-p' functions.
13458
efdcdbf8
SM
134592011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13460
13461 * window.el (same-window-buffer-names, same-window-regexps)
13462 (special-display-frame-alist, special-display-popup-frame)
13463 (special-display-function, special-display-buffer-names)
13464 (special-display-regexps, pop-up-frame-alist)
13465 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13466 (pop-up-windows, split-window-preferred-function)
13467 (split-height-threshold, split-width-threshold, even-window-heights)
13468 (display-buffer-mark-dedicated): Don't encourage the use of
13469 display-buffer-alist from Elisp code.
13470
c5cde042
DN
134712011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13472
13473 * progmodes/python.el (python-mode): Derive from prog-mode.
13474 * progmodes/ps-mode.el (ps-mode):
13475 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13476 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13477 * progmodes/ld-script.el (ld-script-mode): Likewise.
13478
baa1c9ab
MR
134792011-06-15 Martin Rudalics <rudalics@gmx.at>
13480
13481 * window.el (display-buffer-alist): Trim default value to avoid
13482 popping up a new frame (Bug#8857) or reusing an arbitrary window
13483 on another frame.
13484 (display-buffer): Do not fall back on popping up a new frame in
13485 batch mode (Bug#8857).
13486
c5dd5a51
CY
134872011-06-14 Chong Yidong <cyd@stupidchicken.com>
13488
13489 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13490 (custom-theme-summary): New function.
13491 (customize-themes): Use it.
13492
d647b7c4
GM
134932011-06-13 Glenn Morris <rgm@gnu.org>
13494
13495 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13496
9481c002
MR
134972011-06-13 Martin Rudalics <rudalics@gmx.at>
13498
357f93d2
MR
13499 * help.el (help-window): Remove variable.
13500 (help-window-point-marker, temp-buffer-max-height)
13501 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13502 (help-print-return-message): Don't set help-window.
13503 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13504 (help-window-setup-finish): Remove.
13505 (help-window-display-message, help-window-setup)
13506 (with-help-window): Major rewrite based on new
13507 display-buffer-window variable.
13508
13509 * help-mode.el (help-mode-finish): Remove help-window related
13510 code.
13511
13512 * view.el (view-exits-all-viewing-windows): Remove reference to
13513 view-return-to-alist in doc-string.
13514 (view-return-to-alist): Make obsolete.
13515 (view-buffer): Call pop-to-buffer-same-window and remove
13516 undo-window code.
13517 (view-buffer-other-window): Call pop-to-buffer-other-window and
13518 simplify code. Ignore second argument.
13519 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13520 simplify code. Ignore second argument.
13521 (view-return-to-alist-update): Make obsolete.
13522 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13523 Rewrite using quit-restore window parameters.
2b75be67
SM
13524 (view-mode-exit): Rename second argument to EXIT-ONLY.
13525 Rewrite using quit-restore-window.
357f93d2
MR
13526 (View-exit, View-exit-and-edit, View-leave, View-quit)
13527 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13528 appropriate arguments.
13529 (view-end-message): Use quit-restore window parameter.
13530
9481c002
MR
13531 * window.el (display-buffer-function): Rewrite doc-string.
13532 (display-buffer-window, display-buffer-alist): New variables.
13533 (display-buffer-split-specifiers)
13534 (display-buffer-side-specifiers)
13535 (display-buffer-macro-specifiers): New constants.
13536 (display-buffer-even-window-sizes, display-buffer-set-height)
13537 (display-buffer-set-width, display-buffer-select-window)
13538 (display-buffer-in-window, display-buffer-reuse-window)
13539 (display-buffer-split-window-1, display-buffer-split-window)
13540 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13541 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13542 (display-buffer-in-side-window, normalize-buffer-to-display)
13543 (display-buffer-normalize-specifiers-1)
13544 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13545 (display-buffer-normalize-specifiers, display-buffer-frame):
13546 New functions.
9481c002
MR
13547 (display-buffer): Major rewrite.
13548 (display-buffer-other-window, display-buffer-other-frame)
13549 (pop-to-buffer, switch-to-buffer-other-window)
13550 (switch-to-buffer-other-frame): Rewrite.
13551 (display-buffer-same-window, display-buffer-same-frame)
13552 (display-buffer-same-frame-other-window)
13553 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13554 (pop-to-buffer-other-window)
13555 (pop-to-buffer-same-frame-other-window)
13556 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13557 (switch-to-buffer-other-window-same-frame): New functions.
13558 (same-window-p, special-display-p): Rewrite disabling warnings.
13559 Make obsolete.
13560 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13561 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13562 Make obsolete
13563 (same-window-buffer-names, same-window-regexps)
13564 (special-display-frame-alist, special-display-popup-frame)
13565 (special-display-function, special-display-buffer-names)
13566 (special-display-regexps, pop-up-frame-alist)
13567 (pop-up-frame-function, split-window-preferred-function)
13568 (split-height-threshold, split-width-threshold)
13569 (even-window-heights): Make obsolete.
13570
9db51aca
GM
135712011-06-12 Glenn Morris <rgm@gnu.org>
13572
13573 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13574 Misc simplifications.
9db51aca 13575
39cffb44
MR
135762011-06-12 Martin Rudalics <rudalics@gmx.at>
13577
13578 * window.el (window-safely-shrinkable-p): Restore function which
13579 was inadvertently removed in change from 2011-06-11. Declare as
13580 obsolete.
13581
2b75be67
SM
13582 * calendar/calendar.el (calendar-generate-window):
13583 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13584 window-safely-shrinkable-p.
13585
a8955be7
GM
135862011-06-12 Glenn Morris <rgm@gnu.org>
13587
13588 * progmodes/fortran.el (fortran-mode-syntax-table):
13589 * progmodes/f90.el (f90-mode-syntax-table):
13590 Set % to punctuation. (Bug#8820)
13591 (f90-find-tag-default): Remove, no longer needed.
13592
f0d4059d
DC
135932011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13594
13595 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13596
1100a63c
CY
135972011-06-11 Chong Yidong <cyd@stupidchicken.com>
13598
13599 * image.el (image-animated-p): Return animation delay in seconds.
13600 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13601 (image-animate-timeout): Remove DELAY argument. Don't assume
13602 every subimage has the same delay; get it from image-animated-p.
13603 (image-animate): Caller changed.
13604
def722bf
MA
136052011-06-11 Michael Albinus <michael.albinus@gmx.de>
13606
13607 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13608 to ignored backtrace functions.
13609
0a2bb1a9
GM
136102011-06-11 Glenn Morris <rgm@gnu.org>
13611
13612 * calendar/appt.el (appt-disp-window-function): Doc fix.
13613 (appt-check): Handle overlapping appointments. (Bug#8337)
13614
6198ccd0
MR
136152011-06-11 Martin Rudalics <rudalics@gmx.at>
13616
13617 * window.el (window-tree-1, window-tree): New functions, moving
13618 the latter to window.el.
13619 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13620 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13621 (bw-refresh-edges): Remove.
13622 (balance-windows-1, balance-windows-2): New functions.
13623 (balance-windows): Rewrite in terms of window tree functions,
13624 balance-windows-1 and balance-windows-2.
13625 (bw-adjust-window): Remove.
13626 (balance-windows-area-adjust): New function with functionality of
13627 bw-adjust-window but using resize-window.
2b75be67
SM
13628 (set-window-text-height): Rewrite doc-string.
13629 Use normalize-live-window and resize-window.
13630 (enlarge-window-horizontally, shrink-window-horizontally):
13631 Rename argument to DELTA.
6198ccd0
MR
13632 (window-buffer-height): New function.
13633 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13634 Rewrite using new window resize routines.
2b75be67
SM
13635 (kill-buffer-and-window, mouse-autoselect-window-select):
13636 Use ignore-errors instead of condition-case.
6198ccd0
MR
13637 (quit-window): Call delete-frame instead of delete-windows-on
13638 for the only buffer on frame.
13639
9397e56f
MR
136402011-06-10 Martin Rudalics <rudalics@gmx.at>
13641
13642 * loadup.el (top-level): Load window before files for the sake
13643 of replace-buffer-in-windows.
13644
13645 * files.el (read-buffer-to-switch)
13646 (switch-to-buffer-other-window)
2b75be67
SM
13647 (switch-to-buffer-other-frame, display-buffer-other-frame):
13648 Move to window.el.
9397e56f
MR
13649
13650 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13651 (previous-buffer): Move to window.el.
13652
13653 * bindings.el (unbury-buffer): Move to window.el.
13654
13655 * window.el (delete-other-windows-vertically): Move after
13656 definition of delete-other-windows.
13657 (other-window, delete-windows-on, replace-buffer-in-windows):
13658 Move here from window.c.
13659 (record-window-buffer, unrecord-window-buffer)
13660 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13661 (switch-to-next-buffer): New functions.
13662 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13663 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13664 (previous-buffer): Move here from simple.el.
13665 Call switch-to-prev-buffer.
9397e56f
MR
13666 (bury-buffer): Move here from buffer.c. Switch to previous
13667 buffer when window cannot be deleted.
13668 (unbury-buffer): Move here from bindings.el.
13669 (ctl-x-map): Move binding for other-window from window.c to
13670 here.
13671 (read-buffer-to-switch, switch-to-buffer-other-window)
13672 (switch-to-buffer-other-frame): Move here from files.el.
13673 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13674 (switch-to-buffer): Move here from buffer.c.
13675 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13676
562dd5e9
MR
136772011-06-10 Martin Rudalics <rudalics@gmx.at>
13678
13679 * window.el (window-min-height, window-min-width): Move here
13680 from window.c. Add defcustoms and rewrite doc-strings.
13681 (resize-mini-window, resize-window): New functions.
13682 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13683 Move here from window.c.
13684 (maximize-window, minimize-window): New functions.
13685 (delete-window, delete-other-windows, split-window): Move here
13686 from window.c.
13687 (window-split-min-size): New function.
13688 (split-window-keep-point): Mention split-window-above-each-other
13689 instead of split-window-vertically.
2b75be67 13690 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13691 Rename split-window-vertically to split-window-above-each-other
13692 and provide defalias for old definition.
13693 (split-window-side-by-side, split-window-horizontally):
13694 Rename split-window-horizontally to split-window-side-by-side
13695 and provide defalias for the old definition.
562dd5e9
MR
13696 (ctl-x-map): Move bindings for delete-window,
13697 delete-other-windows and enlarge-window here from window.c.
13698 Replace bindings for split-window-vertically and
13699 split-window-horizontally by bindings for
13700 split-window-above-each-other and split-window-side-by-side.
13701
13702 * cus-start.el (all): Remove entries for window-min-height and
13703 window-min-width. Add entries for window-splits and
13704 window-nest.
13705
f0da764a
GM
137062011-06-09 Glenn Morris <rgm@gnu.org>
13707
80675c21
GM
13708 * calendar/appt.el (appt-mode-line): New function.
13709 (appt-check, appt-disp-window): Use it.
13710
f0da764a
GM
13711 * files.el (hack-one-local-variable-eval-safep):
13712 Allow minor-modes with explicit +/-1 arguments.
13713
59f623b7
TZ
137142011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13715
13716 * term/xterm.el (xterm): Add defgroup.
13717 (xterm-extra-capabilities): Add defcustom to supply known xterm
13718 capabilities, skip querying them, or query them (default).
13719 (terminal-init-xterm): Use it.
13720 (terminal-init-xterm-modify-other-keys): New function to set up
13721 modifyOtherKeys support to simplify `terminal-init-xterm'.
13722
9aab8e0d
MR
137232011-06-09 Martin Rudalics <rudalics@gmx.at>
13724
13725 * window.el (resize-window-reset, resize-window-reset-1)
13726 (resize-subwindows-skip-p, resize-subwindows-normal)
13727 (resize-subwindows, resize-other-windows, resize-this-window)
13728 (resize-root-window, resize-root-window-vertically)
13729 (window-deletable-p, window-or-subwindow-p)
13730 (frame-root-window-p): New functions.
13731
e8b08aee
GM
137322011-06-09 Glenn Morris <rgm@gnu.org>
13733
13734 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13735 (ange-ftp-get-files): Use it.
13736
254c37a5
AK
137372011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13738
13739 * mail/sendmail.el (mail-recover-1, mail-recover):
13740 * files.el (recover-file, recover-session):
13741 Handle dired-listing-switches not being just a single short option.
13742
35d7dbd3
GM
137432011-06-09 Glenn Morris <rgm@gnu.org>
13744
13745 * calendar/appt.el (appt-display-message, appt-disp-window):
13746 Handle lists of appointments.
13747
387522b2
MR
137482011-06-08 Martin Rudalics <rudalics@gmx.at>
13749
2b75be67
SM
13750 * window.el (one-window-p): Move down in code.
13751 Rewrite doc-string.
13752 (window-current-scroll-bars): Rewrite doc-string.
13753 Normalize live window argument.
387522b2
MR
13754 (walk-windows, get-window-with-predicate, count-windows):
13755 Rewrite doc-string. Use window-list-1.
13756 (window-in-direction-2, window-in-direction, get-mru-window):
13757 New functions.
13758
d8e4b68b 137592011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13760
13761 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13762 Doc fix (Bug#8713).
13763
137642011-06-08 Chong Yidong <cyd@stupidchicken.com>
13765
13766 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13767
137682011-06-08 Juanma Barranquero <lekktu@gmail.com>
13769
13770 * loadhist.el (unload-feature-special-hooks):
13771 Add `comint-output-filter-functions'.
13772
0de12c52
IK
137732011-06-08 Ivan Kanis <gnu@kanis.fr>
13774
13775 * calendar/appt.el (appt-check): Move some initializations into the let.
13776
f3d1777e
MR
137772011-06-08 Martin Rudalics <rudalics@gmx.at>
13778
13779 * window.el (window-height): Defalias to window-total-height.
13780 (window-width): Defalias to window-body-width.
13781
18af70d0
CY
137822011-06-07 Chong Yidong <cyd@stupidchicken.com>
13783
13784 * image-mode.el (image-toggle-animation): New command.
13785 (image-mode-map): Bind it to RET.
13786 (image-mode): Update message.
13787 (image-toggle-display-image): Avoid a spurious cache flush.
13788 (image-transform-rotation): Doc fix.
13789 (image-transform-properties): Return quickly in the normal case.
13790 (image-animate-loop): Rename from image-animate-max-time.
13791
2b75be67 13792 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13793 (create-animated-image): Remove unnecessary function.
13794 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13795 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13796 (image-animate-timer): Use car-safe.
13797 (image-animate-timeout): Rename argument.
13798
190b47e6
MR
137992011-06-07 Martin Rudalics <rudalics@gmx.at>
13800
13801 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13802 window.c. Rename first argument to ALL-FRAMES.
13803 Rephrase doc-strings.
13804 (get-buffer-window-list): Rewrite using window-list-1.
13805 Rephrase doc-string.
a1511caf
MR
13806 (window-safe-min-height, window-safe-min-width): New constants.
13807 (window-size-ignore, window-min-size, window-min-size-1)
13808 (window-sizable, window-sizable-p, window-size-fixed-1)
13809 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13810 (window-max-delta-1, window-max-delta, window-resizable)
13811 (window-resizable-p, window-total-height, window-total-width)
13812 (window-body-width): New functions.
13813 (window-full-height-p, window-full-width-p): Rewrite using
13814 window-total-size.
13815 (window-body-height): Rewrite using window-body-size.
190b47e6 13816
85cc1f11
MR
138172011-06-06 Martin Rudalics <rudalics@gmx.at>
13818
13819 * window.el (window-right, window-left, window-child)
13820 (window-child-count, window-last-child, window-any-p)
13821 (normalize-live-buffer, normalize-live-frame)
13822 (normalize-any-window, normalize-live-window)
13823 (window-iso-combination-p, window-iso-combined-p)
13824 (window-iso-combinations)
13825 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13826 (windows-with-parameter, window-with-parameter)
13827 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13828 (window-atom-check, window-side-check, window-check):
13829 New functions.
85cc1f11
MR
13830 (ignore-window-parameters, window-sides, window-sides-vertical)
13831 (window-sides-slots): New variables.
13832 (window-size-fixed): Move down in code. Minor doc-string fix.
13833
e7156492
AS
138342011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13835
13836 * comint.el (comint-dynamic-complete-as-filename)
13837 (comint-dynamic-complete-filename): Correctly call
13838 completion-in-region.
13839
7e821d0d
DD
138402011-06-05 Deniz Dogan <deniz@dogan.se>
13841
13842 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13843 in last change.
13844
ac09b8a1
DD
138452011-06-05 Deniz Dogan <deniz@dogan.se>
13846
13847 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13848 (rcirc): Use it to prompt for encryption.
13849
34699b85
RW
138502011-06-05 Roland Winkler <winkler@gnu.org>
13851
13852 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13853 (bibtex-search-entries): New command bound to C-c C-a.
13854 (bibtex-display-entries): New function.
13855
004dedd3
RW
138562011-06-05 Roland Winkler <winkler@gnu.org>
13857
13858 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13859 (bibtex-insert-kill): After yanking insert newline if necessary.
13860 (bibtex-initialize): Call bibtex-string-files-init only once.
13861 (bibtex-mode): Do not call easy-menu-add.
13862 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13863 (bibtex-yank): Set arg properly if nil.
13864
022fe7ce
RW
138652011-06-05 Roland Winkler <winkler@gnu.org>
13866
2b75be67
SM
13867 * textmodes/bibtex.el (bibtex-search-entry-globally):
13868 New variable.
022fe7ce
RW
13869 (bibtex-search-entry): Use it.
13870
b7c3692a
RW
138712011-06-05 Roland Winkler <winkler@gnu.org>
13872
13873 * textmodes/bibtex.el (bibtex-entry-format): New option
13874 sort-fields.
13875 (bibtex-format-entry, bibtex-reformat): Honor this option.
13876 (bibtex-parse-entry): Return fields in proper order.
13877
8eda563d
JB
138782011-06-05 Juanma Barranquero <lekktu@gmail.com>
13879
13880 * doc-view.el (doc-view-remove-if): Move computation of result out
13881 of `dolist' to silence misleading lexical-binding warning.
13882
7dbe3dbc
CY
138832011-06-04 Chong Yidong <cyd@stupidchicken.com>
13884
13885 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13886 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13887
0c33dd17
MA
138882011-06-04 Michael Albinus <michael.albinus@gmx.de>
13889
13890 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13891 "SunOS 5.10".
13892
f8f91c2b
MA
138932011-06-04 Michael Albinus <michael.albinus@gmx.de>
13894
13895 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13896 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13897 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13898 (tramp-parse-putty):
13899 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13900 (tramp-completion-function-alist-ssh)
13901 (tramp-completion-function-alist-telnet)
13902 (tramp-completion-function-alist-su)
13903 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13904 cookie.
13905
13906 * net/tramp-ftp.el:
13907 * net/tramp-sh.el:
13908 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13909 load "tramp.el" `tramp-set-completion-function'.
13910
e17d9003
SM
139112011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13912
13913 * shell.el: Require and use pcomplete.
13914 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13915 (shell-completion-vars): Set pcomplete-default-completion-function.
13916
6c4cab03
DD
139172011-06-04 Deniz Dogan <deniz@dogan.se>
13918
13919 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13920 `memq' (Bug#8799).
13921
ea9fafe0
SM
139222011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13923
13924 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13925
b3e945d3
JB
139262011-06-02 Juanma Barranquero <lekktu@gmail.com>
13927
13928 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13929 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13930 * vc/log-view.el (log-view-beginning-of-defun):
13931 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13932 (smerge-refine-forward, smerge-refine-chopup-region):
13933 Silence warning for unused `dotimes' counter variables.
13934
7d520089
SM
139352011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * net/tramp.el (tramp-with-progress-reporter): Rename from
13938 with-progress-reporter. Use `declare'.
13939 * net/tramp-smb.el:
13940 * net/tramp-sh.el:
13941 * net/tramp-gvfs.el: Update all uses.
13942
a1c2400f
JB
139432011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13944
13945 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13946 buffer isn't killed before making it current.
13947
2403c841
SM
139482011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 Silence various byte-compiler warnings.
13951 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13952 `access-type' and new obsolescence format.
13953 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13954 new format.
13955 (byte-compile-check-variable): New `access-type' argument.
13956 Only warn if the access-type is obsolete.
13957 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13958 (byte-compile-variable-set): Adjust callers.
13959 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13960 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13961 setting it as obsolete.
13962 * simple.el (minibuffer-completing-symbol):
13963 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13964 access as obsolete.
13965 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13966 obsolete yet.
13967 * international/quail.el (quail-mouse-choose-completion): Remove unused
13968 code referring to obsolete var.
13969 (quail-choose-completion-string): Remove.
13970 * server.el (server-clients-with, server-kill-buffer-query-function)
13971 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13972 * proced.el (proced-send-signal):
13973 * emacs-lisp/lisp.el (lisp-complete-symbol):
13974 Replace completion-annotate-function with completion-extra-properties.
13975
2462470b
SM
139762011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13977
fb5b2591
SM
13978 * simple.el (goto-line): Use read-number.
13979 (overriding-map-is-bound): Remove.
13980 (saved-overriding-map): Change default.
13981 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13982 Take the map as argument.
13983 (universal-argument, negative-argument, digit-argument): Use it.
13984 (restore-overriding-map): Adjust.
13985 (do-auto-fill): Use fill-forward-paragraph.
13986 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13987
fd6fa53f
SM
13988 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13989 (minibuffer-inactive-mode): New major mode.
13990 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13991 the *Messages* buffer" hack.
13992 (mouse-popup-menubar): Don't burp if the event is a normal key.
13993
2462470b
SM
13994 Miscellaneous tweaks.
13995 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13996 lexical scoping as in subr.el's dolist and dotimes.
13997 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13998 Silence compiler warning.
13999 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14000 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14001 * international/ccl.el (ccl-compile): Trivial simplification.
14002 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14003 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14004 `printflag' argument.
14005 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14006 Purecopy the whole obsolescence data.
14007
108bf785
LL
140082011-06-01 Leo Liu <sdl.web@gmail.com>
14009
14010 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14011 improve doc-string as suggested by Marco Pessotto
14012 <melmothx@gmail.com>.
14013 (rcirc-print): Fix last change.
14014
30a23501
SM
140152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14016
14017 * minibuffer.el (complete-with-action): Return nil for the metadata and
14018 boundaries of non-functional tables.
14019 (completion-table-dynamic): Return nil for the metadata.
14020 (completion-table-with-terminator): Add default case, using
14021 complete-with-action.
14022 (completion--metadata): New function.
14023 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14024 to try and avoid pathological performance problems.
14025 (completion--embedded-envvar-table): Return `category' metadata.
14026
bcd54f83
LMI
140272011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14028
14029 * subr.el (process-alive-p): New tiny convenience function.
14030
e227544d
SM
140312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14032
14033 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14034 content but also its previous major mode.
14035
e8296fdc
HE
140362011-05-31 Helmut Eller <eller.helmut@gmail.com>
14037
4d61f28d 14038 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14039 *Backtrace* buffer when we exit with C-M-c.
14040
620c53a6
SM
140412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14042
14043 * minibuffer.el: Add metadata method to completion tables.
14044 (completion-category-overrides): New defcustom.
14045 (completion-metadata, completion--field-metadata)
14046 (completion-metadata-get, completion--styles)
14047 (completion--cycle-threshold): New functions.
14048 (completion-try-completion, completion-all-completions):
14049 Add `metadata' argument to choose completion-styles.
14050 (completion--do-completion): Use metadata to choose cycling.
14051 (completion-all-sorted-completions): Use metadata for sorting.
14052 Remove :completion-cycle-penalty which is not needed any more.
14053 (completion--try-word-completion): Add `metadata' argument.
14054 (minibuffer-completion-help): Check metadata for annotation function
14055 and sorting.
14056 (completion-file-name-table): Return `category' metadata.
14057 (minibuffer-completing-file-name): Make obsolete.
14058 * simple.el (minibuffer-completing-symbol): Make obsolete.
14059 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14060 completion-try-completion.
14061
1257e755
SM
140622011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14063
14064 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14065
3767e706
LL
140662011-05-30 Leo Liu <sdl.web@gmail.com>
14067
14068 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14069 (rcirc-print): Decode all incoming messages (bug#8744).
14070 (rcirc-decode-coding-system): Allow value nil for automatic coding
14071 system detection.
3767e706 14072
d1a5d56a
GM
140732011-06-01 Glenn Morris <rgm@gnu.org>
14074
14075 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14076
e8cbec34
CY
140772011-05-29 Chong Yidong <cyd@stupidchicken.com>
14078
14079 * image.el (image-animate-max-time): Allow nil and t values.
14080 Default to nil.
14081 (create-animated-image): Doc fix.
14082 (image-animate-start): Remove second arg; just use
14083 image-animate-max-time.
14084 (image-animate-timeout): Doc fix. Args changed.
14085
14086 * image-mode.el (image-toggle-display-image): Ensure that the
14087 image spec passed to the animate timer is the same object as in
58179cce 14088 the buffer's display property (Bug#6981).
e8cbec34
CY
14089 (image-transform-properties): Doc fix.
14090
14091 * image.el (image-animate-max-time): Default to nil.
14092
159daf87
MR
140932011-05-29 Martin Rudalics <rudalics@gmx.at>
14094
14095 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14096 entire buffer list (Bug#8184).
14097
d66c4c7c
CY
140982011-05-29 Chong Yidong <cyd@stupidchicken.com>
14099
14100 * image.el (imagemagick-types-inhibit)
14101 (imagemagick-register-types): Doc fix.
14102
80aec780
DD
141032011-05-29 Deniz Dogan <deniz@dogan.se>
14104
14105 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14106 default.
14107
1dd3c2d9
CY
141082011-05-29 Chong Yidong <cyd@stupidchicken.com>
14109
14110 * select.el: Don't perform clipboard-manager saving in hooks;
14111 leave the hooks empty.
14112
60e56523
LL
141132011-05-28 Leo Liu <sdl.web@gmail.com>
14114
14115 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14116 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14117 (occur-edit-mode): New major mode (Bug#8463).
14118 (occur-after-change-function): New function.
14119 (occur-engine): Give Occur tags a read-only property.
14120
2b1e1a22
KR
141212011-05-28 Kevin Ryde <user42@zip.com.au>
14122
14123 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14124
5d344e88
CY
141252011-05-28 Chong Yidong <cyd@stupidchicken.com>
14126
8e6ca83d
CY
14127 * bindings.el (help-echo): Make the initial non-indicator dash
14128 empty on graphical terminals (Bug#7295).
14129
5d344e88
CY
14130 * files.el (auto-mode-alist): Move config rule after the
14131 in-stripping one (Bug#8547).
14132
bfbbace7
CY
14133 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14134
fbeba6e2
CY
14135 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14136 setting (Bug#8740).
14137
60ed8c72
AA
141382011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14139
4ac619f0
AA
14140 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14141 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14142 (Bug#8539).
60ed8c72 14143
23db196e
CY
141442011-05-28 Chong Yidong <cyd@stupidchicken.com>
14145
14146 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14147
5012f24c
DK
141482011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14149
14150 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14151 (hs-hide-block-at-point, hs-find-block-beginning)
14152 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14153 (Bug#8279).
14154
6a639b16
GM
141552011-05-28 Glenn Morris <rgm@gnu.org>
14156
14157 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14158
d43eaf2c
CY
141592011-05-28 Chong Yidong <cyd@stupidchicken.com>
14160
5199bde1
CY
14161 * help-fns.el (describe-function-1): If the function is a derived
14162 major mode, print the parent mode.
14163
d43eaf2c
CY
14164 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14165 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14166
423428a8
SM
141672011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14168
0ff8e1ba 14169 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14170 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14171 * progmodes/etags.el (tags-completion-at-point-function):
14172 * info-look.el (info-lookup-completions-at-point): Mark as
14173 non-exclusive.
14174 (info-complete): Adjust accordingly.
14175
423428a8
SM
14176 * info-look.el: Convert to lexical-binding and completion-at-point.
14177 (info-lookup-completions-at-point): New function.
14178 (info-complete): Use it and completion-in-region.
14179
b74aa22b
DA
141802011-05-28 Drew Adams <drew.adams@oracle.com>
14181
14182 * isearch.el: Let M-e start with point at the first mismatched char.
14183 (isearch-fail-pos): New function.
14184 (isearch-edit-string): Use it.
14185
66e2e71d
DK
141862011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14187
14188 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14189
b1890b0f 141902011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14191
14192 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14193 traversal functions for avl-trees.
14194 (avl-tree--stack): New struct.
14195 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14196 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14197 (avl-tree--do-enter): Add optional `updatefun' arg.
14198 Change return value.
eb95d01d 14199 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14200 (avl-tree--do-delete): Add `test' and `nilflag' args.
14201 Change return value.
eb95d01d
TC
14202 (avl-tree-member): Add optional `nilflag'
14203 (avl-tree-member-p): New function.
14204 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14205 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14206 (avl-tree-stack-empty-p): New functions.
14207
3769ddcf
TC
14208 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14209 avl-tree--del-balance1 and make it work both ways.
14210 (avl-tree--del-balance2): Remove.
14211 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14212 make it work both ways.
14213 (avl-tree--enter-balance2): Remove.
14214 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14215 New macros.
14216 (avl-tree--mapc, avl-tree-map): Add direction argument.
14217
eb95d01d 142182011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14219
14220 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14221
a9f737ee
CY
142222011-05-27 Chong Yidong <cyd@stupidchicken.com>
14223
14224 * select.el: Support clipboard managers with built-in function
14225 x-clipboard-manager-save, via delete-frame-functions and
14226 kill-emacs-hook.
14227 (xselect-convert-to-targets): Add MULTIPLE target to list.
14228 (xselect-convert-to-save-targets): New function.
14229
c92a1e54
KH
142302011-05-27 Kenichi Handa <handa@m17n.org>
14231
14232 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14233 let-binding rfc2047-encode-encoded-words to nil.
14234
e145f188
GM
142352011-05-27 Glenn Morris <rgm@gnu.org>
14236
5ec8a862
GM
14237 * mail/emacsbug.el: Don't require url-util.
14238
4b29d9fb
GM
14239 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14240
e145f188
GM
14241 * files.el (set-auto-mode):
14242 Also respect mode: entries at the end of the file. (Bug#8586)
14243
7d15102b
GM
142442011-05-26 Glenn Morris <rgm@gnu.org>
14245
98f593b8
GM
14246 * files.el (hack-local-variables-prop-line, hack-local-variables):
14247 Downcase mode names, as seems to be traditional.
27b48e63 14248 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14249
7d15102b
GM
14250 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14251 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14252
51d5b4ec
JD
142532011-05-25 Julien Danjou <julien@danjou.info>
14254
14255 * textmodes/rst.el (rst-define-level-faces): Do not define face
14256 symbol if it is already defined.
14257
91513f63
VB
142582011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14259
14260 * play/5x5.el (5x5-new-game, 5x5-randomize):
14261 Reset 5x5-solver-output to nil when a new grid is cast.
14262 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14263 these debugging traces, as defmacro breaks the compiled code.
14264
4d90d6d0
DK
142652011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14266
14267 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14268
e1b90ef6
LL
142692011-05-24 Leo Liu <sdl.web@gmail.com>
14270
14271 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14272 (vc-bzr-sha1): Adapt.
14273
d8e4b68b 14274 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14275
14276 * bindings.el: Provide sha1 feature.
14277
db0406bb 142782011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14279
14280 * mail/sendmail.el: Require `rfc2047'.
14281 (mail-insert-from-field): Do not perform RFC2047 encoding.
14282 (mail-encode-header): New function.
14283 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14284 buffer to the return value of select-message-coding-system.
14285 Call mail-encode-header.
b8d747b9
KH
14286
14287 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14288
db0406bb 142892011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14290
4d90d6d0
DK
14291 * mail/supercite.el (sc-default-cite-frame):
14292 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14293
eb8a5e9b
GM
142942011-05-24 Glenn Morris <rgm@gnu.org>
14295
f8630703
GM
14296 * progmodes/python.el (brm-menu): Declare.
14297
8831bbed
GM
14298 * emulation/viper.el (viper-set-hooks): Declare.
14299
eb8a5e9b
GM
14300 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14301 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14302 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14303 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14304 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14305 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14306
a2a25d24
SM
143072011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14308
14309 Add an :exit-function for completion-at-point.
14310
14311 * minibuffer.el (completion--done): New fun.
14312 (completion--do-completion): Use it. New arg `expect-exact'.
14313 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14314 since completion--do-completion does it for us now.
14315 (minibuffer-force-complete): Use completion--done and
14316 completion--replace. Handle sole-completion case with more care.
14317 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14318 (completion-extra-properties): New var.
14319 (completion-annotate-function): Make obsolete.
14320 (minibuffer-completion-help): Adjust accordingly.
14321 Use completion-list-insert-choice-function.
14322 (completion-at-point, completion-help-at-point):
14323 Bind completion-extra-properties.
14324 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14325 * simple.el (completion-list-insert-choice-function): New var.
14326 (completion-setup-function): Preserve it.
14327 (choose-completion): Pay attention to it, shuffle the code a bit.
14328 (choose-completion-string): New arg `insert-function'.
14329
14330 * textmodes/bibtex.el: Convert to lexical binding.
14331 (bibtex-mode-map): Use completion-at-point.
14332 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14333 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14334 (bibtex-complete): Define as obsolete alias.
14335 (bibtex-complete-internal): Remove.
14336 (bibtex-format-entry): Remove unused sub-group in regexp.
14337 * shell.el (shell--command-completion-data)
14338 (shell-environment-variable-completion):
14339 * pcomplete.el (pcomplete-completions-at-point):
14340 * comint.el (comint--complete-file-name-data): Use :exit-function
14341 instead of completion-table-with-terminator so it also works for
14342 choose-completion.
14343
e44e373d
SM
143442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14345
4f91a816
SM
14346 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14347
782fc819
SM
14348 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14349 (bug#8710).
14350
e44e373d
SM
14351 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14352
381987c3
KM
143532011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14354
14355 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14356 customization variable and implement: If non-nil, auto-fill will
14357 be inhibited while on topic's header line.
14358
b776bc70
VB
143592011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14360
14361 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14362 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14363 always have a solution in grid size = 5 cases.
14364 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14365 (5x5-solver-output, 5x5-log-buffer): New vars.
14366 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14367 Make these variables buffer local to achieve 5x5 multi-session-ness.
14368 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14369 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14370 (5x5-solve-suggest): New funs.
14371 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14372 randomize a grid so that we ensure that there is always a solution.
14373 (5x5-make-random-grid): Allow other movement than flipping.
14374
7de88b6e
KR
143752011-05-23 Kevin Ryde <user42@zip.com.au>
14376
14377 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14378 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14379 advice and passes PREDICATE.
14380
b1ef1257
SM
143812011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14382
bbca48fe
SM
14383 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14384 byte-compile-lambda if it's actually a lambda.
14385
b1ef1257
SM
14386 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14387 Fix function quoting. Use backquote better.
14388
92a9cc65
YS
143892011-05-22 Yuanle Song <sylecn@gmail.com>
14390
14391 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14392 matching (Bug#8516).
14393
f0fb8059
JA
143942011-01-22 Jari Aalto <jari.aalto@cante.net>
14395
14396 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14397 different face (Bug#8178).
14398
d5b44c93
CY
143992011-05-22 Chong Yidong <cyd@stupidchicken.com>
14400
14401 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14402 defface (Bug#8144).
14403
79106a44
SM
144042011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14405
9c848d8a
SM
14406 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14407 funcall as well (bug#8712). Warn when performing those conversions.
14408 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14409
79106a44
SM
14410 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14411
88dfa756
GM
144122011-05-22 Glenn Morris <rgm@gnu.org>
14413
14414 * files.el (hack-local-variables-prop-line): Small simplifications.
14415 (hack-local-variables, hack-local-variables-prop-line):
14416 If MODE-ONLY, return the mode, rather than just `t'.
14417
b7cf2c79
SM
144182011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14421
3f1a8558
GM
144222011-05-21 Glenn Morris <rgm@gnu.org>
14423
7e4ccca3
GM
14424 * files.el (hack-local-variables-prop-line, hack-local-variables):
14425 If only interested in the mode, don't bother doing the other stuff.
14426
637d46ca
GM
14427 * image-mode.el (image-after-revert-hook):
14428 Redraw all frames on which the image is visible. (Bug#8567)
14429
973d955b
GM
14430 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14431
3f1a8558
GM
14432 * wid-edit.el (widget-checklist-match-inline):
14433 Fix 2011-04-19 change. (Bug#8649)
14434
96479927
SM
144352011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14436
1dcf791f
SM
14437 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14438 Also allow singlespace after single-letter capitals followed by a dot.
14439
96479927
SM
14440 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14441 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14442
35fd0881
N
144432011-05-20 Nix <nix@esperi.org.uk>
14444
14445 * files.el (basic-save-buffer-2):
14446 Fix handling of break-hardlink-on-save with non-existent files.
14447
82745640
DD
144482011-05-19 Deniz Dogan <deniz@dogan.se>
14449
14450 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14451 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14452
4a720484
GM
144532011-05-19 Glenn Morris <rgm@gnu.org>
14454
d1f21341
GM
14455 * progmodes/f90.el (f90-type-def-re):
14456 Handle "type, bind(c)". (Bug#8691)
14457
4a720484
GM
14458 * emacs-lisp/autoload.el (batch-update-autoloads):
14459 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14460
2fb0a219
MA
144612011-05-18 Michael Albinus <michael.albinus@gmx.de>
14462
14463 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14464 property for the correct connection in case of multihops.
14465
e565dd37
GM
144662011-05-18 Glenn Morris <rgm@gnu.org>
14467
c2571358 14468 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14469 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14470
e565dd37
GM
14471 Rationalize calendar handling of day and month abbrev-arrays.
14472 * calendar/calendar.el (calendar-customized-p): New function.
14473 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14474 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14475 Add :set function.
14476 (calendar-abbrev-length, calendar-day-abbrev-array)
14477 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14478 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14479 Elements may no longer be nil.
14480 (calendar-day-name, calendar-month-name):
14481 Update for changed nature of abbrev arrays.
14482 * calendar/diary-lib.el (diary-name-pattern):
14483 Update for changed nature of abbrev arrays.
14484 (diary-mark-entries-1): Update calendar-make-alist calls.
14485 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14486 * calendar/cal-html.el (cal-html-day-abbrev-array):
14487 Simply inherit from calendar-day-abbrev-array.
14488
1d99a745
SM
144892011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * progmodes/grep.el (grep-mode): Disable default
14492 compilation-directory-matcher setting (bug#8684).
14493
7c1d9aa0
MA
144942011-05-17 Michael Albinus <michael.albinus@gmx.de>
14495
14496 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14497 instead of "head" and "tail". There were problems with SunOS 5.9,
14498 and it performs better.
14499
3952e9d8
GM
145002011-05-17 Glenn Morris <rgm@gnu.org>
14501
2dd12e7f
GM
14502 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14503
e4157b9c
GM
14504 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14505 Replace obsolete function.
14506
8e249bbd
GM
14507 * shell.el (pcomplete-parse-arguments-function): Declare.
14508
3952e9d8
GM
14509 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14510 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14511 (appt-check): Doc fixes.
14512 (appt-disp-window-function, appt-delete-window-function):
14513 Remove needless special case in custom :type.
14514 (appt-display-count): Default to 0, not nil.
14515 (appt-check): Reset appt-display-count to 0, not nil.
14516
c71a0d48 145172011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14518
c71a0d48
GM
14519 * progmodes/python.el (python-font-lock-keywords):
14520 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14521
31d55be9
SM
145222011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14523
14524 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14525
3bfacb2f
KR
145262011-05-16 Kevin Ryde <user42@zip.com.au>
14527
14528 * info-look.el (makefile-automake-mode): New setups, looking in
14529 automake manual, then makefile-mode.
14530 (makefile-mode): Remove automake manual, have it just in
14531 makefile-automake-mode since there's various things different or
14532 not relevant to plain make.
14533 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14534 believe a hypothetical automake-mode would go to makefile-mode,
14535 not the other way around.
14536
c8e83751
CY
145372011-05-15 Chong Yidong <cyd@stupidchicken.com>
14538
5e9e35cd
CY
14539 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14540 hunk-end tags (Bug#8672).
14541
c8e83751
CY
14542 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14543 vc-annotate-show-diff-revision-at-line (Bug#8671).
14544
50b23e5a
GM
145452011-05-14 Glenn Morris <rgm@gnu.org>
14546
7210a739
GM
14547 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14548 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14549 (change-log-font-lock-keywords): Also handle multiple author lines
14550 with leading tabs. (Bug#8644)
7210a739 14551
4691905a
GM
14552 * calendar/appt.el (appt-check): Rename some local variables.
14553 Some simplification/reordering.
14554
50b23e5a
GM
14555 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14556 (feedmail-sendmail-f-doesnt-sell-me-out)
14557 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14558 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14559 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14560 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14561 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14562 (feedmail-binmail-gnulinuxish-template):
14563 Rename from feedmail-binmail-linuxish-template.
14564 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14565 Use insert-buffer-substring.
14566
215cda7c
BC
145672011-05-14 Bill Carpenter <bill@carpenter.org>
14568
14569 * mail/feedmail.el (feedmail-patch-level): Increase.
14570 (feedmail-debug): New custom group.
14571 (feedmail-confirm-outgoing-timeout)
14572 (feedmail-sendmail-f-doesnt-sell-me-out)
14573 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14574 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14575 (feedmail-sender-line, feedmail-from-line)
14576 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14577 (feedmail-spray-this-address)
215cda7c
BC
14578 (feedmail-spray-address-fiddle-plex-list)
14579 (feedmail-queue-use-send-time-for-date)
14580 (feedmail-queue-use-send-time-for-message-id)
14581 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14582 (feedmail-buffer-eating-function):
14583 Doc fixes.
14584 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14585 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14586 (feedmail-message-action-scroll-down): New functions.
14587 (feedmail-queue-directory, feedmail-queue-draft-directory):
14588 Use expand-file-name.
14589 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14590 Remove C-v help entry.
14591 (feedmail-queue-buffer-file-name): New variable.
14592 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14593 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14594 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14595 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14596 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14597 (feedmail-message-action-toggle-spray)
14598 (feedmail-run-the-queue-no-prompts)
14599 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14600 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14601 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14602 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14603 (feedmail-envelope-deducer, feedmail-fiddle-from)
14604 (feedmail-fiddle-sender, feedmail-default-date-generator)
14605 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14606 (feedmail-fiddle-spray-address)
14607 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14608 (feedmail-fiddle-list-of-fiddle-plexes)
14609 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14610 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14611 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14612 Change default. Doc fix.
14613 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14614 (feedmail-binmail-linuxish-template): New constant.
14615 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14616 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14617 (feedmail-send-it): Add debug call.
14618 Use feedmail-queue-buffer-file-name, and
14619 feedmail-send-it-immediately-wrapper.
14620 (feedmail-message-action-send): Add debug call.
14621 Use feedmail-send-it-immediately-wrapper.
14622 (feedmail-queue-express-to-queue): Add debug call.
14623 Run feedmail-queue-express-hook.
14624 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14625 (feedmail-message-action-help-blat):
14626 Rename from feedmail-queue-send-edit-prompt-help-first.
14627 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14628 Check line-endings. Handle errors better.
14629 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14630 Doc fix. Add debug call.
14631 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14632 Use feedmail-queue-send-edit-prompt-inner.
14633 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14634 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14635 from feedmail-queue-send-edit-prompt.
14636 (feedmail-queue-send-edit-prompt-help)
14637 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14638 (feedmail-tidy-up-slug): Add debug call.
14639 Respect feedmail-queue-slug-suspect-regexp.
14640 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14641 (feedmail-dump-message-to-queue): Add debug call.
14642 Expand queue-directory.
14643 (feedmail-dump-message-to-queue): Change message slightly.
14644 Use feedmail-say-chatter.
14645 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14646 (feedmail-send-it-immediately-wrapper): New function.
14647 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14648 Insert empty string rather than newline. Handle full-frame case.
14649 Use catch/throw. Use feedmail-say-chatter.
14650 (feedmail-fiddle-from): Try mail-host-address.
14651 (feedmail-default-message-id-generator): Doc fix.
14652 Bind system-time-locale. Handle missing end.
14653 (feedmail-fiddle-x-mailer): Add debug call.
14654 Handle feedmail-x-mailer-line being nil.
14655 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14656 Add debug call. Use buffer-substring-no-properties.
14657 (feedmail-say-debug, feedmail-say-chatter): New functions.
14658 (feedmail-find-eoh): Give an explicit error.
14659
42c7e61e
UJ
146602011-05-13 Ulf Jasper <ulf.jasper@web.de>
14661
c2571358 14662 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14663 family from helvetica to sans.
c2571358 14664 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14665 etc/images/newsticker.
14666
c2571358 14667 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14668 family from helvetica to sans.
14669
14670 * net/newst-plainview.el (newsticker-new-item-face)
14671 (newsticker-old-item-face, newsticker-immortal-item-face)
14672 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14673 (newsticker-statistics-face): Change default family from
42c7e61e 14674 helvetica to sans.
c2571358 14675 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14676 etc/images/newsticker.
14677
5d3385a0
JB
14678 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14679 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14680 auto-marking.
14681
8497a297
DV
146822011-05-13 Didier Verna <didier@xemacs.org>
14683
14684 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14685 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14686 TODO entries.
8497a297
DV
14687 (lisp-lambda-list-keyword-parameter-indentation)
14688 (lisp-lambda-list-keyword-parameter-alignment)
14689 (lisp-lambda-list-keyword-alignment): New customizable user options.
14690 (lisp-indent-defun-method): Improve docstring.
14691 (extended-loop-p): Fix comment.
14692 (lisp-indent-lambda-list-keywords-regexp): New variable.
14693 (lisp-indent-lambda-list): New function.
14694 (lisp-indent-259): Use it.
14695 (lisp-indent-defmethod): Support for more than one
14696 method qualifier and properly indent methods lambda-lists.
14697 (defgeneric): Provide a missing common-lisp-indent-function property.
14698
f278f87f
SM
146992011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14700
14701 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14702 bounds for the empty string (bug#8667).
14703
5233edd7
GM
147042011-05-13 Glenn Morris <rgm@gnu.org>
14705
5237a44f
GM
14706 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14707
8340026c 14708 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14709 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14710
5233edd7 14711 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14712 (appt-time-msg-list): Doc fix.
a5464014 14713 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14714
92d10796
AS
147152011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14716
14717 * progmodes/ld-script.el (ld-script-keywords)
14718 (ld-script-builtins): Update keywords list.
14719
914a0ae1
SM
147202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14721
c89be45f
SM
14722 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14723
914a0ae1
SM
14724 * shell.el (shell-completion-vars): New function.
14725 (shell-mode):
14726 * simple.el (read-shell-command): Use it.
14727 (blink-matching-open): No need for " [...]" in minibuffer-message.
14728
98dc3df3
GM
147292011-05-12 Glenn Morris <rgm@gnu.org>
14730
14731 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14732 (appt-check): Simplify.
14733
d2fc7e3d 147342011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14735
4d61f28d 14736 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14737 literal "/dev/null".
14738
d2fc7e3d 147392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14740
14741 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14742 Fix typo.
14743
d2fc7e3d 147442011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14745
3f254caa
SM
14746 * progmodes/which-func.el (which-function):
14747 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14748 which might not be defined (Bug#8260).
14749
d45885f7
GM
147502011-05-12 Glenn Morris <rgm@gnu.org>
14751
14752 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14753 Let byte-compile-initial-macro-environment always take precedence.
14754
488086f4
SM
147552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14756
14757 * net/rcirc.el: Add support for SSL/TLS connections.
14758 (rcirc-server-alist): New field `encryption'.
14759 (rcirc): Check `encryption' settings.
14760 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14761 Merge make-local-variable into `set'.
14762 (rcirc--connection-open-p): New function.
14763 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14764 the process is not a network process (e.g. running gnutls-cli).
14765 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14766 Make rcirc-(en|de)code-coding-system local here.
14767 (rcirc-mode): Merge make-local-variable into `set'.
14768 (rcirc-parent-buffer): Make permanent buffer-local.
14769 (rcirc-multiline-minor-mode): Don't do it here.
14770 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14771 there's no server buffer.
14772
7d3b9d44
GM
147732011-05-11 Glenn Morris <rgm@gnu.org>
14774
f64049c6
GM
14775 * newcomment.el (comment-kill): Prefix "unused" local.
14776
93c9df73
GM
14777 * term/w32console.el (get-screen-color): Declare.
14778
7d3b9d44
GM
14779 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14780 Handle symbol elements of byte-compile-initial-macro-environment.
14781
9e2dd53f
LL
147822011-05-10 Leo Liu <sdl.web@gmail.com>
14783
488086f4
SM
14784 * bookmark.el (bookmark-bmenu-mode-map):
14785 Bind bookmark-bmenu-search to `/'.
8b340240 14786
9e2dd53f 14787 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14788 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14789 (Footnote-unicode): New function.
14790 (footnote-style-alist): Add unicode style to the list.
14791 (footnote-style): Doc fix.
9e2dd53f 14792
79b70037
GM
147932011-05-10 Jim Meyering <meyering@redhat.com>
14794
14795 Fix doubled-word typos.
14796 * international/quail.el (quail-insert-kbd-layout): and and -> and
14797 * kermit.el: and and -> and
14798 * net/ldap.el (ldap-search-internal): to to -> to
14799 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14800 * progmodes/js.el (js-mode): and and -> and
14801 * textmodes/artist.el (artist-move-to-xy): at at -> at
14802 (artist-draw-region-trim-line-endings): if if -> if
14803 And Safetyc -> Safety.
14804 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14805
b8f82dc1 148062011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14807 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14808
14809 * files.el (hack-one-local-variable-eval-safep):
14810 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14811
4f99f44b
GM
148122011-05-10 Glenn Morris <rgm@gnu.org>
14813
14814 * calendar/diary-lib.el (diary-list-entries-hook)
14815 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14816 (diary-nongregorian-marking-hook, diary-list-entries)
14817 (diary-include-other-diary-files, diary-mark-entries)
14818 (diary-mark-included-diary-files): Doc fixes.
14819
84f29e6b
JB
148202011-05-09 Juanma Barranquero <lekktu@gmail.com>
14821
14822 * misc.el: Require tabulated-list.el during compilation.
14823
9bedd73a
CY
148242011-05-09 Chong Yidong <cyd@stupidchicken.com>
14825
488086f4
SM
14826 * progmodes/compile.el (compilation-start):
14827 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14828 (compilation-filter-hook): Doc fix.
14829
797c735c
DD
148302011-05-09 Deniz Dogan <deniz@dogan.se>
14831
14832 * wdired.el: Remove outdated installation comment. Fix usage
14833 comment.
14834
5f4b1dfe
JB
148352011-05-09 Juanma Barranquero <lekktu@gmail.com>
14836
14837 * misc.el: Implement new command `list-dynamic-libraries'.
14838 (list-dynamic-libraries--loaded-only-p): New variable.
14839 (list-dynamic-libraries--refresh): New function.
14840 (list-dynamic-libraries): New command.
14841
4c44026c
CY
148422011-05-09 Chong Yidong <cyd@stupidchicken.com>
14843
488086f4
SM
14844 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14845 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14846 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14847 higher priority to avoid clobbering by gnu.
14848
027f966d
CY
148492011-05-08 Chong Yidong <cyd@stupidchicken.com>
14850
14851 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14852 if the face has existing theme settings (Bug#8454).
14853
085f5d7d
CY
148542011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14855
488086f4
SM
14856 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14857 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14858
2a86a00c
RS
14859 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14860 special file names `.' and `..' (Bug#8259).
14861
d9c54a06
CY
148622011-05-08 Chong Yidong <cyd@stupidchicken.com>
14863
488086f4
SM
14864 * progmodes/grep.el (grep-mode-font-lock-keywords):
14865 Remove buffer-changing entries.
d9c54a06
CY
14866 (grep-filter): New function.
14867 (grep-mode): Add it to compilation-filter-hook.
14868
14869 * progmodes/compile.el (compilation-filter-hook)
14870 (compilation-filter-start): New defvars.
14871 (compilation-filter): Call compilation-filter-hook prior to
14872 updating the process mark.
14873
c4662635
SM
148742011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14875
14876 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14877
b0512a1d
EZ
148782011-05-07 Eli Zaretskii <eliz@gnu.org>
14879
605c9376
EZ
14880 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14881 mailclient-send-it even if window-system is nil. (Bug#8595)
14882
c4662635
SM
14883 * term/w32console.el (terminal-init-w32console):
14884 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14885 background-mode. (Bug#8597)
14886
d1dc2cc2
SM
148872011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14888
14889 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14890 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14891 New functions.
14892 (defgeneric, eieio--defmethod): Use them.
14893 (eieio-defgeneric): Remove.
14894 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14895
915d1300
GM
148962011-05-07 Glenn Morris <rgm@gnu.org>
14897
a3961c3e
GM
14898 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14899 Use let rather than let*.
14900 (timeclock-find-discrep): Remove unused local.
14901
314347b9
GM
14902 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14903
915d1300
GM
14904 * calendar/appt.el (appt-time-msg-list): Doc fix.
14905
275b59b0
NF
149062011-05-06 Noah Friedman <friedman@splode.com>
14907
14908 * apropos.el (apropos-print-doc): Only use
14909 emacs-lisp-docstring-fill-column when it is bound to an integer,
14910 per that variable's documentation.
14911
6c19f744
SM
149122011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14913
14914 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14915 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14916
60f884b2
GM
149172011-05-06 Glenn Morris <rgm@gnu.org>
14918
5006e634
GM
14919 * calendar/appt.el (appt-message-warning-time): Doc fix.
14920 (appt-warning-time-regexp): New option.
14921 (appt-make-list): Respect appt-message-warning-time.
14922
548d0a63
GM
14923 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14924 New options.
14925 (diary-add-to-list): Strip comments from the displayed string.
14926 (diary-mode): Set comment-start and comment-end.
14927
60f884b2
GM
14928 * vc/diff-mode.el (smerge-refine-subst): Declare.
14929 (diff-refine-hunk): Don't require smerge-mode when compiling.
14930
989681bb
JB
149312011-05-06 Juanma Barranquero <lekktu@gmail.com>
14932
14933 * simple.el (list-processes): Return nil as the docstring says.
14934
a6bc05e1
MA
149352011-05-05 Michael Albinus <michael.albinus@gmx.de>
14936
14937 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14938 to "".
14939 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14940 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14941 determining of binary transfer. (Bug#7383)
14942
23c22e9a
MA
149432011-05-05 Michael Albinus <michael.albinus@gmx.de>
14944
c4662635
SM
14945 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14946 Fix port computation bug. (Bug#8618)
23c22e9a 14947
0bff894f
GM
149482011-05-05 Glenn Morris <rgm@gnu.org>
14949
b8296902
GM
14950 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14951
1f522ce8
GM
14952 * simple.el (shell-dynamic-complete-functions)
14953 (comint-dynamic-complete-functions): Declare.
14954
cf5bee67
GM
14955 * net/network-stream.el (gnutls-negotiate):
14956 * simple.el (tabulated-list-print): Fix declarations.
14957
14958 * progmodes/gud.el (syntax-symbol, syntax-point):
14959 Remove unnecessary and incorrect declarations.
14960
0bff894f
GM
14961 * emacs-lisp/check-declare.el (check-declare-scan):
14962 Handle byte-compile-initial-macro-environment in bytecomp.el
14963
9869b3ae
SM
149642011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14965
14966 Fix earlier half-done eieio-defmethod change (bug#8338).
14967 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14968 Streamline and change calling convention.
14969 (defmethod): Adjust accordingly and simplify.
14970 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14971 new eieio--defmethod.
14972 (slot-boundp): Minor CSE simplification.
14973
9c1d5ac5
MZ
149742011-05-05 Milan Zamazal <pdm@zamazal.org>
14975
14976 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14977 (glasses-make-readable): Use glasses-separate-capital-groups.
14978
455c834e
JB
149792011-05-05 Juanma Barranquero <lekktu@gmail.com>
14980
14981 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14982 (warning-series): Doc fix.
14983 (display-warning): Don't try to create the buffer if we just found it.
14984
9ed7c8cb
CY
149852011-05-04 Chong Yidong <cyd@stupidchicken.com>
14986
14987 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14988 (autoload-find-generated-file): New function.
14989 (generate-file-autoloads): Bind generated-autoload-file to
14990 buffer-file-name.
9869b3ae
SM
14991 (update-file-autoloads, update-directory-autoloads):
14992 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14993 output file (Bug#7989).
14994 (batch-update-autoloads): Doc fix.
14995
0898ca10
JB
149962011-05-04 Juanma Barranquero <lekktu@gmail.com>
14997
14998 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14999
31dfb76c
GM
150002011-05-04 Glenn Morris <rgm@gnu.org>
15001
f330b642
GM
15002 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15003 function, so it follows changes in calendar-date-style.
15004 (diary-fancy-date-matcher): New function.
15005 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15006 (diary-fancy-font-lock-fontify-region-function):
15007 Use diary-fancy-date-pattern as a function.
15008
31dfb76c
GM
15009 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15010 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15011
48e79d6a
TZ
150122011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15013
15014 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15015 instead of positional arguments. Allow :keylist and :crlfiles
15016 arguments.
15017 (open-gnutls-stream): Call it.
15018
15019 * net/network-stream.el (network-stream-open-starttls): Adjust to
15020 call `gnutls-negotiate' with :process and :hostname arguments.
15021
dd5a5ee0
SM
150222011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15023
ef80fc09
SM
15024 * minibuffer.el (completion--message): New function.
15025 (completion--do-completion, minibuffer-complete)
15026 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15027 (completion--do-completion): Don't ignore completion-auto-help when in
15028 icomplete-mode.
15029
dd5a5ee0
SM
15030 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15031 internal encoding (e.g. tibetan zero is not whitespace).
15032 (global-whitespace-mode): Prefer save-current-buffer.
15033 (whitespace-trailing-regexp): Remove useless save-match-data.
15034 (whitespace-empty-at-bob-regexp): Minor simplification.
15035
b7d22a83
CY
150362011-05-03 Chong Yidong <cyd@stupidchicken.com>
15037
15038 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15039
5192af46
AM
150402011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15041
15042 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15043 Use `concat' to create string for insertion.
5192af46 15044
5767d190
SM
150452011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15046
15047 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15048 Avoid open-line which runs post-self-insert-hook.
15049 (bibtex-fill-entry): Remove unused `end' var.
15050
bf242939
AM
150512011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15052
5767d190
SM
15053 * textmodes/ispell.el (ispell-add-per-file-word-list):
15054 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15055
25666126
LL
150562011-05-03 Leo Liu <sdl.web@gmail.com>
15057
15058 * isearch.el (isearch-yank-pop): New command.
5767d190 15059 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15060 (isearch-forward): Mention it.
15061
52d3c2d0
SM
150622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15063
1bcace58
SM
15064 * simple.el (minibuffer-complete-shell-command): Remove.
15065 (minibuffer-local-shell-command-map): Use completion-at-point.
15066 (read-shell-command): Setup completion vars here instead.
15067 (read-expression-map): Bind TAB to symbol completion.
15068
52d3c2d0
SM
15069 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15070 error directly rather via storing it into `results'.
15071
35813471
LL
150722011-05-02 Leo Liu <sdl.web@gmail.com>
15073
15074 * vc/diff.el: Fix description.
15075
e793a940
LMI
150762011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15077
15078 * server.el (server-eval-at): New function.
15079
8de66e05
LMI
150802011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15081
15082 * net/network-stream.el (open-network-stream): Take a :nowait
15083 parameter and pass it on to `make-network-process'.
15084 (network-stream-open-plain): Ditto.
15085
dcb79f20
AS
150862011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15087
15088 * faces.el (face-spec-set-match-display): Don't match toolkit
15089 options on terminal frames.
15090
14a7fbd8
SM
150912011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15092
7eabc1be
SM
15093 * progmodes/pascal.el: Use lexical binding.
15094 (pascal-mode-map): Remove author preferences.
15095
14a7fbd8
SM
15096 * pcomplete.el (pcomplete-std-complete): Don't abuse
15097 completion-at-point.
15098
50f84510
JB
150992011-04-28 Juanma Barranquero <lekktu@gmail.com>
15100
6e087a44
JB
15101 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15102 removing code that has been dead since 1991 or so.
15103
50f84510
JB
15104 * startup.el (command-line): When warning about "_emacs", use a
15105 delayed warning to allow the user to filter it out.
15106
0ba690bd
DD
151072011-04-28 Deniz Dogan <deniz@dogan.se>
15108
15109 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15110 user has not joined.
15111
08abfaad
SM
151122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15113
15114 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15115 aren't any completions at point.
15116
638f053a
JB
151172011-04-28 Juanma Barranquero <lekktu@gmail.com>
15118
15119 * subr.el (display-delayed-warnings): New function.
15120 (delayed-warnings-hook): New variable.
15121
8fff8daa
SM
151222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15123
08abfaad
SM
15124 * minibuffer.el (completion-at-point, completion-help-at-point):
15125 Don't presume that a given completion-at-point-function will always
15126 use the same calling convention.
15127
8fff8daa
SM
15128 * pcomplete.el (pcomplete-completions-at-point):
15129 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15130 pcomplete-seen is non-nil.
15131 (pcomplete-comint-setup): Also recognize the new comint/shell
15132 completion functions.
15133 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15134 pcomplete-seen is non-nil.
15135
841a1577 151362011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15137
841a1577 15138 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15139 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15140 the first character in the entry. This allows for code to add its
211ec907
UJ
15141 own uid to the entry.
15142 (icalendar--convert-float-to-ical): Add export of
15143 `diary-float'-entries save for those with the optional DAY
15144 argument.
15145
2a782793
DC
151462011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15147
15148 * subr.el (shell-quote-argument): Use alternate escaping strategy
15149 when we spot a variable reference in a string.
15150
0438ce91
DC
151512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15152
15153 * cus-start.el (all): Define customization for debug-on-event.
15154
841a1577 151552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15156
15157 * subr.el (shell-quote-argument): Escape correctly under Windows.
15158
d090ed6c
SM
151592011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15160
15161 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15162
bfd31217
MA
151632011-04-25 Michael Albinus <michael.albinus@gmx.de>
15164
d090ed6c
SM
15165 * net/tramp.el (tramp-process-actions): Add POS argument.
15166 Delete region between POS and (pos).
bfd31217 15167
d090ed6c
SM
15168 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15169 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15170 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15171
15172 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15173 position in `tramp-process-actions' call.
15174
15175 * net/trampver.el: Update release number.
15176
e92f3bd3
SM
151772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15178
850256b5
SM
15179 * custom.el (defcustom): Obey lexical-binding.
15180
e92f3bd3
SM
15181 Fix octave-inf completion problems reported by Alexander Klimov.
15182 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15183 Inherit from octave-mode-syntax-table.
15184 (inferior-octave-mode): Set info-lookup-mode.
15185 (inferior-octave-completion-at-point): New function.
15186 (inferior-octave-complete): Use it and completion-in-region.
15187 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15188 comint-filename-completion.
15189 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15190 symbol elements which shouldn't be word elements.
15191 (octave-font-lock-keywords, octave-beginning-of-defun)
15192 (octave-function-header-regexp): Adjust regexps accordingly.
15193 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15194
cd22b309
JB
151952011-04-25 Juanma Barranquero <lekktu@gmail.com>
15196
15197 * net/gnutls.el (gnutls-errorp): Declare before first use.
15198
8b492194
TZ
151992011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15200
15201 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15202 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15203 default trustfile exists before going to use it. Add missing
5a5fa834 15204 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15205 Reported by Claudio Bley <claudio.bley@gmail.com>.
15206 (open-gnutls-stream): Add usage example.
15207
15208 * net/network-stream.el (network-stream-open-starttls): Give host
15209 parameter to `gnutls-negotiate'.
15210 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15211 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15212
841a1577 152132011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15214
cd22b309
JB
15215 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15216 Use correct match group (bug#8438).
05842630 15217
3ba7869c
CY
152182011-04-24 Chong Yidong <cyd@stupidchicken.com>
15219
512e3ae1
CY
15220 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15221 (package-menu--generate): New arg specifying packages to show.
15222 (package-menu-refresh, package-menu-execute, list-packages):
15223 Callers changed.
15224 (package-show-package-list): New function, replacing deleted
15225 package--list-packages (renamed because it is non-internal).
15226
15227 * finder.el (finder-list-matches): Use package-show-package-list
15228 instead of deleted package--list-packages.
15229
e92f3bd3
SM
15230 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15231 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15232 (vc-annotate-mode-map): Bind it to RET.
15233
7031be6d
UR
152342011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15235
15236 * progmodes/etags.el (next-file): Don't use set-buffer to change
15237 buffers (Bug#8478).
15238
4ef177aa
CY
152392011-04-24 Chong Yidong <cyd@stupidchicken.com>
15240
c8d173eb
CY
15241 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15242
4ef177aa
CY
15243 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15244 (apropos-accumulator): Doc fix.
15245 (apropos-function, apropos-macro, apropos-command)
15246 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15247 (apropos-plist): Add face property.
15248 (apropos-symbols-internal): Fix indentation.
15249 (apropos-print): Simplify help, and recognize apropos-multi-type.
15250 (apropos-print-doc): Use button-type-get to extract the button's
15251 face property. Fill docstring (Bug#8352).
15252
4ffd0d6b 152532011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15254
15255 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15256
c6c32125 15257 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15258 (mpuz-mode-map): Use mapc.
c6c32125
JB
15259 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15260 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15261 Fix typos in docstrings.
15262
58d468b4
JB
15263 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15264 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15265
6470c3c6
JB
15266 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15267
4ffd0d6b 152682011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15269
15270 * minibuffer.el (completion--do-completion): Avoid the "Next char
15271 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15272
3ad8bad0
CY
15273 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15274 mouse-2 into unread-command-events, it is interpreted correctly.
15275
71d73c9c 15276 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15277 (image-toggle-display): Doc fix.
71d73c9c 15278
841a1577 152792011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15280
4ffd0d6b
GM
15281 * textmodes/page.el (what-page): Use line-number-at-pos to
15282 calculate line number (Bug#6825).
6e1dbaa9 15283
c2fb1b60
JB
152842011-04-22 Juanma Barranquero <lekktu@gmail.com>
15285
15286 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15287 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15288 Pass argument NO-DEFAULT to `find-tag-interactive'.
15289
e02f48d7
JB
152902011-04-22 Juanma Barranquero <lekktu@gmail.com>
15291
15292 Lexical-binding cleanup.
15293
15294 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15295 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15296 * progmodes/ada-prj.el (ada-prj-initialize-values)
15297 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15298 (ada-prj-show-value):
15299 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15300 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15301 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15302 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15303 * progmodes/bug-reference.el (bug-reference-push-button):
15304 * progmodes/fortran.el (fortran-line-length):
15305 * progmodes/glasses.el (glasses-change):
15306 * progmodes/octave-mod.el (octave-fill-paragraph):
15307 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15308 (python-pdbtrack-grub-for-buffer, python-sentinel):
15309 * progmodes/sql.el (sql-save-connection):
15310 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15311 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15312 Mark unused parameters.
15313
15314 * progmodes/compile.el (compilation--flush-directory-cache)
15315 (compilation--flush-parse, compile-internal): Mark unused parameters.
15316 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15317 (compilation-next-error-function): Remove unused variable `timestamp'.
15318
15319 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15320 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15321
15322 * progmodes/dcl-mode.el (dcl-end-of-command):
15323 Remove unused variable `start'.
15324 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15325 (dcl-option-value-basic, dcl-option-value-offset)
15326 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15327 Mark unused parameters.
15328 (dcl-save-local-variable): Remove unused variable `val'.
15329 (mode): Declare.
15330
15331 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15332 Mark unused parameters.
15333 (delphi-ignore-changes): Move before first use.
15334 (delphi-charset-token-at): Remove unused variable `start'.
15335 (delphi-else-start): Remove unused variable `if-count'.
15336 (delphi-comment-block-start, delphi-comment-block-end):
15337 Remove unused variable `kind'.
15338 (delphi-indent-line): Remove unused variable `new-point'.
15339
15340 * progmodes/ebrowse.el (ebrowse-files-list)
15341 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15342 Mark unused parameters. Don't quote `lambda'.
15343 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15344 Don't quote `lambda'.
15345 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15346 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15347 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15348 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15349 Use `ignore-errors'.
15350 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15351 (ebrowse-view/find-file-and-search-pattern)
15352 (ebrowse-view/find-member-declaration/definition):
15353 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15354 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15355 Rename parameter PREFIX-ARG to PREFIX.
15356 (ebrowse-tags-read-name): Remove unused variables `start' and
15357 `member-info'.
15358 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15359 to `tags-file'.
15360
15361 * progmodes/etags.el (local-find-tag-hook): Declare.
15362 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15363 Mark unused parameters.
15364
15365 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15366 (executable-interpret): Mark unused parameter.
15367
15368 * progmodes/flymake.el (flymake-process-sentinel)
15369 (flymake-after-change-function)
15370 (flymake-create-temp-with-folder-structure)
15371 (flymake-get-include-dirs-dot): Mark unused parameters.
15372 (flymake-safe-delete-directory): Remove unused variable `err'.
15373
15374 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15375 (speedbar-timer-fn, speedbar-line-text)
15376 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15377 (speedbar-center-buffer-smartly): Declare functions.
15378 (gdb-find-watch-expression): Remove unused variable `array'.
15379 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15380 (gdb-starting): Mark unused parameters.
15381 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15382 (gdb-table-string): Remove unused variable `res'.
15383 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15384 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15385 (gdb-display-buffer): Remove unused variable `cur-size'.
15386
15387 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15388 allow lexical-binding compilation.
15389 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15390 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15391 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15392 Mark unused parameters.
15393 (gud-gdb-marker-filter): Remove unused variable `match'.
15394 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15395 lambda expressions and funcall them, instead of using `fset'.
15396
15397 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15398 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15399
15400 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15401 variable `header-beg'; use `let'.
15402
15403 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15404 `restart', `last-sexp' and `at-do'.
15405
15406 * progmodes/js.el (js--debug): Mark unused parameter.
15407 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15408 (js--splice-into-items): Remove unused variable `item'.
15409 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15410
15411 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15412 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15413 (makefile-complete): Remove unused variable `try'.
15414 (makefile-fill-paragraph, makefile-match-function-end):
15415 Mark unused parameters.
15416
15417 * progmodes/octave-inf.el (inferior-octave-complete):
15418 Remove unused variable `proc'.
15419 (inferior-octave-output-digest): Mark unused parameter.
15420
15421 * progmodes/perl-mode.el (perl-calculate-indent):
15422 Remove unused variable `err'.
15423
15424 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15425 (prolog-indent-line): Mark unused parameters.
15426 (prolog-indent-line): Remove unused variable `beg'.
15427
15428 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15429 (reporter-dont-compact-list): Declare.
15430
15431 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15432 Remove unused variable `char'.
15433 (sh-debug): Mark unused parameter.
15434 (sh-get-indent-info): Remove unused variable `start'.
15435 (sh-calculate-indent): Remove unused variable `var'.
15436
15437 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15438 (simula-electric-keyword): Remove unused variable `null'.
15439 (simula-search-backward, simula-search-forward): Remove unused
15440 variables `begin' and `end'.
15441
15442 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15443 Remove unused variable `pos'.
15444 (vera-electric-tab, vera-comment-uncomment-region):
15445 Mark unused parameters.
15446 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15447
7ede3b65
CY
154482011-04-22 Chong Yidong <cyd@stupidchicken.com>
15449
15450 * emacs-lisp/package.el (package--builtins, package-alist)
15451 (package-load-descriptor, package-built-in-p, package-activate)
15452 (define-package, package-installed-p)
15453 (package-compute-transaction, package-buffer-info)
15454 (package--push): Doc fix. Distinguish more clearly between
15455 version strings and version lists.
15456
121656e9
JB
154572011-04-21 Juanma Barranquero <lekktu@gmail.com>
15458
15459 Lexical-binding cleanup.
15460
15461 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15462 (5x5-make-mutate-best):
15463 * play/fortune.el (fortune-in-buffer):
15464 * play/gomoku.el (gomoku-init-display):
15465 * play/solitaire.el (solitaire, solitaire-do-check):
15466 * play/tetris.el (tetris-default-update-speed-function):
15467 Mark unused parameters.
15468
15469 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15470 (bubbles--shift): Remove unused variable `char-org'.
15471 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15472 (bubbles--show-images): Remove unused variable `char'.
15473
15474 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15475 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15476 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15477 (decipher-analyze-buffer): Use ?\s.
15478 (decipher-make-checkpoint): Remove unused variable `mapping'.
15479
15480 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15481
15482 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15483 Remove unused variable `result'; use `let'.
15484
15485 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15486 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15487 (gametree-children-shown-p, gametree-compute-reduced-score):
15488 Use `ignore-errors'.
15489
15490 * play/handwrite.el (ps-lpr-switches): Declare.
15491 (handwrite): Remove unused variables `pmin' and `lastp'.
15492
15493 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15494
15495 * play/landmark.el (landmark-init-display)
15496 (landmark-update-naught-weights): Mark unused parameters.
15497 (landmark-y): Remove unused variable `noise'. Simplify.
15498 (landmark-human-plays): Remove unused variable `score'.
15499
15500 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15501 (mpuz-try-proposal): Remove unused variable `game'.
15502
15503 * play/zone.el (life-patterns): Declare.
15504
80f499c7
JB
155052011-04-20 Juanma Barranquero <lekktu@gmail.com>
15506
15507 * vc/vc.el (ediff-vc-internal): Declare function.
15508
024ff170
SM
155092011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15510
c0a193ea
SM
15511 * shell.el: Use lexical-binding and std completion UI.
15512 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15513 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15514 comint-preoutput-filter-functions rather than on
15515 comint-output-filter-functions.
15516 (shell-command-completion, shell--command-completion-data)
15517 (shell-filename-completion, shell-environment-variable-completion)
15518 (shell-c-a-p-replace-by-expanded-directory): New functions.
15519 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15520 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15521 (shell-dynamic-complete-environment-variable): Use them.
15522 (shell-dynamic-complete-as-environment-variable)
15523 (shell-dynamic-complete-as-command): Remove.
15524 (shell-match-partial-variable): Match past point.
15525 * comint.el: Clean up use of completion-at-point-functions.
15526 (comint-completion-at-point): New function.
15527 (comint-mode): Use it completion-at-point-functions.
15528 (comint-dynamic-complete): Make it obsolete.
15529 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15530 (comint-c-a-p-replace-by-expanded-history): New function.
15531 (comint-dynamic-complete-functions)
15532 (comint-replace-by-expanded-history): Use it.
15533 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15534 termination strings. Try harder to avoid second try-completion.
15535 (completion-in-region-mode-map): Disable bindings that don't work yet.
15536
2dbaa080
SM
15537 * comint.el: Use lexical-binding. Require CL.
15538 (comint-dynamic-complete-functions): Use comint-filename-completion.
15539 (comint-completion-addsuffix): Tweak custom type.
15540 (comint-filename-completion, comint--common-suffix)
15541 (comint--common-quoted-suffix, comint--table-subvert)
15542 (comint--complete-file-name-data): New functions.
15543 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15544 (comint-dynamic-list-filename-completions): Use them.
15545 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15546
2dbaa080
SM
15547 * minibuffer.el (completion-in-region-mode):
15548 Keep completion-in-region-mode--predicate global.
15549 (completion-in-region--postch):
15550 Assume completion-in-region-mode--predicate is not null.
15551
c79a6f38
SM
15552 * progmodes/flymake.el (flymake-start-syntax-check-process):
15553 Obey `dir'. Simplify.
15554
024ff170
SM
15555 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15556 we're in VC after all.
15557
1c6c854e
CS
155582011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15559
15560 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15561 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15562 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15563
bed7f140
SM
155642011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15565
332e62ab
SM
15566 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15567 add sanity check.
15568
bed7f140
SM
15569 * obsolete/erc-hecomplete.el: Make obsolete.
15570 * obsolete/: Standardize obsolescence info in the header.
15571
f195c582
GM
155722011-04-20 Glenn Morris <rgm@gnu.org>
15573
15574 * calendar/solar.el (solar-horizontal-coordinates):
15575 Use the longitude argument rather than `calendar-longitude'.
15576 (solar-date-next-longitude): Remove unused locals.
15577
cb79b8c0
VJL
155782011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15579
15580 * whitespace.el: New version 13.2.1.
15581
155822011-04-20 felix <EmacsWiki> (tiny change)
15583
d8e4b68b 15584 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15585 switching between major modes on a file.
15586
602ea69d
SM
155872011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15588
15589 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15590 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15591 multi-line comments as well.
15592
06b60517
JB
155932011-04-19 Juanma Barranquero <lekktu@gmail.com>
15594
15595 Lexical-binding cleanup.
15596
15597 * arc-mode.el (archive-mode-revert):
15598 * cmuscheme.el (scheme-interactively-start-process):
15599 * custom.el (custom-initialize-delay):
15600 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15601 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15602 * emacs-lock.el (emacs-lock-clear-sentinel):
15603 * ezimage.el (defezimage):
15604 * follow.el (follow-avoid-tail-recenter):
15605 * fringe.el (set-fringe-mode-1):
15606 * generic-x.el (bat-generic-mode-compile):
15607 * help-mode.el (help-info-variable, help-do-xref)
15608 (help-mode-revert-buffer):
15609 * help.el (view-emacs-todo):
15610 * iswitchb.el (iswitchb-completion-help):
15611 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15612 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15613 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15614 * locate.el (locate-update):
15615 * longlines.el (longlines-encode-region)
15616 (longlines-after-change-function):
15617 * outline.el (outline-isearch-open-invisible):
15618 * ps-def.el (declare-function, charset-dimension, char-width)
15619 (encode-char):
15620 * ps-mule.el (ps-mule-plot-string):
15621 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15622 (recentf-edit-list-select, recentf-edit-list-validate)
15623 (recentf-open-files-action):
15624 * rect.el (delete-whitespace-rectangle-line)
15625 (rectangle-number-line-callback):
15626 * register.el (window-configuration-to-register)
15627 (frame-configuration-to-register):
15628 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15629 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15630 (xselect-convert-to-targets, xselect-convert-to-delete)
15631 (xselect-convert-to-filename, xselect-convert-to-charpos)
15632 (xselect-convert-to-lineno, xselect-convert-to-colno)
15633 (xselect-convert-to-os, xselect-convert-to-host)
15634 (xselect-convert-to-user, xselect-convert-to-class)
15635 (xselect-convert-to-name, xselect-convert-to-integer)
15636 (xselect-convert-to-atom, xselect-convert-to-identity):
15637 * subr.el (declare, ignore, process-kill-without-query)
15638 (text-clone-maintain):
15639 * terminal.el (te-get-char, te-tic-sentinel):
15640 * tool-bar.el (tool-bar-make-keymap):
15641 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15642 * type-break.el (type-break-mode, type-break-noninteractive-query):
15643 * view.el (View-back-to-mark):
15644 * wid-browse.el (widget-browse-action, widget-browse-widget)
15645 (widget-browse-widgets, widget-browse-sexp):
15646 * widget.el (define-widget-keywords):
15647 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15648 Mark unused parameters.
15649
15650 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15651 (align-areas): Remove unused variable `look'.
15652 (align-region): Remove unused variables `real-end' and `pos-list'.
15653
15654 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15655
15656 * bindings.el (mode-line-modified, mode-line-remote):
15657 Mark unused parameters.
15658 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15659
15660 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15661 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15662
15663 * comint.el (comint-history-isearch-pop-state)
15664 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15665 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15666 (comint-substitute-in-file-name): Doc fix.
15667
15668 * completion.el (cmpl-statistics-block): Mark unused parameter.
15669 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15670 (save-completions-to-file, load-completions-from-file):
15671 Remove unused local variable `e'.
15672
15673 * composite.el (compose-chars): Remove unused variable `len'.
15674 (lgstring-insert-glyph): Remove unused variable `g'.
15675 (compose-glyph-string): Remove unused variables `ascent',
15676 `descent', `lbearing' and `rbearing'.
15677 (compose-glyph-string-relative): Remove unused variables
15678 `lbearing', `rbearing' and `wadjust'.
15679 (compose-gstring-for-graphic): Remove unused variables `header',
15680 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15681 (compose-gstring-for-terminal): Remove unused variables `header'
15682 and `nchars'. Use `let', not `let*'.
15683
15684 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15685 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15686 (Custom-buffer-done, custom-buffer-create-internal)
15687 (custom-browse-visibility-action, custom-browse-group-tag-action)
15688 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15689 (widget-magic-mouse-down-action, custom-toggle-parent)
15690 (custom-add-parent-links, custom-toggle-hide-variable)
15691 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15692 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15693 (custom-face-menu-create, custom-variable-menu-create, get)
15694 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15695 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15696 (customize-apropos): Remove unused variable `tests'.
15697 (custom-group-value-create): Remove unused variable `hidden-p'.
15698 (sort-fold-case): Declare.
15699
15700 * cus-theme.el (custom-reset-standard-faces-list)
15701 (custom-reset-standard-variables-list): Declare.
15702 (customize-create-theme, custom-theme-revert, custom-theme-write)
15703 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15704 Mark unused parameters.
15705
15706 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15707
15708 * delim-col.el (delimit-columns-max): Move defvar before first use.
15709
15710 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15711 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15712
15713 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15714 (auto-insert): Declare.
15715 (desktop-restore-file-buffer): Rename desktop-* parameters;
15716 mark unused ones.
15717 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15718 (desktop-buffer): Rename desktop-* parameters.
15719
15720 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15721 (dframe-reposition-frame-xemacs, dframe-help-echo)
15722 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15723 Mark unused parameters.
15724
15725 * dired-aux.el (backup-extract-version-start, overwrite-query)
15726 (overwrite-backup-query, rename-regexp-query)
15727 (rename-non-directory-query): Declare.
15728 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15729 (dired-add-entry): Remove unused variable `orig-file-name'.
15730 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15731 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15732 `dired-copy-preserve-time' directly.
15733 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15734 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15735
15736 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15737 (dired-virtual-revert, dired-make-relative-symlink):
15738 Mark unused parameters.
15739 (manual-program): Declare.
15740 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15741 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15742 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15743
15744 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15745
15746 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15747
15748 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15749 Declare.
15750
15751 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15752
15753 * electric.el (Electric-command-loop): Rename parameter
15754 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15755
15756 * expand.el (expand-in-literal): Remove unused variable `here'.
15757
15758 * facemenu.el (facemenu-add-new-color):
15759 Remove unused variable `docstring'.
15760
15761 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15762 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15763 (face-attr-construct): Mark unused parameter. Doc fix.
15764 (read-color): Remove unused variable `hex-string'.
15765
15766 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15767 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15768 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15769 (display-buffer-other-frame): Remove unused variable `old-window'.
15770 (kill-buffer-hook): Declare.
15771 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15772 Mark unused parameters.
15773 (after-find-file): Pass 1 to `auto-save-mode', not t.
15774
15775 * files-x.el (auto-insert): Declare.
15776 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15777
15778 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15779 variable `buf'. Mark unused parameter.
06b60517
JB
15780 (find-lisp-insert-directory): Mark unused parameter.
15781
15782 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15783 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15784 (format-common-tail): Remove, unused.
15785 (format-deannotate-region): Remove unused variable `loc'.
15786 (format-annotate-region): Remove unused variable `p'.
15787 (format-annotate-single-property-change): Remove unused variables
15788 `default' and `tail'.
15789
15790 * forms.el (read-file-filter): Declare.
15791 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15792
15793 * frame.el (frame-creation-function-alist): Mark unused parameter.
15794 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15795
15796 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15797 Remove unused parameters.
15798 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15799 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15800
15801 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15802 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15803 (hfy-prepare-tag-map): Mark unused parameters.
15804 (htmlfontify-buffer): Use `called-interactively-p'.
15805
15806 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15807 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15808 (ibuffer-do-occur): Mark unused parameters.
15809 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15810 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15811
15812 * ibuffer.el: Don't quote `lambda'.
15813 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15814 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15815 Mark unused parameters.
15816
15817 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15818 (ido-completing-read): Mark unused parameters.
15819 (ido-copy-current-word): Mark unused parameters;
15820 remove unused variable `name'.
15821 (ido-sort-merged-list): Remove unused parameter `dirs'.
15822
15823 * ielm.el (ielm-input-sender): Mark unused parameter.
15824 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15825 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15826 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15827 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15828 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15829
15830 * image-dired.el (image-dired-display-thumbs): Remove unused
15831 variables `curr-file' and `count'.
15832 (image-dired-remove-tag): Remove unused variable `start'.
15833 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15834 variable `curr-file'
15835 (image-dired-rotate-original): Remove unused variable `temp-file'.
15836 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15837 Remove unused variable `file'.
15838 (image-dired-gallery-generate): Remove unused variable `curr'.
15839 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15840
15841 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15842
15843 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15844
15845 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15846
15847 * isearch.el (minibuffer-history-symbol): Declare.
15848 (isearch-edit-string): Remove unused variable `err'.
15849 (isearch-message-prefix, isearch-message-suffix):
15850 Mark unused parameters.
15851
15852 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15853
15854 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15855
15856 * makesum.el (double-column): Remove unused variable `cnt'.
15857
15858 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15859 (ido-ignore-item-temp-list): Declare.
15860
15861 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15862 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15863 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15864 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15865 `mouse-col-delta'.
15866
15867 * mouse-sel.el (mouse-extend-internal):
15868 Remove unused variable `orig-window-frame'.
15869
15870 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15871 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15872 Move declarations before first use.
15873 (pcomplete-opt): Mark unused parameters; doc fix.
15874
15875 * proced.el (proced-revert): Mark unused parameter.
15876 (proced-send-signal): Remove unused variable `err'.
15877
15878 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15879 Rename parameter PREFIX-ARG to ARG.
15880 (ps-basic-plot-string, ps-basic-plot-whitespace):
15881 Mark unused parameters.
15882
15883 * replace.el (replace-count): Define.
15884 (occur-revert-function): Mark unused parameters.
15885 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15886 (isearch-case-fold-search, isearch-string): Declare.
15887 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15888 bind `case-fold-search'. Remove unused variables `beg' and `end',
15889 and simplify.
15890 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15891 COUNT and bind `replace-count'.
15892 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15893 to COUNT.
15894
15895 * savehist.el (print-readably, print-string-length): Declare.
15896
15897 * shadowfile.el (shadow-expand-cluster-in-file-name):
15898 Remove unused variable `cluster'.
15899 (shadow-copy-file): Remove unused variable `i'.
15900 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15901 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15902 (shadow-define-literal-group, shadow-define-regexp-group)
15903 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15904
15905 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15906 (shell): Use `called-interactively-p'.
15907 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15908
15909 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15910 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15911 (delete-backward-char): Remove unused variable `ocol'.
15912 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15913 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15914 (event-apply-hyper-modifier, event-apply-shift-modifier)
15915 (event-apply-control-modifier, event-apply-meta-modifier):
15916 Mark unused parameters.
15917 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15918 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15919
15920 * speedbar.el (speedbar-ignored-directory-expressions)
15921 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15922 (speedbar-find-file, speedbar-dir-follow)
15923 (speedbar-directory-buttons-follow, speedbar-tag-find)
15924 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15925 (speedbar-buffers-line-directory, speedbar-buffer-click):
15926 Mark unused parameters.
15927 (speedbar-tag-file): Remove unused variable `mode'.
15928 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15929
15930 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15931
15932 * talk.el (talk): Remove unused variable `display'.
15933
15934 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15935 (tar-write-region-annotate): Mark unused parameter.
15936
15937 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15938 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15939 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15940 warning by another.
15941
15942 * time-stamp.el (time-stamp-string-preprocess):
15943 Remove unused variable `require-padding'.
15944
15945 * tree-widget.el (widget-glyph-enable): Declare.
15946 (tree-widget-action): Mark unused parameter.
15947
15948 * w32-fns.el (x-get-selection): Mark unused parameter.
15949 (autoload-make-program, generated-autoload-file): Declare.
15950
15951 * wdired.el (wdired-revert): Mark unused parameters.
15952 (wdired-xcase-word): Remove unused variable `err'.
15953
15954 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15955 (whitespace-help-scroll): Remove unused variable `data-help'.
15956
15957 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15958 (widget-image-insert, widget-after-change, default)
15959 (widget-default-format-handler, widget-default-notify)
15960 (widget-default-prompt-value, widget-info-link-action)
15961 (widget-url-link-action, widget-function-link-action)
15962 (widget-variable-link-action, widget-file-link-action)
15963 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15964 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15965 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15966 (widget-insert-button-action, widget-delete-button-action, visibility)
15967 (widget-documentation-link-action, widget-documentation-string-action)
15968 (widget-const-prompt-value, widget-regexp-match, symbol)
15969 (widget-coding-system-prompt-value)
15970 (widget-key-sequence-value-to-external, sexp)
15971 (widget-sexp-value-to-internal, character, vector, cons)
15972 (widget-choice-prompt-value, widget-boolean-prompt-value)
15973 (widget-color--choose-action): Mark unused parameters.
15974 (widget-item-match-inline, widget-choice-match-inline)
15975 (widget-checklist-match, widget-checklist-match-inline)
15976 (widget-group-match): Rename parameter VALUES to VALS.
15977 (widget-field-value-set): Remove unused variable `size'.
15978 (widget-color-action): Remove unused variables `value' and `start'.
15979
15980 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15981 variable `dir'. Doc fix.
06b60517
JB
15982 (windmove-find-other-window): Don't pass it.
15983
15984 * window.el (count-windows): Mark unused parameter.
15985 (bw-adjust-window): Remove unused variable `err'.
15986
15987 * woman.el (woman-file-name): Remove unused variable `default'.
15988 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15989 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15990 (global-font-lock-mode): Declare.
15991 (woman-decode-region): Mark unused parameter.
15992 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15993
15994 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15995 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15996 (x-dnd-handle-moz-url): Remove unused variable `title'.
15997 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15998
15999 * xml.el (xml-parse-tag, xml-parse-attlist):
16000 Remove unused variable `pos'.
16001
bc4f7f3d
GM
160022011-04-19 Glenn Morris <rgm@gnu.org>
16003
16004 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16005 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16006 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16007 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16008 * calendar/cal-html.el (cal-html-insert-minical):
16009 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16010 (calendar-mark-date-pattern):
16011 Prefix "unused" locals.
16012
16013 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16014 optional argument `style'.
16015
16016 * calendar/appt.el (appt-make-list):
16017 * calendar/cal-china.el (calendar-chinese-date-string):
16018 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16019 (diary-hebrew-yahrzeit):
16020 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16021 * calendar/calendar.el (calendar-generate-window):
16022 * calendar/time-date.el (time-to-days):
16023 Remove unused local variables.
16024
16a43933
CY
160252011-04-18 Chong Yidong <cyd@stupidchicken.com>
16026
16027 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16028 glyphless-char-display table.
16029 (tabulated-list-glyphless-char-display): New var.
16030
7eed1860
SS
160312011-04-18 Sam Steingold <sds@gnu.org>
16032
16033 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16034 to acknowledgments.
16035
4d2d1ccd
GM
160362011-04-17 Glenn Morris <rgm@gnu.org>
16037
16038 * calendar/diary-lib.el (diary-sexp-entry):
16039 * calendar/holidays.el (holiday-sexp):
16040 Set debug-on-error rather than the removed stack-trace-on-error.
16041
239da61d
GM
160422011-04-16 Glenn Morris <rgm@gnu.org>
16043
16044 * progmodes/f90.el: Use lexical-binding.
16045 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16046
8b05752a
SM
160472011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16048
daca8ba5
SM
16049 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16050 (mail-mode): Setup mailalias completion here instead.
16051 * mail/mailalias.el: Use lexical-binding.
16052 (pattern, mailalias-done): Declare dynamic.
16053 (mail-completion-at-point-function): New function, from mail-complete.
16054 (mail-complete): Use it.
16055 (mail-completion-expand): New function.
16056 (mail-get-names): Use it.
16057 (mail-directory, mail-directory-process, mail-directory-stream):
16058 Don't use `pattern' for lexically bound arg.
16059
6f542485
SM
16060 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16061
037e7c3f
SM
16062 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16063 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16064 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16065
8b05752a
SM
16066 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16067 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16068 (byte-interactive-p): Define them again, for use when inlining
16069 old code.
16070
49093f60
JB
160712011-04-15 Juanma Barranquero <lekktu@gmail.com>
16072
16073 * loadup.el: Use `string-to-number', not `string-to-int'.
16074
b5b8e7de
SM
160752011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16076
16077 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16078 gud-gdb-complete-command.
16079 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16080 (gud-gdb-completion-at-point): New function.
16081 (gud-gdb-completions): Remove.
16082
f42efeb5
MA
160832011-04-14 Michael Albinus <michael.albinus@gmx.de>
16084
49093f60
JB
16085 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16086 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16087 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16088 whether `executable-find' is bound.
f42efeb5
MA
16089
16090 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16091
e240cc21
SM
160922011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16093
16094 * minibuffer.el (completion-in-region-mode-predicate)
16095 (completion-in-region-mode--predicate): New vars.
16096 (completion-in-region, completion-in-region--postch)
16097 (completion-in-region-mode): Use them.
16098 (completion--capf-wrapper): Also return the hook function.
16099 (completion-at-point, completion-help-at-point):
16100 Adjust and provide a predicate.
c2bd2ab0
SM
16101
16102 Preserve arg names for advice of subr and lexical functions (bug#8457).
16103 * help-fns.el (help-function-arglist): Consolidate the subr and
16104 new-byte-code cases. Add argument `preserve-names' to extract names
16105 from the docstring when needed.
16106 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16107 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16108 (ad-arglist): Use help-function-arglist's new arg.
16109 (ad-definition-type): Use cond.
16110
c183f693
JB
161112011-04-13 Juanma Barranquero <lekktu@gmail.com>
16112
06641a47
JB
16113 * autorevert.el (auto-revert-handler):
16114 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16115 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16116 Don't quote lambda.
16117
c183f693
JB
16118 * image-mode.el (image-transform-set-scale):
16119 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16120
1e3b6001
G
161212011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16122
16123 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16124 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16125 Upgrades via gnutls-cli are too slow to be done opportunistically.
16126
2d6af8dd
JB
161272011-04-12 Juanma Barranquero <lekktu@gmail.com>
16128
16129 * dframe.el (dframe-current-frame): Remove spurious quote.
16130
c0749a51
GM
161312011-04-12 Glenn Morris <rgm@gnu.org>
16132
088d0d61
GM
16133 * calendar/cal-tex.el (cal-tex-end-document):
16134 Try to automatically use latin1 input if needed.
16135
c0749a51
GM
16136 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16137 Don't try to cons a mark onto an empty element.
16138
5c90fde0
LL
161392011-04-11 Leo Liu <sdl.web@gmail.com>
16140
16141 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16142 buffers.
16143 (ido-kill-buffer-at-head): Support killing virtual buffers.
16144
369e974d
CY
161452011-04-10 Chong Yidong <cyd@stupidchicken.com>
16146
16147 * minibuffer.el (completion-show-inline-help): New var.
16148 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16149 (minibuffer-force-complete, minibuffer-complete-word):
16150 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16151
16152 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16153 to avoid interference from inline help (Bug#5849).
16154
37f1c930
LL
161552011-04-10 Leo Liu <sdl.web@gmail.com>
16156
099c39a4
JB
16157 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16158 Fix typo.
37f1c930 16159
a32d4040
CY
161602011-04-09 Chong Yidong <cyd@stupidchicken.com>
16161
16162 * image-mode.el (image-toggle-display-image): Signal an error if
16163 not in Image mode.
16164 (image-transform-mode, image-transform-resize)
16165 (image-transform-set-rotation): Doc fix.
daca8ba5 16166 (image-transform-set-resize): Delete.
a32d4040
CY
16167 (image-transform-set-scale, image-transform-fit-to-height)
16168 (image-transform-fit-to-width): Handle image-toggle-display-image
16169 and image-transform-resize directly.
16170
099c39a4 161712011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16172
16173 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16174 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16175 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16176 (doc-view-mode-map): Add bindings for the new functions.
16177
099c39a4 161782011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16179
4d61f28d 16180 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16181 Fix typo in docstring.
16182
3726838a
EZ
161832011-04-08 Eli Zaretskii <eliz@gnu.org>
16184
04f33f1e
EZ
16185 * files.el (file-size-human-readable): Produce one digit after
16186 decimal, like "ls -lh" does.
16187
16188 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16189 the file size representation.
16190
3726838a
EZ
16191 * simple.el (list-processes): If async subprocesses are not
16192 available, error out with a clear error message.
16193
cbb59342
CY
161942011-04-08 Chong Yidong <cyd@stupidchicken.com>
16195
16196 * help.el (help-form-show): New function, to be called from C.
16197 Put help-form output in a buffer named differently than *Help*.
16198
e3971c44
EZ
161992011-04-08 Eli Zaretskii <eliz@gnu.org>
16200
16201 * files.el (file-size-human-readable): New function.
16202
16203 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16204 computing the representation inline. Don't require `cl'.
16205
12544bbe
GM
162062011-04-08 Glenn Morris <rgm@gnu.org>
16207
a1de6c6a
GM
16208 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16209
3c4671f4
GM
16210 * net/browse-url.el (browse-url-firefox):
16211 Test system-type, not system-configuration.
16212
b605679c
GM
16213 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16214 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16215 Use log-edit-empty-buffer-p. (Bug#7598)
16216
56442f0c
GM
16217 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16218 (rlogin-mode-map): Initialize in the defvar.
16219 (rlogin): Use ignore-errors.
16220
12544bbe
GM
16221 * replace.el (occur-mode-map): Some fixes for menu items.
16222
eb237b0f
AH
162232011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16224
16225 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16226
7d668f2c
CY
162272011-04-06 Chong Yidong <cyd@stupidchicken.com>
16228
e67a13ab
CY
16229 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16230 issuing unused warnings.
16231
16232 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16233 macro directly.
16234
7d668f2c
CY
16235 * simple.el: Lisp reimplement of list-processes. Based on an
16236 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16237 (process-menu-mode): New major mode.
16238 (list-processes--refresh, list-processes):
16239 (process-menu-visit-buffer): New functions.
16240
16241 * files.el (save-buffers-kill-emacs): Don't assume any return
16242 value of list-processes, which is undocumented anyway.
16243
a83ec3c9
CY
162442011-04-06 Chong Yidong <cyd@stupidchicken.com>
16245
16246 * emacs-lisp/tabulated-list.el: New file.
16247
e91a96fe
CY
16248 * emacs-lisp/package.el: Use Tabulated List mode.
16249 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16250 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16251 table format using Tabulated List mode variables.
16252 (package--push): New macro, replacing package-list-maybe-add.
16253 (package-menu--generate): Use package--push. Renamed from
16254 package--generate-package-list.
16255 (package-menu-refresh, list-packages): Use it.
daca8ba5 16256 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16257 Return insertion data instead of inserting it directly.
099c39a4
JB
16258 (package-menu-describe-package, package-menu-execute):
16259 Use tabulated-list-get-id.
e91a96fe
CY
16260 (package-menu-mark-delete, package-menu-mark-install)
16261 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16262 (package-menu-mark-obsolete-for-deletion):
16263 Use tabulated-list-put-tag.
e91a96fe
CY
16264 (package--list-packages, package-menu-revert)
16265 (package-menu-get-package, package-menu-get-version)
16266 (package-menu-sort-by-column): Functions deleted.
16267 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16268 (package-menu--status-predicate, package-menu--version-predicate)
16269 (package-menu--name-predicate)
16270 (package-menu--description-predicate): Handle arguments in the
16271 Tabulated List format.
16272 (package-list-packages-no-fetch): Call list-packages.
16273
3e214b50
JB
162742011-04-06 Juanma Barranquero <lekktu@gmail.com>
16275
16276 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16277 (after-find-file): Don't bind it.
3e214b50
JB
16278 (revert-buffer-in-progress-p): New variable.
16279 (revert-buffer): Bind it.
16280 Pass nil for `after-find-file-from-revert-buffer'.
16281
16282 * saveplace.el (save-place-find-file-hook): Use new variable
16283 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16284
3f0f1700
GM
162852011-04-06 Glenn Morris <rgm@gnu.org>
16286
c0274801
GM
16287 * Makefile.in (AUTOGEN_VCS): New variable.
16288 (autoloads): Use $AUTOGEN_VCS.
16289
3f0f1700
GM
16290 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16291 * calendar/calendar.el (calendar-mode-map):
16292 Check for toolkit scroll bars. (Bug#8305)
16293
41ea9e48
CY
162942011-04-05 Chong Yidong <cyd@stupidchicken.com>
16295
16296 * minibuffer.el (completion-in-region--postch)
16297 (completion-in-region-mode): Remove unnecessary messages.
16298
6194c800
JB
162992011-04-05 Juanma Barranquero <lekktu@gmail.com>
16300
33256f14
JB
16301 * font-lock.el (font-lock-refresh-defaults):
16302 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16303 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16304
6194c800
JB
16305 * info.el (Info-directory-list, Info-read-node-name-2)
16306 (Info-split-parameter-string): Doc fixes.
16307 (Info-virtual-nodes): Reflow docstring.
16308 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16309 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16310 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16311 Fix typos in docstrings.
16312 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16313 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16314 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16315 (Info-restore-desktop-buffer): Mark unused parameters.
16316 (Info-directory-find-file, Info-directory-find-node)
16317 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16318 (Info-virtual-index-find-node, Info-apropos-find-file)
16319 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16320 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16321 (Info-virtual-index): Remove unused local variable `nodename'.
16322
b87a8200 163232011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16324
b87a8200
DD
16325 * net/rcirc.el: Update my e-mail address.
16326 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16327
3b2ff876
CY
163282011-04-05 Chong Yidong <cyd@stupidchicken.com>
16329
16330 * startup.el (command-line): Save the cursor's theme-face
16331 directly, instead of using face-override-spec.
16332
16333 * custom.el (load-theme): Minor optimization in assigning faces.
16334
8d17e7ca
JB
163352011-04-04 Juanma Barranquero <lekktu@gmail.com>
16336
16337 * help-fns.el (describe-variable): Complete all variables having
16338 documentation, including keywords.
16339 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16340
2fbc1934
JB
163412011-04-04 Juanma Barranquero <lekktu@gmail.com>
16342
16343 Convert to lexical-binding.
16344
16345 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16346 (bs--get-marked-string, bs--get-modified-string)
16347 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16348 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16349 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16350
16351 * ehelp.el (electric-help-execute-extended)
16352 (electric-help-ctrl-x-prefix):
16353 * hexl.el (hexl-revert-buffer-function):
16354 * linum.el (linum-after-change, linum-after-scroll):
16355 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16356
16357 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16358
74f50695
DU
163592011-04-04 Daiki Ueno <ueno@unixuser.org>
16360
16361 * epa-dired.el:
16362 * epa-mail.el:
16363 * epa-hook.el:
16364 * epa-file.el:
16365 * epa.el:
16366 * epg.el: Use lexical binding.
16367
c11325f7
CY
163682011-04-03 Chong Yidong <cyd@stupidchicken.com>
16369
0d9e9a12
CY
16370 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16371
c11325f7 16372 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16373 dictionary case for flyspell-mark-duplications-exceptions.
16374 Use regexp matching for languages.
c11325f7
CY
16375 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16376 default dictionary (Bug#7926).
16377
da91b5f2
CY
163782011-04-02 Chong Yidong <cyd@stupidchicken.com>
16379
099c39a4
JB
16380 * emacs-lisp/package.el (package--with-work-buffer):
16381 Recognize https URLs.
da91b5f2 16382
099c39a4
JB
16383 * net/network-stream.el: Move from gnus/proto-stream.el.
16384 Change prefix to network-stream throughout.
da91b5f2
CY
16385 (open-protocol-stream): Merge into open-network-stream, leaving
16386 open-protocol-stream as an alias. Handle nil BUFFER args.
16387
16388 * subr.el (open-network-stream): Move to net/network-stream.el.
16389
afa8e9f6
GM
163902011-04-02 Glenn Morris <rgm@gnu.org>
16391
1d2e369d
GM
16392 * find-dired.el (find-exec-terminator): New option.
16393 (find-ls-option): Test for -ls support.
16394 (find-ls-subdir-switches): Test for -b in find-ls-option.
16395 (find-dired, find-grep-dired): Doc fixes.
16396 (find-dired): Use find-exec-terminator.
16397
8abb7da8 16398 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16399 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16400 (find-name-arg): Remove purecopy.
8abb7da8 16401
f3ca7378
GM
16402 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16403 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16404 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16405 accordingly. Don't add the null-device if not needed.
16406
afa8e9f6
GM
16407 * files.el (save-some-buffers): Doc fix.
16408
35eae264
EZ
164092011-04-02 Eli Zaretskii <eliz@gnu.org>
16410
16411 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16412
26b51db5
JB
164132011-04-01 Juanma Barranquero <lekktu@gmail.com>
16414
16415 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16416 Use `dolist' rather than `mapcar'.
16417
7200d79c
SM
164182011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16419
03408648 16420 Add lexical binding.
7200d79c 16421
03408648
SM
16422 * subr.el (apply-partially): Use new closures rather than CL.
16423 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16424 (dolist, dotimes): Use slightly different expansion for lexical code.
16425 (functionp): Move to C.
16426 (letrec): New macro.
16427 (with-wrapper-hook): Use it and apply-partially instead of CL.
16428 (eval-after-load): Preserve lexical-binding.
16429 (save-window-excursion, with-output-to-temp-buffer): Turn them
16430 into macros.
7200d79c 16431
03408648
SM
16432 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16433
16434 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16435 than the arglist.
16436 (help-add-fundoc-usage): Don't add `Not documented'.
16437 (help-function-arglist): Handle closures, subroutines, and new
16438 byte-code-functions.
16439 (help-make-usage): Remove leading underscores.
16440 (describe-function-1): Handle closures.
16441 (describe-variable): Use special-variable-p for completion.
16442
16443 * files.el (lexical-binding): Declare safe.
f488fb65 16444
03408648
SM
16445 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16446 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16447 (pcase): Add `let' pattern.
16448 Change memoization so it actually works.
16449 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16450 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16451 <let>: New case.
f488fb65 16452
03408648
SM
16453 * emacs-lisp/macroexp.el: Use lexical binding.
16454 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16455 Don't convert ' to #' without checking that it's indeed quoting
16456 a lambda.
16457
16458 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16459 Use eval-sexp-add-defvars.
03408648
SM
16460 (eval-sexp-add-defvars): New fun.
16461
16462 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16463
16464 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16465 Don't autoload.
16466 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16467 than the internal `byte-compile-lambda'.
16468 (defmethod): Don't hide code under quotes.
16469 (eieio-defmethod): New `code' argument.
16470
16471 * emacs-lisp/eieio-comp.el: Remove.
16472
16473 * emacs-lisp/edebug.el (edebug-eval-defun)
16474 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16475 (edebug-toggle): Avoid `eval'.
16476
16477 * emacs-lisp/disass.el (disassemble-internal): Handle new
16478 `closure' objects.
16479 (disassemble-1): Handle new byte codes.
16480
16481 * emacs-lisp/cl.el (pushnew): Silence warning.
16482
16483 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16484 (cl-byte-compile-throw): Remove.
16485 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16486
16487 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16488 closures.
16489
16490 * emacs-lisp/cconv.el: New file.
16491
16492 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16493 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16494 (byte-compile-initial-macro-environment):
16495 Handle declare-function here.
16496 (byte-compile--lexical-environment): New var.
16497 (byte-stack-ref, byte-stack-set, byte-discardN)
16498 (byte-discardN-preserve-tos): New lap codes.
16499 (byte-interactive-p): Don't use any more.
16500 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16501 New macros.
16502 (byte-compile-lapcode): Use them and handle new lap codes.
16503 (byte-compile-obsolete): Remove.
16504 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16505 (byte-compile-arglist-warn): Check late def of inlinable funs.
16506 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16507 since they should have been expanded by now.
16508 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16509 (byte-compile-from-buffer): Remove unused second arg.
16510 (byte-compile-preprocess): New function.
16511 (byte-compile-toplevel-file-form): New function to distinguish
16512 file-form calls from outside from file-form calls from hunk-handlers.
16513 (byte-compile-file-form): Simplify.
16514 (byte-compile-file-form-defsubst): Remove.
16515 (byte-compile-file-form-defmumble): Simplify now that
16516 byte-compile-lambda always returns a byte-code-function.
16517 (byte-compile): Preprocess.
16518 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16519 Remove, not used any more.
16520 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16521 (byte-compile-make-args-desc): New funs.
16522 (byte-compile-lambda): Handle lexical functions. Always return
16523 a byte-code-function.
16524 (byte-compile-reserved-constants): New var, to make up room for
16525 closed-over variables.
16526 (byte-compile-constants-vector): Obey it.
16527 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16528 (byte-compile-macroexpand-declare-function): New function.
16529 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16530 byte-code-functions.
16531 (byte-compile-form): Check obsolescence here.
16532 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16533 (byte-compile-variable-ref): Remove.
16534 (byte-compile-dynamic-variable-op): New fun.
16535 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16536 (byte-compile-variable-set): New funs.
16537 (byte-compile-discard): Add 2 args.
16538 (byte-compile-stack-ref, byte-compile-stack-set)
16539 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16540 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16541 macroexpand-all instead.
16542 (byte-compile-quote-form): Remove.
16543 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16544 (byte-compile-bind, byte-compile-unbind): New funs.
16545 (byte-compile-let): Handle let* and lexical binding.
16546 (byte-compile-let*): Remove.
16547 (byte-compile-catch, byte-compile-unwind-protect)
16548 (byte-compile-track-mouse, byte-compile-condition-case):
16549 Handle a new :fun-body form, used for lexical scoping.
16550 (byte-compile-save-window-excursion)
16551 (byte-compile-with-output-to-temp-buffer): Remove.
16552 (byte-compile-defun): Simplify.
16553 (byte-compile-stack-adjustment): New fun.
16554 (byte-compile-out): Use it.
16555 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16556
16557 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16558 handler any more.
16559
16560 * emacs-lisp/byte-opt.el: Use lexical binding.
16561 (byte-inline-lapcode): Remove (to bytecomp).
16562 (byte-compile-inline-expand): Pay attention to inlining to/from
16563 lexically bound code.
16564 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16565 any more.
16566 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16567 any more and don't call compiler-macros.
16568 (byte-compile-splice-in-already-compiled-code): Remove.
16569 (byte-code): Don't inline any more.
16570 (disassemble-offset): Receive `bytes' as argument rather than via
16571 dynamic scoping.
16572 (byte-compile-tag-number): Declare before first use.
16573 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16574 `return' even if make-spliceable.
16575 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16576 obsolete interactive-p.
16577 (byte-optimize-lapcode): Optimize new lap-codes.
16578 Don't trip up on new form of `byte-constant' lap code.
16579
16580 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16581
16582 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16583
16584 * custom.el (custom-initialize-default, custom-declare-variable):
16585 Use `defvar'.
16586
16587 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16588 New variables.
16589 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16590 (COMPILE_FIRST): Add macroexp and cconv.
16591 * makefile.w32-in: Mirror changes in Makefile.in.
16592
16593 * vc/cvs-status.el:
16594 * vc/diff-mode.el:
16595 * vc/log-edit.el:
16596 * vc/log-view.el:
16597 * vc/smerge-mode.el:
16598 * textmodes/bibtex-style.el:
090bd7cb 16599 * textmodes/css-mode.el:
03408648
SM
16600 * startup.el:
16601 * uniquify.el:
da91b5f2
CY
16602 * minibuffer.el:
16603 * newcomment.el:
16604 * reveal.el:
16605 * server.el:
16606 * mpc.el:
16607 * emacs-lisp/smie.el:
16608 * doc-view.el:
16609 * dired.el:
03408648
SM
16610 * abbrev.el: Use lexical binding.
16611
0f0c1f27
EZ
166122011-04-01 Eli Zaretskii <eliz@gnu.org>
16613
16614 * info.el (info-display-manual): New function.
16615
c82b2579
SM
166162011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16617
16618 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16619
221ddf68
TH
166202011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16621
16622 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16623 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16624
cba6e77e
GM
166252011-03-31 Glenn Morris <rgm@gnu.org>
16626
e040639f
GM
16627 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16628
cba6e77e
GM
16629 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16630
6d0f1c9e
CS
166312011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16632
16633 * progmodes/python.el (python-default-interpreter)
16634 (python-python-command-args, python-jython-command-args)
16635 (python-which-shell, python-which-args, python-which-bufname)
16636 (python-file-queue, python-comint-output-filter-function)
16637 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16638 variables and functions.
16639
3e2d70fd
SM
166402011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16641
16642 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16643 (completion-in-region-mode): New minor mode.
16644 (completion-in-region): Use it.
16645 (completion-in-region--data, completion-in-region-mode-map): New vars.
16646 (completion-in-region--postch): New function.
16647 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16648 New vars.
16649 (completion--capf-wrapper): New function.
16650 (completion-at-point): Use it to track well-behavedness of
16651 hook functions.
16652 (completion-help-at-point): New command.
16653
f3e4086c
JM
166542011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16655
16656 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16657 syntax class to search for whitespace on a single line
16658 (Message-ID: <4D938140.4030905@redhat.com>).
16659
eb7ffc14
LL
166602011-03-30 Leo Liu <sdl.web@gmail.com>
16661
16662 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16663 New commands.
16664 (edit-abbrevs-map): Bind them here.
16665 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16666
d806ab68
KM
166672011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16668
16669 * allout.el (allout-hide-by-annotation, allout-flag-region):
16670 Reduce possibility of overlay leakage by making them volatile.
16671
16672 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16673 hash is not shared between buffers. Mode initialization is
16674 responsible for giving it a useful starting value.
16675 (allout-item-span): Reduce possibility of overlay leakage by
16676 making them volatile.
16677 (allout-widgets-count-buttons-in-region): Add diagnostic function
16678 for tracking down button overlay leaks.
16679
ea622834
LL
166802011-03-29 Leo Liu <sdl.web@gmail.com>
16681
16682 * ido.el (ido-read-internal): Use the default history var
16683 minibuffer-history if no HISTORY is specified.
16684
b62f8267
G
166852011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16686
03408648
SM
16687 * net/imap.el (imap-shell-open, imap-process-connection-type):
16688 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16689 Kerberos, SSL, other subprocesses.
16690
947b6566
LL
166912011-03-28 Leo Liu <sdl.web@gmail.com>
16692
16693 * abbrev.el (abbrev-table-empty-p): New function.
16694 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16695 nonempty ones. (Bug#5937)
16696
5ffb62aa
JD
166972011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16698
16699 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16700
7a097943
LL
167012011-03-27 Leo Liu <sdl.web@gmail.com>
16702
16703 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16704 for foreground and background colors.
16705 (ansi-color-make-color-map): Adapt.
16706
c5b40130
LL
167072011-03-25 Leo Liu <sdl.web@gmail.com>
16708
1f48f7d2
LL
16709 * midnight.el (midnight-time-float): Remove. Note it calculates
16710 the microsecond component incorrectly and seconds-to-time does the
16711 same job.
625897ec 16712 Remove redundant (require 'timer).
1f48f7d2 16713
c5b40130
LL
16714 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16715 (ido-completions): Remove unused arguments. (Bug#8329)
16716
d86d2721
SM
167172011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16718
16719 * minibuffer.el (completion--flush-all-sorted-completions):
16720 Remove itself from hook.
16721 (completion-at-point): Let the functions perform the completion
16722 immediately and return nil or t.
16723 * comint.el (comint-dynamic-complete-functions): Now identical to
16724 completion-at-point-functions.
16725 (comint-dynamic-list-input-ring): Remove unused var `index'.
16726 (comint--match-partial-filename, comint--unquote&expand-filename):
16727 New funs, split from comint-match-partial-filename.
16728 (comint-dynamic-complete): Use completion-at-point.
16729 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16730
e8974c48
DA
167312011-03-24 Drew Adams <drew.adams@oracle.com>
16732
16733 * thingatpt.el: Support `defun'.
16734
def71b5e
LL
167352011-03-23 Leo Liu <sdl.web@gmail.com>
16736
cb5af48e
LL
16737 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16738
def71b5e
LL
16739 * help-mode.el (help-mode-finish): Tweak regexp.
16740
927c53e7
GM
167412011-03-23 Glenn Morris <rgm@gnu.org>
16742
18d05bed
GM
16743 * eshell/esh-opt.el (eshell-eval-using-options):
16744 Do not bind unused local variable `eshell-option-stub'.
16745
927c53e7
GM
16746 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16747
9d0da923
JB
167482011-03-22 Juanma Barranquero <lekktu@gmail.com>
16749
16750 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16751 keymap variable in `with-no-warnings' to avoid a warning when the
16752 keymap has been already `defconst'ed.
16753
4b978a67
LL
167542011-03-22 Leo Liu <sdl.web@gmail.com>
16755
16756 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16757 encode all chars in abbrevs; otherwise use emacs-mule or
16758 utf-8-emacs. (Bug#8308)
16759
5fd62452
JB
167602011-03-22 Juanma Barranquero <lekktu@gmail.com>
16761
0b1596c6
JB
16762 * simple.el (backward-delete-char-untabify):
16763 Avoid warning about using `delete-backward-char'.
16764
5fd62452
JB
16765 * image.el (image-type-file-name-regexps): Make it variable.
16766 `imagemagick-register-types' modifies it, and the user may want
16767 to add new extensions for known image types.
16768 (imagemagick-register-types): Throw error if not using ImageMagick.
16769
0b4e93f1
LL
167702011-03-22 Leo Liu <sdl.web@gmail.com>
16771
16772 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16773 located before rcirc-prompt-end-marker.
16774 (rcirc-complete): Error if point is not after rcirc prompt.
16775 Handle the case when table is nil.
9882e214 16776 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16777
fccee4ab
CY
167782011-03-22 Chong Yidong <cyd@stupidchicken.com>
16779
16780 * custom.el (custom--inhibit-theme-enable): Make it affect only
16781 custom-theme-set-variables and custom-theme-set-faces.
16782 (provide-theme): Ignore custom--inhibit-theme-enable.
16783 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16784 (custom-enabling-themes): Delete variable.
d86d2721
SM
16785 (enable-theme): Accept only loaded themes as arguments.
16786 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16787 (custom-enabled-themes): Forbid themes from setting this.
16788 Eliminate use of custom-enabling-themes.
16789 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16790
af896da6
LL
167912011-03-21 Leo Liu <sdl.web@gmail.com>
16792
16793 * ido.el (ido-read-internal): Add ido-selected to history instead
16794 of user input.
16795
78f64af0
SM
167962011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16797
16798 * subr.el (deferred-action-list, deferred-action-function):
16799 Mark obsolete.
16800
b16ac1ec
LL
168012011-03-21 Leo Liu <sdl.web@gmail.com>
16802
810f7698
LL
16803 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16804 change on 2011-02-13 (bug#8309).
16805
b16ac1ec
LL
16806 * minibuffer.el (read-file-name-function): Change default value.
16807 (read-file-name--defaults): Rename from read-file-name-defaults.
16808 (read-file-name-default): Rename from read-file-name.
16809 (read-file-name): Call read-file-name-function.
16810
4e05e67e
GM
168112011-03-21 Glenn Morris <rgm@gnu.org>
16812
16813 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16814 Doc fixes.
16815
4359915b
CY
168162011-03-21 Chong Yidong <cyd@stupidchicken.com>
16817
16818 * cus-theme.el: Add missing provide statement.
16819 (customize-create-theme): Extract theme value correctly.
16820 (custom-theme-visit-theme): Autoload.
16821 (customize-create-theme): Prompt before inserting default faces.
16822
1fe275ee
JB
168232011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16824
16825 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16826 units and musical notes.
16827
cd394be1 168282011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16829
16830 * ido.el (ido-read-internal): Use completing-read-default.
16831 (ido-completing-read): Fix compatibility with completing-read.
16832
7d476bde
CO
168332011-03-20 Christian Ohler <ohler@gnu.org>
16834
16835 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16836 (ert-delete-all-tests): Use `called-interactively-p' rather than
16837 `interactive-p'.
16838 (ert--make-xrefs-region): Respect END.
16839
fe0fb33e
CY
168402011-03-19 Chong Yidong <cyd@stupidchicken.com>
16841
ff854b0b
CY
16842 * dired-aux.el (dired-create-directory): Signal an error if the
16843 directory already exists (Bug#8246).
16844
fe0fb33e
CY
16845 * facemenu.el (list-colors-display): Call list-faces-display
16846 inside with-help-window.
16847 (list-colors-print): Use display property to align the final
16848 column, instead of checking window-width.
16849
576bce32
EZ
168502011-03-19 Eli Zaretskii <eliz@gnu.org>
16851
4d61f28d 16852 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16853 windows-nt systems.
16854 (emerge-protect-metachars): Quote correctly for ms-dos and
16855 windows-nt systems.
16856
89c41d68 168572011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16858
16859 * info.el (info-initialize): Replace all uses of `:' with
16860 path-separator for compatibility with non-Unix systems.
16861 Cache quoting of path-separator. (Bug#8258)
16862
b14e3e21 168632011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16864
16865 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16866 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16867 (mouse-avoidance-mode): Fix typos in docstrings.
16868
4525ce3e
CY
168692011-03-19 Chong Yidong <cyd@stupidchicken.com>
16870
16871 * startup.el (package-subdirectory-regexp): Move from package.el.
16872 Omit \\` and \\', and let callers add them.
16873
16874 * emacs-lisp/package.el (package-strip-version)
16875 (package-load-all-descriptors): Add \\` and \\' to
16876 package-subdirectory-regexp before using it.
16877 (package-untar-buffer): New arg DIR; ensure that file untars only
16878 into this expected directory. Remove superfluous delete-region.
16879 (package-unpack): Caller changed.
16880 (package-tar-file-info): Use package-subdirectory-regexp.
16881
a904a09a 168822011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16883
a904a09a
SM
16884 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16885 diff-mode-shared-map (bug#8284).
16886 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16887
168882011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16889
16890 * calendar/time-date.el (format-seconds): Use assoc instead of
16891 assoc-string, since assoc-string doesn't exist in XEmacs.
16892
171fc304
JB
168932011-03-17 Juanma Barranquero <lekktu@gmail.com>
16894
16895 * custom.el (custom-known-themes): Reflow docstring.
16896 (custom-theme-load-path): Fix typo in docstring.
16897 (load-theme): Fix typo in error message.
16898 (custom-available-themes, custom-variable-theme-value):
16899 Use `let', not `let*'.
16900
d71990a1
JB
169012011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16902
16903 * calc/README: Mention inclusion of musical notes.
16904
16905 * calc/calc-units.el (calc-lu-quant): Rename from
16906 `calc-logunits-quantity'.
16907 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16908 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16909 (calc-db): Rename from `calc-dblevel'.
16910 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16911 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16912 (calc-np): Rename from `calc-nplevel'.
16913 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16914 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16915 (calc-lu-plus): Rename from `calc-logunits-add'.
16916 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16917 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16918 (calc-lu-minus): Rename from `calc-logunits-sub'.
16919 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16920 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16921 (calc-lu-times): Rename from `calc-logunits-mul'.
16922 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16923 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16924 (calc-lu-divide): Rename from `calc-logunits-div'.
16925 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16926 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16927
16928 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16929 functions being autoloaded.
16930
16931 * calc/calc.el (calc-lu-power-reference): Rename from
16932 `calc-logunits-power-reference'.
16933 (calc-lu-field-reference): Rename from
16934 `calc-logunits-field-reference'.
16935
7a71b18d
GM
16936 * calc/calc-help.el (calc-l-prefix-help):
16937 Mention musical note functions.
d71990a1 16938
40c2934b
SM
169392011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16940
16941 * minibuffer.el (completion-all-sorted-completions):
16942 Use :completion-cycle-penalty text property if present.
16943
b0911414
KM
169442011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16945
16946 * allout.el (allout-yank-processing): Adjust for new rebulleting
16947 regime so bullet being yanked is used without prompting the user
16948 for a choice.
16949
8a05b668
JB
169502011-03-16 Juanma Barranquero <lekktu@gmail.com>
16951
16952 * startup.el (command-line): Warn the user that _emacs is deprecated.
16953
5ba5fb81
JB
169542011-03-16 Juanma Barranquero <lekktu@gmail.com>
16955
16956 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16957 (delphi-verbose, delphi-comment-face, delphi-string-face)
16958 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16959 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16960 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16961 (delphi-new-comment-line, delphi-font-lock-defaults)
16962 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16963 Fix typos in docstrings.
16964
2dab465b
KM
169652011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16966
5ba5fb81 16967 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16968 Invert the roles of character and string values for INSTEAD, so a
16969 string is used for the more common case of a defaulting prompt.
16970
0adf5618
SM
169712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16972
16973 * progmodes/ruby-mode.el (ruby-backward-sexp):
16974 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16975 * play/gamegrid.el (gamegrid-make-face):
16976 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16977 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16978 * notifications.el (notifications-notify):
16979 * net/xesam.el (xesam-search-engines):
16980 * net/quickurl.el (quickurl-list-insert):
16981 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16982
d72700e5
CY
169832011-03-15 Chong Yidong <cyd@stupidchicken.com>
16984
16985 * startup.el (command-line): Update package subdirectory regexp.
16986
49c5410a
SM
169872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16988
c6eee9aa
SM
16989 * allout.el (allout-abbreviate-flattened-numbering)
16990 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16991
49c5410a
SM
16992 * subr.el (read-char-choice): Only show the cursor after the prompt,
16993 not after the answer.
16994
047b2bb9
KR
169952011-03-15 Kevin Ryde <user42@zip.com.au>
16996
16997 * help-fns.el (variable-at-point): Skip leading quotes, if any
16998 (bug#8253).
16999
0a57d256
SM
170002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17001
17002 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17003 warning message.
17004
77c992bc
MA
170052011-03-14 Michael Albinus <michael.albinus@gmx.de>
17006
17007 * shell.el (shell): When called interactively, offer to change the
17008 shell file name on remote hosts.
17009
eebc475d
TZ
170102011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17011
17012 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17013 integration for LDAP parameters. The host, base, user or binddn,
17014 and secret tokens can be specified in a netrc file, for instance.
17015 This is optional because an `auth-source' parameter must be
17016 specified in the search attributes.
17017
9d05d1ba
JB
170182011-03-13 Juanma Barranquero <lekktu@gmail.com>
17019
17020 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17021
09d9db2c
GM
170222011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17023
17024 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17025 into declaration. Remove redundant and harmful binding.
17026
170272011-03-12 Eli Zaretskii <eliz@gnu.org>
17028
17029 * files.el (file-ownership-preserved-p): Pass `integer' as an
17030 explicit 2nd argument to `file-attributes'. If the file's owner
17031 is the Administrators group on Windows, and the current user is
17032 Administrator, consider that a match.
17033
17034 * server.el (server-ensure-safe-dir): Consider server directory
17035 safe on MS-Windows if its owner is the Administrators group while
17036 the current Emacs user is Administrator. Use `=' to compare
17037 numerical UIDs, since they could be integers or floats.
17038
219bd536
JB
170392011-03-12 Juanma Barranquero <lekktu@gmail.com>
17040
17041 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17042
f3afd36b
MA
170432011-03-12 Michael Albinus <michael.albinus@gmx.de>
17044
17045 Sync with Tramp 2.2.1.
17046
17047 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17048
17049 * net/trampver.el: Update release number.
17050
3aaaa6f1
SM
170512011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17052
94642599
SM
17053 * progmodes/compile.el (compilation--previous-directory): Fix up
17054 various nil/dead-marker mismatches (bug#8014).
17055 (compilation-directory-properties, compilation-error-properties):
17056 Don't call it at a position past the one we're about to change.
17057
3aaaa6f1
SM
17058 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17059 Disable obsolescence warnings in the file that declares it.
17060
14239447
KM
170612011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17062
099c39a4
JB
17063 * allout-widgets.el (allout-widgets-tally):
17064 Initialize allout-widgets-tally as a hash table rather than nil to
17065 prevent mode-line redisplay warnings. Also, clarify the module
17066 description and fix a comment typo.
14239447 17067
135e287c
JB
170682011-03-11 Juanma Barranquero <lekktu@gmail.com>
17069
17070 * help-fns.el (describe-variable): Don't complete keywords.
17071 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17072
ffbf300e
CY
170732011-03-10 Chong Yidong <cyd@stupidchicken.com>
17074
ba08b241
CY
17075 * emacs-lisp/package.el (package-version-join): Impose a standard
17076 string representation for pre/alpha/beta version lists.
17077 (package-unpack-single): Standardize the directory name by passing
17078 it through package-version-join.
17079 (package-strip-rcs-id): Accept any version string that does not
17080 signal an error in version-to-list.
ffbf300e 17081
f346fd6b
MA
170822011-03-10 Michael Albinus <michael.albinus@gmx.de>
17083
17084 * simple.el (delete-trailing-whitespace): Return nil for the
17085 benefit of `write-file-functions'.
17086
ccb55d27
GM
170872011-03-10 Glenn Morris <rgm@gnu.org>
17088
5ceaac0c
GM
17089 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17090
02da65ff
GM
17091 * vc/vc-git.el (vc-git-program): New option.
17092 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17093 (vc-git--call): Use it.
17094
b2f603cc
GM
17095 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17096
5772caab
GM
17097 * cus-edit.el (Custom-newline): If no button at point, look
17098 for a subgroup button at start-of-line. (Bug#2298)
17099
ccb55d27
GM
17100 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17101
ec6ecaed
JD
171022011-03-10 Julien Danjou <julien@danjou.info>
17103
17104 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17105 `cursor-type' is nil.
17106
9d5aa01d
JB
171072011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17108
17109 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17110
b6a5875b
KM
171112011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17112
7a71b18d 17113 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17114 preserves the existing header prefix, rebulleting it if necessary,
17115 rather than replacing it. This is necessary for proper operation
17116 of cooperative addons like allout-widgets.
1154d12e
JB
17117 (allout-make-topic-prefix, allout-rebullet-heading):
17118 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17119 value as alternate bullet to be used, instead of prompting the user
17120 for a bullet character.
b6a5875b 17121
ee545c35
MA
171222011-03-09 Michael Albinus <michael.albinus@gmx.de>
17123
d86d2721
SM
17124 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17125 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17126 `tramp-default-port'.
17127
c47971d7
DD
171282011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17129
17130 * net/rcirc.el (rcirc-handler-001): Remove useless
17131 with-rcirc-process-buffer.
17132 (rcirc-check-auth-status): Swap arguments to string-match.
17133
13522cb4
GM
171342011-03-09 Glenn Morris <rgm@gnu.org>
17135
0be6f4f1
GM
17136 * shell.el (shell-mode):
17137 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17138
13522cb4
GM
17139 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17140 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17141
515de2e3
CY
171422011-03-08 Chong Yidong <cyd@stupidchicken.com>
17143
17144 * emacs-lisp/package.el (package-refresh-contents)
17145 (package-menu-execute): Use condition-case-no-debug.
17146
b511b994
MA
171472011-03-08 Michael Albinus <michael.albinus@gmx.de>
17148
17149 * simple.el (shell-command-to-string): Use `process-file'.
17150
17151 * emacs-lisp/package.el (package-tar-file-info): Handle also
17152 remote files.
17153
d86d2721
SM
17154 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17155 Use `equal' for upload base check.
b511b994 17156
25bbfb31
AM
171572011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17158
17159 * textmodes/texinfo.el (texinfo-environments):
17160 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17161
be996521
GM
171622011-03-08 Glenn Morris <rgm@gnu.org>
17163
e9c8529f
GM
17164 * cus-start.el (cursor-in-non-selected-windows):
17165 Fix :set quoting oddness. (Bug#8192)
17166
be996521
GM
17167 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17168 in some setf expressions. (Bug#2159)
17169
2bb5649e
CY
171702011-03-08 Chong Yidong <cyd@stupidchicken.com>
17171
17172 * custom.el (custom-available-themes): Return themes in
17173 alphabetical order.
17174
33383987 17175See ChangeLog.15 for earlier changes.
e3d51b27
MR
17176
17177;; Local Variables:
17178;; coding: utf-8
e3d51b27
MR
17179;; End:
17180
acaf905b 17181 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17182
17183 This file is part of GNU Emacs.
17184
17185 GNU Emacs is free software: you can redistribute it and/or modify
17186 it under the terms of the GNU General Public License as published by
17187 the Free Software Foundation, either version 3 of the License, or
17188 (at your option) any later version.
17189
17190 GNU Emacs is distributed in the hope that it will be useful,
17191 but WITHOUT ANY WARRANTY; without even the implied warranty of
17192 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17193 GNU General Public License for more details.
17194
17195 You should have received a copy of the GNU General Public License
17196 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.