* fringe.el: Docstring and minor code improvements.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a9dd5754
CY
12012-08-05 Chong Yidong <cyd@gnu.org>
2
d014c740
CY
3 * fringe.el (fringe-styles): Add docstring.
4 (fringe--check-mode): New function.
5 (set-fringe-mode, set-fringe-style): Use it.
6 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7
a9dd5754
CY
8 * files.el (set-auto-mode): Fix invalid setq call.
9
7c2dc8bd
SM
102012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * isearch.el: Misc simplification; use defstruct.
13 (isearch-mode-map): Dense maps now work like sparse ones.
14 (isearch--state): New defstruct.
15 (isearch-string-state, isearch-message-state, isearch-point-state)
16 (isearch-success-state, isearch-forward-state)
17 (isearch-other-end-state, isearch-word-state, isearch-error-state)
18 (isearch-wrapped-state, isearch-barrier-state)
19 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
20 replaced by defstruct's accessors.
21 (isearch--set-state): Rename from isearch-top-state and change
22 calling convention.
23 (isearch-push-state): Use new isearch--get-state.
24 (isearch-toggle-word): Disable regexp when enabling word.
25 (isearch-message-prefix): Remove unused arg _c-q-hack.
26 (isearch-message-suffix): Remove unused arg _ellipsis.
27
7fcc0070
AS
282012-08-04 Andreas Schwab <schwab@linux-m68k.org>
29
30 * simple.el (list-processes--refresh): For a server use :host or
31 :local as the address.
97ad0769 32 (list-processes): Doc fix.
7fcc0070 33
00340faf
MN
342012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
35
36 * lisp/mpc.el: Support password in host argument.
37 (mpc--proc-connect): Parse and use new password element.
38 Set mpc-proc variable instead of returning process.
39 (mpc-proc): Adjust accordingly.
40
6dad7178
EZ
412012-08-03 Eli Zaretskii <eliz@gnu.org>
42
18949c2f
EZ
43 * whitespace.el (whitespace-display-mappings): Use Unicode
44 codepoints, instead of emacs-mule codepoints. See
45 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
46 for the details.
47
6dad7178
EZ
48 * files.el (file-truename): Don't skip symlink-chasing part on
49 windows-nt. Incorporate the resolution of 8+3 short aliases on
50 Windows into the loop that recursively chases symlinks. Compare
51 directory and its parent case-insensitively on MS-Windows and
52 MS-DOS.
53
385b0198
CY
542012-08-03 Chong Yidong <cyd@gnu.org>
55
6200f3c4
CY
56 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
57
385b0198
CY
58 * sort.el (sort-regexp-fields): Doc fix.
59
b9e74744
TH
602012-08-03 Tassilo Horn <tsdh@gnu.org>
61
62 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
63 labels regex position point at the expected place.
64
41013cb4
MK
652012-08-03 MON KEY <monkey@sandpframing.com>
66
67 * net/imap.el (imap-interactive-login, imap-authenticate)
68 (imap-mailbox-lsub, imap-mailbox-list)
69 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
70 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
71 (imap-parse-response): Doc fix.
72
0ffee616
JT
732012-08-03 João Távora <joaotavora@gmail.com>
74
75 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
76 if sexp scanning does not move point (Bug#5734).
77
cfcc9cc8
TH
782012-08-02 Tassilo Horn <tsdh@gnu.org>
79
80 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
81 Add listings, minted, and ctable packages.
82 (reftex-label-alist-builtin): Move listings, minted, and ctable
83 entries before LaTeX.
a01bbb84 84 (reftex-label-alist): Docfix.
cfcc9cc8 85
66ec2442
BG
862012-08-02 Bastien Guerry <bzg@gnu.org>
87
88 * replace.el (occur): Fix docstring (bug#12122).
89
837b365b
GM
902012-08-02 Glenn Morris <rgm@gnu.org>
91
92 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
93
e098de97
PE
942012-08-02 Paul Eggert <eggert@cs.ucla.edu>
95
96 Obsolete alias inactivate-current-input-method-function (Bug#10150).
97 * international/mule-cmds.el: Create
98 inactivate-current-input-method-function as an obsolete alias for
99 deactivate-current-input-method-function. See Katsumi Yamaoka in
100 <http://bugs.gnu.org/10150#46>.
101
a0f95636
JB
1022012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
103
104 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
105 of nested `if's.
106
0d26d7c4
GM
1072012-08-01 Glenn Morris <rgm@gnu.org>
108
109 * progmodes/autoconf.el (autoconf-definition-regexp):
110 Add AH_TEMPLATE, adjust submatch numbering.
111 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
112 (autoconf-current-defun-function): Update for above change.
113 (autoconf-current-defun-function): First skip to end of current word.
114
b686ba06
RS
1152012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
116
117 * calendar/cal-html.el (cal-html-insert-agenda-days):
118 Fix typo. (Bug#12018)
119
0d49da68
FEG
1202012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
121
122 Shell processes: enhancements to startup and CEDET compatibility.
123 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
124 (python-shell-make-comint): accept-process-output at startup.
125 (run-python-internal): Set inferior-python-mode-hook to nil.
126 (python-shell-internal-get-or-create-process): call sit-for.
127 (python-preoutput-result): Add obsolete alias.
128 (python-shell-internal-send-string): Use it.
129 (python-shell-send-setup-code): Remove call to
130 accept-process-output.
131
f1a71c6e
AS
1322012-07-31 Andreas Schwab <schwab@linux-m68k.org>
133
134 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
135 (Bug#12108)
136
d2605269
JB
1372012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
138
139 * calc-mode.el (calc-basic-simplification-mode): Rename from
140 `calc-limited-simplification-mode'.
141 (calc-alg-simplification-mode): New function.
d66060f8 142 (calc-set-simplify-mode): Adjust message.
f1a71c6e 143
d2605269
JB
144 * calc.el (calc-set-mode-line): Adjust mode line display for
145 basic simplification mode.
146
147 * calc-help.el (calc-m-prefix-help): Update help message.
148
149 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
150 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
151
a3827a43
BG
1522012-07-31 Bastien Guerry <bzg@gnu.org>
153
154 * man.el (man): Fix comment. (bug#12101)
155
502e3f89
MR
1562012-07-31 Martin Rudalics <rudalics@gmx.at>
157
158 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
159 Don't return a non-nil value when no suitable buffer was found.
160
d7714961
FEG
1612012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
162
163 * progmodes/python.el (run-python-internal): Disable font lock for
164 internal shells.
165
1f45e27e
SM
1662012-07-30 Stefan Merten <smerten@oekonux.de>
167
168 * rst.el: Silence `checkdoc-ispell'.
169 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
170 (rst-official-version, rst-official-cvs-rev)
171 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
172 (rst-mode-map): New key binding.
173
0aee6912
PE
1742012-07-30 Paul Eggert <eggert@cs.ucla.edu>
175
176 Update .PHONY listings in makefiles.
177 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
178 autoloads, update-subdirs, updates, bzr-update, update-authors,
179 compile-onefile, compile-calc, backup-compiled-files,
180 compile-after-backup, compile-one-process, mh-autoloads,
181 bootstrap-clean, distclean, maintainer-clean.
182
9052f9f0
JB
1832012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
184
1823ac5a
JB
185 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
186 (calc-set-mode-line): Don't display "AlgSimp ".
187
188 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
189 (calc-lim-simplify-mode): New function.
190 (calc-set-simplify-mode): Default to 'alg.
191 (calc-default-simplify-mode): Make algebraic simplifications
192 the default.
193
194 * calc/calc-ext.el (calc-init-extensions): Remove binding for
195 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
196
8d7c7eed 197 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
198 indicate new simplification modes.
199
1823ac5a
JB
200 * calc/README: Mention new default simplification mode.
201
9052f9f0
JB
202 * calc/calc.el (math-normalize-error): New variable.
203 (math-normalize): Set `math-normalize-error' to t
204 when there's an error.
205
206 * calc/calc-alg.el (math-simplify): Don't simplify when
207 `math-normalize' returns an error.
208
20ba0cb4
EZ
2092012-07-29 Eli Zaretskii <eliz@gnu.org>
210
211 * international/mule-cmds.el (set-locale-environment): Revert last
212 change, since display-graphic-p returns nil when this function is
213 called during startup. Instead...
214
215 * term/w32console.el (terminal-init-w32console): ...setup the
216 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
217
a5dcc929
JL
2182012-07-29 Juri Linkov <juri@jurta.org>
219
220 * simple.el (goto-line): Don't display default line number in the
221 prompt because it should be displayed by `read-number' (bug#9952).
222 Add the current line number to the defaults of `goto-line' to
223 allow its easier modification by users with `M-n' (bug#9201).
224
225 * subr.el (read-number): Support multiple default values like in
226 other minibuffer reading functions. Replace `read' with
227 `string-to-number' for consistency with `number-to-string'.
228
72b255c7
PE
2292012-07-29 Paul Eggert <eggert@cs.ucla.edu>
230
231 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
232 * emulation/viper-init.el (viper-deactivate-input-method-action):
233 Rename from viper-inactivate-input-method-action.
234 (viper-deactivate-input-method):
235 Rename from viper-inactivate-input-method.
236 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
237 * international/mule-cmds.el (deactivate-input-method):
238 Rename from inactivate-input-method.
239 Also run input-method-deactivate-hook.
240 (deactivate-current-input-method-function):
241 Rename from inactivate-current-input-method-function.
242 (input-method-deactivate-hook): New hook.
243 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
244 (inactivate-input-method): Mark obsolete.
245
72b255c7
PE
246 * international/quail.el (quail-activate):
247 Also run quail-deactivate-hook.
248 (quail-deactivate): Rename from quail-inactivate.
249 * international/robin.el (robin-activate):
250 Also run robin-deactivate-hook.
251 (robin-deactivate): Rename from robin-inactivate.
252
2549c068
CY
2532012-07-29 Chong Yidong <cyd@gnu.org>
254
255 * simple.el (indicate-copied-region): New function.
256 (kill-ring-save): Split off from here.
257
258 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
259 (kill-rectangle): Set deactivate-mark to t on read-only error.
260
261 * register.el (copy-to-register, copy-rectangle-to-register):
262 Deactivate the mark, and use indicate-copied-region (Bug#10056).
263 (append-to-register, prepend-to-register): Call
264
17711ed9
JL
2652012-07-29 Juri Linkov <juri@jurta.org>
266
267 * simple.el (async-shell-command-buffer): New defcustom.
268 (shell-command): Use it. (Bug#4719)
269
01bd1b0d
EZ
2702012-07-28 Eli Zaretskii <eliz@gnu.org>
271
272 * international/mule-cmds.el (set-locale-environment): In a
273 console session on MS-Windows, set up keyboard and terminal
274 encoding from the OEM codepage, not the ANSI codepage.
275 (Bug#12055)
276
a55739d3
CY
2772012-07-28 Chong Yidong <cyd@gnu.org>
278
279 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
280 gdb-get-location.
281
9a0f8f2e
LL
2822012-07-25 Leo Liu <sdl.web@gmail.com>
283
284 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
285 the alist (bug#12029).
286
20329d73
EZ
2872012-07-28 Eli Zaretskii <eliz@gnu.org>
288
289 * makefile.w32-in (custom-deps, finder-data, updates, compile)
290 (compile-always, compile-first)
291 ($(lisp)/calendar/cal-loaddefs.el)
292 ($(lisp)/calendar/diary-loaddefs.el)
293 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
294 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
295 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
296 instead of on update-subdirs.
297 (bootstrap-clean): Delete $(lisp)/subdirs.el.
298
345a2258
CY
2992012-07-28 Chong Yidong <cyd@gnu.org>
300
1eee6341
CY
301 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
302 directory if vc-deduce-backend returns nil (Bug#7350).
303
345a2258
CY
304 * simple.el (delete-trailing-lines): New option.
305 (delete-trailing-whitespace): Obey it (Bug#11879).
306
049a0936
DE
3072012-07-28 David Engster <deng@randomsample.de>
308
309 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
310 Explanation of new 'symbol-qnames feature in doc-strings.
311 (xml-maybe-do-ns): Return expanded names as plain symbols if
312 'symbol-qnames was provided in XML-NS argument (Bug#11916).
313 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
314
aa81af71
FEG
3152012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
316
317 Consistent completion in inferior python with emacs -nw.
318 * progmodes/python.el (inferior-python-mode): replace "<tab>"
319 binding in inferior-python-mode-map with "\t".
320 (python-shell-completion-complete-at-point)
321 (python-completion-complete-at-point): Remove interactive spec.
322
e827b1eb
JB
3232012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
324
325 * calc/calccomp.el (math-compose-expr): Undo previous change.
326
a90dfb95
FEG
3272012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
328
329 * progmodes/python.el (python-mode-map): Added keybinding for
330 run-python.
331 (python-shell-make-comint): Fix pop-to-buffer call.
332 (run-python): Autoload. New arg SHOW.
333 (python-shell-get-or-create-process): Do not pop python process
334 buffer.
335
32770973 3362012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
337
338 * notifications.el (notifications-on-action-signal)
339 (notifications-on-closed-signal): Use also the bus address for the map.
340 (notifications-notify, notifications-close-notification)
341 (notifications-get-capabilities): Add optional argument BUS.
342
86332df2
TH
3432012-07-27 Tassilo Horn <tsdh@gnu.org>
344
345 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
346 support for the lstlisting and minted environments, and for the
347 ctable macro.
348 * textmodes/reftex.el (reftex-compile-variables): Also recognize
349 labels written in keyvals syntax.
350
ca1302a4
JB
3512012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
352
353 * calc/calccomp.el (math-compose-expr): Use parentheses when
354 there is a product in the denominator of a fraction.
355
f8b91036
EZ
3562012-07-26 Eli Zaretskii <eliz@gnu.org>
357
358 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
359 ($(lisp)/calendar/diary-loaddefs.el)
360 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
361 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
362 failures in parallel bootstrap because subdirs.el is being
363 rewritten while the autoload files are built at the same time,
364 which needs to load subdirs.el.
365
c8e5a42c
MR
3662012-07-26 Martin Rudalics <rudalics@gmx.at>
367
368 * mouse.el (popup-menu): Fix doc-string and re-indent code.
369 (mouse-drag-line): Don't exit tracking when a switch-frame or
370 switch-window event occurs (Bug#12006).
371
670d85ea
SM
3722012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * mouse.el (popup-menu): Fix last change.
375
7abaf5cc
SM
3762012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 Autoload from Lisp with more care. Follow aliases when looking for
379 function properties.
380 * subr.el (autoloadp): New function.
381 (symbol-file): Use it.
382 (function-get): New function.
383 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
384 autoload-do-load.
385 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
386 (lisp-indent-function):
387 * emacs-lisp/gv.el (gv-get):
388 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
389 * emacs-lisp/byte-opt.el (byte-optimize-form):
390 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
391 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
392 Use function-get.
393 * emacs-lisp/cl.el: Don't propagate function properties any more.
394
395 * speedbar.el (speedbar-add-localized-speedbar-support):
396 * emacs-lisp/disass.el (disassemble-internal):
397 * desktop.el (desktop-load-file):
398 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
399 (describe-function-1):
400 * emacs-lisp/find-func.el (find-function-noselect):
401 * emacs-lisp/elp.el (elp-instrument-function):
402 * emacs-lisp/advice.el (ad-has-proper-definition):
403 * apropos.el (apropos-safe-documentation, apropos-macrop):
404 * emacs-lisp/debug.el (debug-on-entry):
405 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
406 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
407 * calc/calc.el (name): Use autoloadp & autoload-do-load.
408
b1364986
AA
4092012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
410
411 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
412 function, not an obsolete variable (Bug#12046).
413
67ada220
AS
4142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
415
416 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
417
f08088e3
CS
4182012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
419
420 * emacs-lisp/pp.el (pp-display-expression): Select old selected
421 window only if it is still live (Bug#12034).
422
8137e7b3
MR
4232012-07-25 Martin Rudalics <rudalics@gmx.at>
424
425 * subr.el (redirect-frame-focus): Add advertised calling
426 convention (Bug#12030).
427
09ae5da1
PE
4282012-07-25 Paul Eggert <eggert@cs.ucla.edu>
429
430 Prefer typical American spelling for "acknowledgment".
431 * vc/add-log.el (change-log-acknowledgment): Rename from
432 change-log-acknowledgement, with an alias for the old name.
433
3cc5a3a8
JB
4342012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
435
436 * calc-alg.el (math-simplify-divide): Don't cross multiply
437 in an equation when the lhs is a variable.
438
b7af7f62
JD
4392012-07-24 Julien Danjou <julien@danjou.info>
440
441 * net/netrc.el (netrc-find-service-number, netrc-store-data):
442 Remove, unused.
443
ec1b09b1
EZ
4442012-07-23 Eli Zaretskii <eliz@gnu.org>
445
446 * startup.el (command-line): Don't display an empty user name in
447 the error message about non-existent home directory, when
448 init-file-user was set to an empty string. See
449 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
450 for the details and context.
451
b525fd8a
VB
4522012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
453
454 * ses.el (ses-cell-formula-aset): New macro.
455 (ses-cell-references-aset): New macro.
456 (ses-cell-p): New function.
457 (ses-rename-cell): Do no longer rely on complex operations like
458 ses-cell-set-formula or ses-set-cell to change the cell and handle
459 the undo at the same time, but rather use lower level new macros
460 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
461 the undo directly. Refresh the mode line.
462
2c73e345
LL
4632012-07-21 Leo Liu <sdl.web@gmail.com>
464
670d85ea
SM
465 * progmodes/cc-cmds.el (c-defun-name):
466 Use match-string-no-properties instead for consistency.
2c73e345 467
542dfbde
LL
4682012-07-20 Leo Liu <sdl.web@gmail.com>
469
3646bcd6
LL
470 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
471 (Bug#7879)
472
542dfbde
LL
473 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
474
25721031
CY
4752012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
478 * progmodes/bug-reference.el, misearch.el: Provide themselves
479 (bug#11915).
480
481 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
482 of narrowed buffer (bug#11966).
483
316e68a7
VB
4842012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
485
486 * ses.el (ses-rename-cell): Set new name also in reference list of
487 cells of which the renamed cell depends.
488
bbf0e7d9
MY
4892012-07-20 Masatake YAMATO <yamato@redhat.com>
490
491 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
492 to check whether menu-bar is shown or not. If not shown,
493 show the menu-bar as a popup menu instead of using tmm.
494 * mouse.el (popup-menu): Accept `point' as `position' argument.
495
c28662a8
DG
4962012-07-20 Dmitry Gutov <dgutov@yandex.ru>
497
498 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
499 up inside string symbol literal (bug#11923).
500
87ab808f
EZ
5012012-07-20 Eli Zaretskii <eliz@gnu.org>
502
503 * startup.el (fancy-startup-text): Read the whole tutorial, not
504 just its first 256 bytes. Prevents gibberish in display of the
505 tutorial title.
506
89dea803
DA
5072012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
508
509 Drop idle buffer compaction due to an absence of the
510 proved efficiency.
511 * compact.el: Remove.
512
8a4e6db8
SS
5132012-07-19 Sam Steingold <sds@gnu.org>
514
515 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
516 vc-bzr-pull & vc-bzr-merge-branch.
517 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
518 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
519 for consistency with compilation-error-regexp-alist.
520 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
521 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
522 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
523 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
524
5db81e33
SM
5252012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * emacs-lisp/chart.el: Use lexical-binding.
528 (chart-emacs-storage): Don't hardcode the list of entries.
529
5b835e1d
DA
5302012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
531
532 Next round of tweaks caused by Fgarbage_collect changes.
533 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
534
9cd47b72
DA
5352012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
536
537 Compact buffers when idle.
538 * compact.el: New file.
539
1d6fc0df
SM
5402012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * subr.el (eventp): Presume that if it looks vaguely like an event,
543 it's an event (bug#10190).
544
1d29cc7d
FEG
5452012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
546
547 Enhancements to ppss related code (thanks Stefan).
548 * progmodes/python.el (python-indent-context)
549 (python-indent-calculate-indentation, python-indent-dedent-line)
550 (python-indent-electric-colon, python-nav-forward-block)
551 (python-mode-abbrev-table)
1d6fc0df 552 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
553 for ppss context.
554 (python-info-continuation-line-p): Cleanup.
555 (python-info-ppss-context): Do not catch 'quote.
556 (python-info-ppss-context-type)
557 (python-info-ppss-comment-or-string-p): Simplify.
558
d583cbe6
FEG
5592012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
560
561 * progmodes/python.el: Enhancements to eldoc support.
562 (python-info-current-symbol): New function.
563 (python-eldoc-at-point): Use python-info-current-symbol.
564 (python-info-current-defun): Fix cornercase on first defun scan.
565 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
566 and signal error when no inferior python process is available.
567
eceb6feb
DG
5682012-07-18 Dmitry Gutov <dgutov@yandex.ru>
569
570 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
571 assume it's always t.
572 (vc-git-registered): Remove caching, the function is only called
573 once.
574 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
575
4c8ff0fe
CY
5762012-07-18 Chong Yidong <cyd@gnu.org>
577
19fb7186
CY
578 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
579
9587c688
CY
580 * simple.el (count-words): Report on narrowing (Bug#9959).
581
0fe776a1
CY
582 * bindings.el: Bind M-= to count-words.
583
4c8ff0fe
CY
584 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
585
7f5331cc
MY
5862012-07-18 Masatake YAMATO <yamato@redhat.com>
587
588 * progmodes/sh-script.el (sh-imenu-generic-expression):
589 Capture a function with `function' keyword and without parentheses
590 like "function FOO" (bug#11856).
591
2dc2a609
TH
5922012-07-18 Tassilo Horn <tassilo@member.fsf.org>
593
594 * window.el (split-window-sensibly): Make WINDOW argument
595 optional.
596
439f7677
CY
5972012-07-18 Chong Yidong <cyd@gnu.org>
598
9aeb25a6
CY
599 * subr.el (keyboard-translate): Doc fix (Bug#7261).
600
439f7677
CY
601 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
602 and make C-x 8 RET exit isearch (Bug#11439).
603
604 * international/iso-transl.el: Move isearch-mode-map key
605 definitions to isearch.el.
606
12999ea8
SM
6072012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
610 (eieio-defclass): Use gv-define-setter when possible.
611
3ab6e069
DA
6122012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
613
614 Reflect recent changes in Fgarbage_collect.
615 * emacs-lisp/chart.el (chart-emacs-storage): Change to
616 reflect new format of data returned by Fgarbage_collect.
617
0a60bc10
FEG
6182012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
619
620 New utility functions + python-info-ppss-context fix (Bug#11910).
621 * progmodes/python.el (python-info-beginning-of-block-statement-p)
622 (python-info-ppss-comment-or-string-p): New functions.
623 (python-info-ppss-context): Small fix for string check.
624
6dafa0d5
JL
6252012-07-17 Juri Linkov <juri@jurta.org>
626
627 * dired-aux.el (dired-do-async-shell-command): Doc fix.
628 (dired-do-async-shell-command): Don't add `*' at the end of the
629 command (Bug#11815).
630 (dired-do-shell-command): Doc fix.
631 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
632 Join the individual commands using either "&" or ";" as the
633 separator depending on the values of these trailing characters.
634 At the end re-add the trailing "&". (Bug#10598)
635
636 * simple.el (async-shell-command): Sync the interactive spec with
637 `shell-command'. Doc fix.
638 (shell-command): Doc fix.
639
b19dd9d1
JL
6402012-07-17 Juri Linkov <juri@jurta.org>
641
642 * descr-text.el (describe-char): Fix format args. (Bug#10129)
643
bcdc27d7 6442012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 645
bcdc27d7 646 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
647 * progmodes/python.el (python-nav-beginning-of-statement):
648 Rename from python-nav-statement-start.
bcdc27d7
FEG
649 (python-nav-end-of-statement): Rename from
650 python-nav-statement-end.
651 (python-nav-beginning-of-block): Rename from
652 python-nav-block-start.
653 (python-nav-end-of-block): Rename from python-nav-block-end.
654
191da00e
FEG
6552012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
656
7f5331cc
MY
657 * progmodes/python.el (python-shell-send-string-no-output):
658 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
659 future interactions (Bug#11868).
660
4dc7c8d5 6612012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 662
88ecaf8f
SM
663 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
664
ef501ef0
SM
665 * emacs-lisp/elint.el (elint-find-args-in-code):
666 Use help-function-arglist, so as to handle lexical byte-code.
667
aa7aaf8f
SM
668 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
669 change (bug#11826).
670
45fd731c
SM
6712012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
672
2143fa32
SM
673 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
674 Avoid spuriously marking the buffer as modified because of c-is-sws.
675
efc26dbe
SM
676 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
677 as not-a-comment (bug#11946).
678
f5695c9a
SM
679 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
680 for uninterned vars.
681
682 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
683 Use read-event since we don't really want to read chars but bytes.
684
45fd731c
SM
685 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
686 $$..$$ but also $..$ using regexps (bug#11953).
687 Use tex-verbatim for \url and \path.
688 (tex-font-lock-keywords): Define as defconst like the others.
689 (tex-common-initialization): Don't use font-lock-syntax-table any more.
690
ddfc8813
RK
6912012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
692
693 * international/mule-cmds.el (ucs-insert): Make it an obsolete
694 alias for insert-char.
695
758e556a
FEG
6962012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
697
698 * progmodes/python.el: Simplified imenu implementation.
699 (python-nav-jump-to-defun): Remove command.
700 (python-mode-map): Use `imenu' instead.
701 (python-nav-list-defun-positions-cache)
702 (python-imenu-include-defun-type, python-imenu-make-tree)
703 (python-imenu-subtree-root-label, python-imenu-index-alist):
704 Remove vars.
705 (python-nav-list-defun-positions, python-nav-read-defun)
706 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
707 (python-imenu-make-tree, python-imenu-create-index):
708 Remove functions.
758e556a
FEG
709 (python-mode): Update to interact with imenu by setting
710 `imenu-extract-index-name-function' only.
711
032d23ab
FEG
7122012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
713
714 * progmodes/python.el: Enhancements to navigation commands.
715 (python-nav-backward-sentence)
716 (python-nav-forward-sentence): Remove.
717 (python-nav-backward-statement, python-nav-forward-statement)
718 (python-nav-statement-start, python-nav-statement-end)
719 (python-nav-backward-block, python-nav-forward-block)
720 (python-nav-block-start, python-nav-block-end)
721 (python-nav-forward-sexp-function)
722 (python-info-current-line-comment-p)
723 (python-info-current-line-empty-p): New functions.
724 (python-indent-context): Use `python-nav-statement-start'.
725
01795a1b
MA
7262012-07-16 Michael Albinus <michael.albinus@gmx.de>
727
9328d9aa
MA
728 * eshell/em-ls.el (eshell/ls): Use `apply'.
729
730 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
731 multi-hops, instead of Tramp internals.
732
01795a1b
MA
733 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
734
735 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
736 when F1 and F2 are located on different hosts.
737
63408057
CY
7382012-07-14 Chong Yidong <cyd@gnu.org>
739
740 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
741 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
742 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
743 (xterm-mouse--read-event-sequence-1000)
744 (xterm-mouse--read-event-sequence-1006): New functions. For old
745 mouse protocol, handle M-mouse-X events correctly.
746 (xterm-mouse-event): New arg specifying mouse protocol.
747 (turn-on-xterm-mouse-tracking-on-terminal)
748 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
749 sequence to toggle extended coordinates on newer XTerms.
750 This appears to be harmless on terminals which do not support this.
63408057 751
cd276f6e
LL
7522012-07-14 Leo Liu <sdl.web@gmail.com>
753
28ca98ac
LL
754 Add fringe bitmap indicators for flymake. (Bug#11253)
755 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
756 (flymake-make-overlay): New arg BITMAP.
757 (flymake-error-bitmap, flymake-warning-bitmap)
758 (flymake-fringe-indicator-position): New user variables.
759
cd276f6e
LL
760 * fringe.el: New bitmap exclamation-mark.
761
04408072
JD
7622012-07-14 Jan Djärv <jan.h.d@swipnet.se>
763
764 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
765 also (Bug#7879).
766
b5cf7fc4
CY
7672012-07-14 Chong Yidong <cyd@gnu.org>
768
769 * electric.el (electric-pair-post-self-insert-function): Fix pair
770 insertion in empty-region case (Bug#11520).
771
be755c79
RT
7722012-07-14 Chong Yidong <cyd@gnu.org>
773
45fd731c
SM
774 * bindings.el: Consolidate ctl-x-r-map bindings.
775 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
776
777 * rect.el, register.el: Move bindings to bindings.el.
778
7792012-07-14 Reuben Thomas <rrt@sc3d.org>
780
781 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
782
7f5b3198
AS
7832012-07-13 Andreas Schwab <schwab@linux-m68k.org>
784
785 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
786
97662200
JB
7872012-07-13 Juanma Barranquero <lekktu@gmail.com>
788
80185fed
JB
789 * bindings.el (top): Use `mapc' instead of `mapcar'.
790
97662200
JB
791 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
792
2bb1ae55
MA
7932012-07-13 Michael Albinus <michael.albinus@gmx.de>
794
795 * progmodes/sql.el (sql-comint): Suppress the check for program on
796 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
797 (Bug#11908)
798
dea31bd3
CY
7992012-07-13 Chong Yidong <cyd@gnu.org>
800
801 * bindings.el: Assign a non-nil permanent-local property to
802 per-buffer variables which lack a default value (Bug#11930).
803
804 * help-fns.el (describe-variable): In the "automatically becomes
805 local" notice, take note of permanent-local variables.
806
b68b3337
CY
8072012-07-13 Chong Yidong <cyd@gnu.org>
808
809 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
810 to allow printing the message when called from Lisp.
811
812 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
813 Remove toggle-read-only.
814
815 * bs.el (bs-toggle-readonly):
45fd731c
SM
816 * buff-menu.el (Buffer-menu-toggle-read-only):
817 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
818
819 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
820 Remove with-no-warnings around toggle-read-only.
821 (ffap-read-only, ffap-read-only-other-window)
822 (ffap-read-only-other-frame): Callers changed.
823
824 * help-mode.el: Don't require view package.
825 (help-mode-finish): Set buffer-read-only instead of calling
826 toggle-read-only.
827
828 * bindings.el (mode-line-toggle-read-only):
829 * dired.el (dired-toggle-read-only):
830 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
831 with non-nil second arg.
832
833 * emacs-lisp/eieio-custom.el (eieio-customize-object):
834 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
835 directly.
836
56bc1586
EZ
8372012-07-12 Eli Zaretskii <eliz@gnu.org>
838
839 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
840 not incf.
841
a464a6c7
SM
8422012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 More CL cleanups and reduction of use of cl.el.
845 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
846 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
847 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
848 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
849 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
850 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
851 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
852 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
853 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
854 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
855 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
856 * eshell/em-cmpl.el, eshell/em-banner.el:
857 * calendar/parse-time.el: Use cl-lib.
858 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
859 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
860 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
861 * term/ns-win.el, term.el, shell.el, ps-samp.el:
862 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
863 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
864 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
865 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
866 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
867 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
868 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
869 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
870 `lambda' rather than with `quote'.
871 (eshell-do-opt): Adjust accordingly.
872 (eshell-process-option): Simplify.
873 * eshell/esh-var.el:
874 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
875 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
876 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
877 to `pcase--dontcare'.
878 * emacs-lisp/cl.el (labels): Mark obsolete.
879 (cl--letf, letf): Move to cl-lib.
880 (cl--letf*, letf*): Remove.
881 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
882 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
883 (cl-progv): Rewrite.
884 (cl--letf, cl-letf): Move from cl.el.
885 (cl-letf*): New macro.
886 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
887
7ad4afe1
MA
8882012-07-11 Michael Albinus <michael.albinus@gmx.de>
889
890 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
891
9af57756
CY
8922012-07-11 Chong Yidong <cyd@gnu.org>
893
894 * vc/log-edit.el (log-edit-vc-backend): New variable.
895 (log-edit): Doc fix.
896
897 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
898 argument of log-edit to set up all local variables.
899 (vc-start-logentry): New optional arg specifying VC backend.
900
901 * vc/vc.el (vc-checkin): Use it.
902 (vc-deduce-fileset): Handle Log Edit buffers.
903 (vc-diff): Make first argument optional too.
904
905 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
906
8477cc7a
MA
9072012-07-10 Michael Albinus <michael.albinus@gmx.de>
908
909 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
910 command, just in case. The function is not needed anymore.
911 (eshell-external-command): Do not call `eshell-remote-command'.
912
19faa8e8
SM
9132012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
914
f58e0fd5
SM
915 Reduce use of (require 'cl).
916 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
917 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
918 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
919 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
920 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
921 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
922 * battery.el, avoid.el, abbrev.el: Use cl-lib.
923 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
924 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
925 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
926 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
927 * calculator.el, autorevert.el, apropos.el: Don't require CL.
928 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
929 (byte-compile-unfold-bcf, byte-compile-check-variable):
930 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
931 (byte-compile-nilconstp):
932 * emacs-lisp/autoload.el (make-autoload): Use pcase.
933 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
934
2519d43a
SM
935 * emacs-lisp/gv.el (cond): Make it a valid place.
936 (if): Simplify slightly.
937
19faa8e8
SM
938 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
939 (pcase--self-quoting-p): New function.
940 (pcase--u1): Use it.
941
c4907a5e
GM
9422012-07-10 Glenn Morris <rgm@gnu.org>
943
944 * emacs-lisp/authors.el (authors-fixed-entries):
945 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
946
c4444d16
PE
9472012-07-09 Paul Eggert <eggert@cs.ucla.edu>
948
949 Rename configure.in to configure.ac (Bug#11603).
950 * emacs-lisp/authors.el (authors-canonical-file-name):
951 * progmodes/autoconf.el (autoconf-mode):
952 Prefer configure.ac to configure.in.
953
d75be97d
CY
9542012-07-08 Chong Yidong <cyd@gnu.org>
955
01ac65bd
CY
956 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
957 Implement the mouse-1-click-follows-link handling properly.
958
959 * info.el (Info-link-keymap): Use follow-link mechanism for
960 header-line links (Bug#374).
961
d75be97d
CY
962 * simple.el (deactivate-mark): Do not set the primary selection
963 if another program has acquired it (Bug#11772).
964
87a92845 9652012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
966
967 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
968 (woman-decode-region): Replace escaped-escapes without destroying
969 bold or underline (Bug#11552).
87a92845 970 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 971
621b9d6c
CY
9722012-07-07 Chong Yidong <cyd@gnu.org>
973
974 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
975 (interprogram-cut-function, interprogram-paste-function):
976 Mention that we typically mean the clipboard.
621b9d6c 977
133a11fc
GM
9782012-07-06 Glenn Morris <rgm@gnu.org>
979
0d27a45e
GM
980 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
981
133a11fc
GM
982 * files.el (toggle-read-only): Restrict message to interactive use.
983
07b151f1
MA
9842012-07-06 Michael Albinus <michael.albinus@gmx.de>
985
986 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
987
988 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
989
211b896b
GM
9902012-07-06 Glenn Morris <rgm@gnu.org>
991
50394322
GM
992 * Makefile.in (compile-one-process): Rename from "recompile".
993
211b896b
GM
994 * Makefile.in (bzr-update): "compile" is the same as "recompile
995 autoloads", but parallelizable, so use that instead.
996
4737eec9
DG
9972012-07-06 Dmitry Gutov <dgutov@yandex.ru>
998
999 * window.el (quit-window): Always restore window height when
8137e7b3 1000 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1001
226c3633 10022012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1003
1004 * simple.el (kill-whole-line): Doc tweak.
1005
226c3633 10062012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1007
1008 * files.el (file-relative-name): Compare file names
1009 case-insensitively if on MS-Windows or MS-DOS, or if
1010 read-file-name-completion-ignore-case is non-nil. Don't use
1011 case-fold-search for this purpose. (Bug#11827)
1012
4dc7c8d5
SM
10132012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1014
1015 * calendar/cal-dst.el (calendar-current-time-zone):
1016 Return calendar-current-time-zone-cache if non-nil.
1017
10182012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 10192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1020
19faa8e8
SM
1021 * calendar/cal-dst.el (calendar-current-time-zone):
1022 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1023
60198fc9
GM
10242012-07-06 Glenn Morris <rgm@gnu.org>
1025
1026 * Makefile.in (cvs-update): Remove old alias.
1027
957b3189
MA
10282012-07-05 Michael Albinus <michael.albinus@gmx.de>
1029
1030 Sync with Tramp 2.2.6-pre.
1031
1032 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1033 compatible declaration.
1034
19faa8e8
SM
1035 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1036 Protect `list-load-path-shadows' call.
957b3189
MA
1037
1038 * net/tramp-compat.el (top): Require packages, which aren't
1039 autoloaded anymore for XEmacs. Protect call of
1040 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1041 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1042 it hurts at least for SXEmacs.
1043 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1044 standard-value for `temporary-file-directory'.
1045
1046 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1047 Redirect stderr to /dev/null.
1048 (tramp-sh-handle-write-region): uid and gid can be floats.
1049 Reported by Russell Sim <russell.sim@gmail.com>.
1050 (tramp-sh-handle-vc-registered): Hide errors.
1051 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1052 and `start-file-process'.
1053 (tramp-maybe-open-connection): Check also whether `non-essential'
1054 is bound.
1055
566df3fc
CY
10562012-07-04 Chong Yidong <cyd@gnu.org>
1057
1058 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1059 (xml-parse-tag): Likewise, and avoid changing entity tables.
1060 (xml-syntax-table): Define from scratch, making sure not to give
1061 x2000 and other Unicode spaces whitespace syntax, since those are
1062 not spaces in XML.
1063 (xml-parse-fragment): Delete unused function.
1064 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1065 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1066 (xml-entity-ref, xml-pe-reference-re)
1067 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1068 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1069 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1070 (xml-entity-value-re): Use syntax references in regexps where
1071 possible; no need to define inside a let-binding.
1072 (xml-parse-dtd): Use xml-pe-reference-re.
1073 (xml-entity-or-char-ref-re): New defconst.
1074 (xml-parse-string, xml-substitute-special): Use it.
1075
30eabd7a
SM
10762012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1077
0781098a
SM
1078 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1079 (find-file--read-only): New function.
1080 (find-file-read-only, find-file-read-only-other-window)
1081 (find-file-read-only-other-frame): Use it.
1082 (insert-file-contents-literally): Don't `fset'.
1083 (get-free-disk-space): Use locate-dominating-file.
1084
b5771c0d
SM
1085 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1086 function is already compiled.
1087
30eabd7a
SM
1088 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1089
b4886f6e
MA
10902012-07-03 Michael Albinus <michael.albinus@gmx.de>
1091
1092 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1093 files on the same host.
1094
b9d82339
AS
10952012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1096
1097 * help-fns.el (describe-function-1): Only call
1098 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1099
a76e6535
CY
11002012-07-03 Chong Yidong <cyd@gnu.org>
1101
1102 * xml.el: Protect parser against XML bombs.
1103 (xml-entity-expansion-limit): New variable.
1104 (xml-parse-string, xml-substitute-special): Use it.
1105 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1106
b544fef2
GM
11072012-07-03 Glenn Morris <rgm@gnu.org>
1108
1109 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1110 Allow linking to specific messages in debbugs reports (eg 123#5).
1111
a7aef6f5
CY
11122012-07-02 Chong Yidong <cyd@gnu.org>
1113
1114 * xml.el: Fix entity and character reference expansion, allowing
1115 them to expand into markup as per XML spec.
1116 (xml-default-ns): New variable.
1117 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1118 (xml-parse-region): Make first two arguments optional.
1119 Discard text properties.
1120 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1121 All callers changed.
a7aef6f5
CY
1122 (xml-parse-tag): Call xml-parse-tag-1. For backward
1123 compatibility, this function should not modify buffer contents.
1124 (xml-parse-tag-1): Fix opening-tag regexp.
1125 (xml-parse-string): Rewrite, handling entity and character
1126 references properly.
1127 (xml--entity-replacement-text): Signal an error if a parameter
1128 entity is undefined.
1129
3df31c9f
SM
11302012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1131
2b5208f1
SM
1132 * comint.el (comint-output-filter): Filter out repeated prompts.
1133
3df31c9f
SM
1134 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1135 and file-name-absolute-p.
1136 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1137 internal calls.
1138
e3ac1281
PE
11392012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1140
1141 Spelling fixes.
1142 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1143 Rename from byte-compile--refiy-function. All uses changed.
1144
fbf2e7ad
CY
11452012-07-01 Chong Yidong <cyd@gnu.org>
1146
1147 * xml.el (xml--parse-buffer): New function. Move most of
1148 xml-parse-region here.
1149 (xml-parse-region): Copy region into a temporary buffer, since
1150 parameter entity substitution requires changing buffer contents.
1151 Use xml--parse-buffer.
1152 (xml-parse-file): Use xml--parse-buffer.
1153 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1154 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1155
9bf0aa15
GM
11562012-06-30 Glenn Morris <rgm@gnu.org>
1157
bbce2853
GM
1158 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1159
9bf0aa15
GM
1160 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1161 Remove outdated and unnecessary dbus declarations.
1162
0d23c240
EZ
11632012-06-30 Eli Zaretskii <eliz@gnu.org>
1164
1165 * emacs-lisp/timer.el (timer-until): Subtract results of
1166 float-time, instead of taking float-time of the result of
1167 time-subtract, since float-time signals an error for negative time
1168 arguments.
1169
b3218de1
CY
11702012-06-30 Chong Yidong <cyd@gnu.org>
1171
1172 * xml.el (xml-*-re): Convert defvars into defconsts, and
1173 eval-and-compile them so eval-and-compile works on derivatives.
1174 (xml--entity-replacement-text): Use eval-and-comple.
1175
a40c87a0
MA
11762012-06-30 Michael Albinus <michael.albinus@gmx.de>
1177
1178 * vc/vc-git.el (vc-git-registered): Use cache property
1179 `git-registered'.
1180 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1181 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1182 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1183
ac87de97
DG
11842012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1185
1186 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1187 removed (likely outside Emacs). (Bug#11757)
ac87de97 1188
ac10fe06
SM
11892012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1190
3df31c9f 1191 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1192
7f3fbd5d
CY
11932012-06-30 Chong Yidong <cyd@gnu.org>
1194
1195 * xml.el: Implement XML parameter entities.
1196 (xml-parameter-entity-alist): New variable.
1197 (xml-parse-region, xml-parse-fragment): Preserve previous values
1198 of xml-entity-alist and xml-parameter-entity-alist, so that
1199 repeated calls on different documents do not change them.
1200 (xml-parse-tag): Fix doctype regexp.
1201 (xml--entity-replacement-text): New function.
1202 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1203 properly requires url retrieval which is unimplemented.
1204 (xml-escape-string): Doc fix.
1205
3cfbebba
SM
12062012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1209
2af3565e
DA
12102012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1211
1212 * fringe.el (fringe-mode): Doc fix.
1213
929df0e7
MA
12142012-06-29 Michael Albinus <michael.albinus@gmx.de>
1215
1216 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1217 is non-nil.
1218 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1219 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1220
c8d3a25c 12212012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1222
c8d3a25c
GM
1223 * calendar/cal-dst.el (calendar-current-time-zone):
1224 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1225
c8d3a25c 12262012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1227
1228 * progmodes/which-func.el (which-func-format):
1229 Add mouse-face. (Bug#11698)
1230
c8d3a25c
GM
12312012-06-29 Leo Liu <sdl.web@gmail.com>
1232
1233 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1234
12352012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * minibuffer.el (minibuffer-confirm-exit-commands):
1238 Add completion-at-point (bug#11725).
1239
12402012-06-29 Glenn Morris <rgm@gnu.org>
1241
1242 * progmodes/f90.el (f90-font-lock-keywords-2):
1243 Add some preprocessor elements. (Bug#10499)
1244
12452012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1246
1247 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1248 Use syntax-propertize (bug#11739).
1249
2badeec4
JB
12502012-06-28 Juanma Barranquero <lekktu@gmail.com>
1251
1252 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1253
ae4969c2
JD
12542012-06-28 Julien Danjou <julien@danjou.info>
1255
1256 * term.el (term-handle-colors-array): Use a set of new faces to
1257 color the terminal. Also uses :inverse-video property.
1258 (term-default-fg-color): Set to nil by default, deprecate in favor
1259 of `term-face'.
1260 (term-default-bg-color): Set to nil by default, deprecate in favor
1261 of `term-face'.
1262 (term-current-face): Use `term-face' by default.
1263 (term-bold-attribute): Variable deleted.
1264
1c9bd870
GM
12652012-06-28 Glenn Morris <rgm@gnu.org>
1266
1267 * simple.el (completion-list-mode-finish):
1268 Don't use toggle-read-only. (Since completion-list-mode has
1269 a special mode-class, it wasn't doing anything extra anyway.)
1270
c207708c
SM
12712012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 Make inlining of other-mode interpreted functions work (bug#11799).
1274 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1275 (byte-compile): Use it to fix compilation of lexical-binding closures.
1276 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1277 function, if needed.
1278
3fd56834
SM
12792012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1280
04901786
SM
1281 * help-mode.el (help-make-xrefs): Don't just withstand
1282 cyclic-variable-indirection but any error in documentation-property.
1283
1ec4b7b2
SM
1284 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1285 memory use.
1286 * bindings.el (bindings--define-key): New function.
1287 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1288 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1289 * bindings.el: Use it to purecopy define-key bindings.
1290
e309e2a5
SM
1291 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1292
d5c6faf9
SM
1293 * emacs-lisp/cl.el (flet): Mark obsolete.
1294 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1295 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1296 * progmodes/js.el (js-c-fill-paragraph):
1297 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1298 (ebrowse-switch-member-buffer-to-derived-class):
1299 * play/5x5.el (5x5-solver): Use cl-flet.
1300
6e9590e2
SM
1301 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1302 (cl--symbol-function): New macro.
1303 (cl--letf, cl--letf*): Use it.
1304
3fd56834
SM
1305 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1306 Strip "toggle-" if any.
1307
35ff222c
GM
13082012-06-27 Glenn Morris <rgm@gnu.org>
1309
1ba6038a
GM
1310 * info.el (Info-default-directory-list): Move here from paths.el.
1311 * paths.el: Remove file, which is now empty.
1312 * loadup.el: No longer load "paths".
1313
0ea0e51b
GM
1314 * custom.el (custom-initialize-delay): Doc fix.
1315
35ff222c
GM
1316 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1317 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1318 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1319 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1320 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1321 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1322 * eshell/eshell.el (eshell-defgroup): Remove alias.
1323
c89926a5
CY
13242012-06-27 Chong Yidong <cyd@gnu.org>
1325
1326 * help.el (help-enable-auto-load): New variable.
1327
1328 * help-fns.el (help-fns--autoloaded-p): New function.
1329 (describe-function-1): Refer to a function as "autoloaded" if it
1330 was autoloaded at any time in the past. Perform autoloading if
1331 help-enable-auto-load is non-nil.
1332
cc06e7e7
EZ
13332012-06-26 Eli Zaretskii <eliz@gnu.org>
1334
1335 * makefile.w32-in (compile, compile-always): Depend on
1336 update-subdirs, not on subdirs.el. Otherwise, several different
1337 sub-targets of 'bootstrap' running in parallel could
1338 simultaneously write to subdirs.el, producing a garbled file.
1339
d2c32364
SS
13402012-06-26 Sam Steingold <sds@gnu.org>
1341
1342 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1343 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1344 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1345 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1346 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1347 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1348 * textmodes/tex-mode.el: Use it.
1349 Did not touch cedet and org because they are maintained elsewhere.
1350
5cf983b2
MR
13512012-06-26 Martin Rudalics <rudalics@gmx.at>
1352
1353 * calendar/calendar.el (calendar-exit): Don't try to delete or
1354 iconify last frame. See:
1355 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1356
8c4f2952
JD
13572012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1358
1359 * server.el (server-process-filter): Remember dir in the
1360 process's `server-client-directory' properties.
1361
772b2e2c
CY
13622012-06-24 Chong Yidong <cyd@gnu.org>
1363
1364 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1365 non-tag text.
1366
711b11e1
JB
13672012-06-23 Juanma Barranquero <lekktu@gmail.com>
1368
1369 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1370
dc5d230c
SM
13712012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1372
1373 * help-fns.el (describe-variable): Don't croak when doc is not found.
1374 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1375 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1376 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1377 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1378 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1379 ((lambda ..) ..).
1380 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1381
136e1c1d
CY
13822012-06-23 Chong Yidong <cyd@gnu.org>
1383
e8c1cabf
CY
1384 * info.el (Info-mouse-follow-link): Accept symbol values of
1385 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1386 (Info-fontify-node): Use Info-link-keymap for all navigation
1387 buttons, with link-args property to perform the desired action.
1388 (Info-link-keymap): Doc fix.
1389 (Info-next-link-keymap, Info-prev-link-keymap)
1390 (Info-up-link-keymap): Delete now-unused keymaps.
1391
0e9e6c6a
CY
13922012-06-23 Chong Yidong <cyd@gnu.org>
1393
05e89fea
CY
1394 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1395
0e9e6c6a
CY
1396 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1397 system abbrevs.
1398
1399 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1400
e33c6771
SM
14012012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1402
b68581e2
SM
1403 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1404 (bug#11719).
1405
e33c6771
SM
1406 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1407 the requote function doesn't work properly (bug#11714).
1408
7117e105
GM
14092012-06-23 Glenn Morris <rgm@gnu.org>
1410
1411 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1412
36cec983
SM
14132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 Further GV/CL cleanups.
1416 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1417 gv-expander.
1418 (gv--defun-declaration): New function.
1419 (defun-declarations-alist): Use it.
1420 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1421 (gv-place): Autoload.
1422 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1423 original definition of dotimes and dolist.
1424 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1425 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1426 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1427 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1428 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1429 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1430 to the function's definition.
1431 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1432 * window.el:
1433 * files.el:
1434 * faces.el:
1435 * env.el: Don't use CL.
1436
d35af63c
PE
14372012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1438
1439 Support higher-resolution time stamps (Bug#9000).
1440
1441 * calendar/time-date.el (with-decoded-time-value): New arg
1442 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1443 (encode-time-value): New optional arg PICO. New type 3.
1444 (time-to-seconds) [!float-time]: Support the new picoseconds
1445 component if it's used.
1446 (seconds-to-time, time-subtract, time-add):
1447 Support ps-resolution time stamps as well.
1448
1449 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1450 (timerp): Timer vectors now have length 9, not 8.
1451 (timer--time): Support new-style (4-part) time stamps.
1452 (timer-next-integral-multiple-of-time): Time stamps now have
1453 picosecond resolution, so take a bit more care about rounding.
1454 (timer-relative-time, timer-inc-time): New optional arg psecs.
1455 (timer-set-time-with-usecs): Set psecs to 0.
1456 (timer--activate): Check psecs component, too.
1457
1458 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1459
ac77b21a
SM
14602012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1461
f143bfe3
SM
1462 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1463 Move the non-essential binding to the post/pre-command-hook where it is
1464 more obviously correct.
1465
ac77b21a
SM
1466 * subr.el (read-passwd): Don't use a history at all.
1467 * savehist.el (savehist-save): Remove password saved accidentally
1468 because of the above bug.
1469
76386c5a
BG
14702012-06-22 Bastien Guerry <bzg@gnu.org>
1471
1472 * files.el (toggle-read-only): Display a message telling whether
1473 the buffer is read-only or not (bug#11726).
1474
2ee3d7f0
SM
14752012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * emacs-lisp/gv.el: New file.
1478 * subr.el (push, pop): Extend to generalized variables.
1479 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1480 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1481 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1482 gv-define-simple-setter, and gv-define-expander.
1483 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1484 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1485 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1486 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1487 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1488 gv-letplace.
1489 (cl-defstruct): Don't define setf-method any more.
1490 * emacs-lisp/cl.el (flet): Don't autoload.
1491 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1492 (define-setf-expander, defsetf, define-modify-macro)
1493 (cl-struct-setf-expander): Move from cl-lib.el.
1494 * emacs-lisp/syntax.el:
1495 * emacs-lisp/ewoc.el:
1496 * emacs-lisp/smie.el:
1497 * emacs-lisp/cconv.el:
1498 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1499 (timer--time): Use gv-define-simple-setter.
1500 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1501 to avoid coding-system problems in subr.el. Adjust all users.
1502 (macroexp--maxsize, macroexp-small-p): New functions.
1503 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1504 * scroll-bar.el (scroll-bar-mode):
1505 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1506 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1507 * winner.el (winner-configuration, winner-make-point-alist)
1508 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1509 * files.el (locate-file-completion-table): Avoid list*.
1510
c5695d1d
CY
15112012-06-22 Chong Yidong <cyd@gnu.org>
1512
1513 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1514 (dired-create-files): Doc fix (Bug#11329).
1515 (dired-do-copy): Doc fix (Bug#11334).
1516 (dired-mark-read-string): Doc fix (Bug#11553).
1517
2ee3d7f0
SM
1518 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1519 Doc fix (Bug#11326).
c5695d1d
CY
1520 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1521 (dired-dwim-target): Doc fix.
1522
1523 * wdired.el (wdired-mode): Doc fix.
1524
89b5595a
GM
15252012-06-22 Glenn Morris <rgm@gnu.org>
1526
575db3f1
GM
1527 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1528 (pcmpl-rpm-cache-stamp-file): New constant.
1529 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1530 (pcmpl-rpm-packages): Optionally cache list of packages.
1531
a4c8dd51
GM
1532 * pcmpl-rpm.el (pcmpl-rpm): New group.
1533 (pcmpl-rpm-query-options): New option.
1534 (pcmpl-rpm-packages): No need to inline it.
1535 Use pcmpl-rpm-query-options.
1536
89b5595a
GM
1537 * calendar/calendar.el (calendar-in-read-only-buffer):
1538 Avoid some needless mode changes.
1539
e76f0800
CY
15402012-06-21 Chong Yidong <cyd@gnu.org>
1541
1542 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1543 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1544 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1545
297a8f1d
CY
15462012-06-20 Chong Yidong <cyd@gnu.org>
1547
1548 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1549
d34c18b1
DR
15502012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1551
1552 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1553 (bug#11201).
1554
32f7f28e
CY
15552012-06-20 Chong Yidong <cyd@gnu.org>
1556
1557 * term.el (term-window-width): Handle the case of a missing right
1558 fringe (Bug#8837).
1559 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1560 (term-mode): Use define-derived-mode. Minor cleanups.
1561 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1562 (term-move-columns, term-insert-char, term-emulate-terminal)
1563 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1564
493c6688
MA
15652012-06-20 Michael Albinus <michael.albinus@gmx.de>
1566
d34c18b1
DR
1567 * net/ange-ftp.el (ange-ftp-get-passwd):
1568 Bind `enable-recursive-minibuffers'.
493c6688
MA
1569 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1570
3f06ecf4
DR
15712012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1572
1573 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1574
68f12411
GM
15752012-06-19 Glenn Morris <rgm@gnu.org>
1576
1577 * progmodes/python.el (python-mode): Derive from prog-mode.
1578
b3820318
KG
15792012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1580
1581 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1582 (edt-user-menu-bar-update-buffers): New functions.
1583 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1584
c6bf3022
CY
15852012-06-19 Chong Yidong <cyd@gnu.org>
1586
1587 * subr.el (with-selected-window): Preserve the selected window's
1588 terminal's top-frame (Bug#4702).
1589
1590 * window.el (save-selected-window): Likewise.
1591
25f09295
SM
15922012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * progmodes/python.el (python-rx-constituents): Move backquote.
1595 (python-skeleton-define, python-define-auxiliary-skeleton):
1596 Use `declare'.
1597
6b11952a
MA
15982012-06-18 Michael Albinus <michael.albinus@gmx.de>
1599
1600 * minibuffer.el (read-file-name-default): Revert the patch from
1601 2012-06-17.
1602
ee4b1330
SM
16032012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1606 (pcase--u1, pcase--q1): Don't use apply-partially.
1607
35647f79
GM
16082012-06-18 Glenn Morris <rgm@gnu.org>
1609
1610 * progmodes/python.el (python-proc, python-buffer)
1611 (python-send-receive, python-send-string): Fix obsolete versions.
1612
24b0cff0
MR
16132012-06-18 Martin Rudalics <rudalics@gmx.at>
1614
1615 * window.el (special-display-p): Completely remove stringp
1616 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1617
29855149
MA
16182012-06-17 Michael Albinus <michael.albinus@gmx.de>
1619
1620 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1621
1622 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1623
1624 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1625 * net/tramp-sh.el (tramp-maybe-open-connection):
1626 Throw if `non-essential' is non-nil.
1627
07463363
MR
16282012-06-17 Martin Rudalics <rudalics@gmx.at>
1629
1630 * window.el (special-display-p): Signal an error if BUFFER-NAME
1631 is not a string (Bug#11713).
1632
48d1354e
PE
16332012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1634
1635 * progmodes/python.el (python-info-beginning-of-backslash):
1636 Rename from python-info-beginning-of-backlash, as a spelling fix.
1637
eb4a8a9a
CY
16382012-06-17 Chong Yidong <cyd@gnu.org>
1639
1640 * term.el (term-emulate-terminal): If term-check-size is called,
1641 move point to the process mark without resetting point (Bug#4635).
1642
ddfbf826 16432012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1644
1645 * international/mule-cmds.el (mule-menu-keymap)
1646 (set-language-environment, set-locale-environment): Doc tweaks.
1647
9b0e3eba
AA
16482012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1649
1650 * cus-face.el (custom-face-attributes): Add wave-style underline
1651 attribute.
1652 * faces.el (set-face-attribute): Update docstring to describe
1653 wave-style underline attribute.
1654
771e3eae
CY
16552012-06-16 Chong Yidong <cyd@gnu.org>
1656
1657 * term/xterm.el (terminal-init-xterm): Discard input before
1658 querying background mode (Bug#10959).
1659
7ae2ea10
SM
16602012-06-16 Stefan Merten <smerten@oekonux.de>
1661
1662 * textmodes/rst.el: Added and corrected some comments.
1663 (rst-re-alist-def): Improve symbol syntax.
1664 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1665 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1666 (rst-official-version, rst-official-cvs-rev): Update version
1667 information.
7ae2ea10 1668
b6974efa
JB
16692012-06-15 Juanma Barranquero <lekktu@gmail.com>
1670
1671 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1672 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1673
8826d473
GM
16742012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1675
1676 * progmodes/python.el: New python.el merge.
1677 (python-guess-indent): Obsolete var.
1678 (python-indent-guess-indent-offset): New defcustom.
1679 (python-indent): Obsolete var.
1680 (python-indent-offset): New defcustom.
1681 (python-python-command, python-jython-command): Delete var.
1682 (python-shell-interpreter): New defcustom.
1683 (python-pdbtrack-do-tracking-p): Delete var.
1684 (python-pdbtrack-activate): New defcustom.
1685 (python-use-skeletons): Obsolete var.
1686 (python-skeleton-autoinsert): New defcustom.
1687 (inferior-python-filter-regexp, python-continuation-offset)
1688 (python-honour-comment-indentation, python-indent-string-contents)
1689 (python-jython-packages, python-mode-hook)
1690 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1691 (python-shell-prompt-alist)
1692 (python-source-modes): Delete defcustoms.
1693 (python-check-buffer-name, python-eldoc-setup-code)
1694 (python-eldoc-string-code, python-ffap-setup-code)
1695 (python-ffap-string-code, python-fill-comment-function)
1696 (python-fill-decorator-function, python-fill-paren-function)
1697 (python-fill-string-function, python-imenu-include-defun-type)
1698 (python-imenu-make-tree, python-imenu-subtree-root-label)
1699 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1700 (python-shell-compilation-regexp-alist)
1701 (python-shell-completion-module-string-code)
1702 (python-shell-completion-pdb-string-code)
1703 (python-shell-completion-setup-code)
1704 (python-shell-completion-string-code)
1705 (python-shell-enable-font-lock, python-shell-exec-path)
1706 (python-shell-extra-pythonpaths)
1707 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1708 (python-shell-process-environment)
1709 (python-shell-prompt-block-regexp)
1710 (python-shell-prompt-output-regexp)
1711 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1712 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1713 (python-shell-virtualenv-path): New defcustoms.
1714 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1715 (inferior-python-mode-syntax-table, python--prompt-regexp)
1716 (python-buffer, python-command python-python-command)
1717 (python-default-template, python-imports, python-indent-index)
1718 (python-indent-list, python-indent-list-length)
1719 (python-mode-running, python-pdbtrack-is-tracking-p)
1720 (python-preoutput-continuation, python-preoutput-leftover)
1721 (python-preoutput-result, python-preoutput-skip-next-prompt)
1722 (python-prev-dir/file, python-recursing)
1723 (python-saved-check-command, python-version-checked)
1724 (python-which-func-length-limit)
1725 (view-return-to-alist): Delete vars.
1726 (python-check-custom-command, python-dotty-syntax-table)
1727 (python-imenu-index-alist, python-indent-current-level)
1728 (python-indent-dedenters, python-indent-levels)
1729 (python-nav-beginning-of-defun-regexp)
1730 (python-nav-list-defun-positions-cache)
1731 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1732 (python-shell-internal-buffer)
1733 (python-skeleton-available): New vars.
1734 (def-python-skeleton): Delete macro.
1735 (python-skeleton-define): New macro.
1736 (python-define-auxiliary-skeleton, python-rx): New macros.
1737 (python-insert-class): Delete command.
1738 (python-skeleton-class): New command.
1739 (python-insert-def): Delete command.
1740 (python-skeleton-def): New command.
1741 (python-insert-for): Delete command.
1742 (python-skeleton-for): New command.
1743 (python-insert-if): Delete command.
1744 (python-skeleton-if): New command.
1745 (python-insert-try/except, python-insert-try/finally): Delete commands.
1746 (python-skeleton-try): New command.
1747 (python-insert-while): Delete command.
1748 (python-skeleton-while): New command.
1749 (python-backspace): Delete command.
1750 (python-indent-dedent-line-backspace): New command.
1751 (python-electric-colon): Delete command.
1752 (python-indent-electric-colon): New command.
1753 (python-guess-indent): Delete command.
1754 (python-indent-guess-indent-offset): New command.
1755 (python-shift-left): Delete command.
1756 (python-indent-shift-left): New command.
1757 (python-shift-right): Delete command.
1758 (python-indent-shift-right): New command.
1759 (python-find-function): Delete command.
1760 (python-nav-jump-to-defun): New command.
1761 (python-next-statement): Delete command.
1762 (python-nav-forward-sentence): New command.
1763 (python-previous-statement): Delete command.
1764 (python-nav-backward-sentence): New command.
1765 (python-fill-paragraph): Delete command.
1766 (python-fill-paragraph-function): New command.
1767 (python-send-buffer): Delete command.
1768 (python-shell-send-buffer): New command.
1769 (python-send-defun): Delete command.
1770 (python-shell-send-defun): New command.
1771 (python-send-region, python-send-region-and-go): Delete commands.
1772 (python-shell-send-region)
1773 (python-shell-switch-to-shell): New commands.
1774 (python-send-string): Delete command.
1775 (python-shell-send-string): New command.
1776 (python-switch-to-python): Delete command.
1777 (python-shell-switch-to-shell): New command.
1778 (python-describe-symbol): Delete command.
1779 (python-eldoc-at-point): New command.
1780 (python--set-prompt-regexp, python-args-to-list)
1781 (python-after-info-look, python-check-version)
1782 (python-check-comint-prompt, python-find-imports)
1783 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1784 (python-unload-function, python-expand-template)
1785 (python-maybe-jython, python-preoutput-filter)
1786 (python-pdbtrack-get-source-buffer)
1787 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1788 (python-pdbtrack-toggle-stack-tracking)
1789 (python-pdbtrack-track-stack-file, python-initial-text)
1790 (python-first-word, python-comment-line-p, python-send-command)
1791 (python-setup-brm, python-sentinel, python-set-proc)
1792 (python-skip-out, python-input-filter, python-outdent-p)
1793 (python-outline-level, python-backslash-continuation-line-p)
1794 (python-end-of-block, python-end-of-statement, python-mark-block)
1795 (python-beginning-of-block, python-beginning-of-statement)
1796 (python-blank-line-p, python-beginning-of-string)
1797 (python-open-block-statement-p): Delete functions.
1798 (python-indent-line, python-indent-line-1): Delete functions.
1799 (python-indent-line): New function.
1800 (python-indentation-levels): Delete function.
1801 (python-indent-calculate-levels): New function.
1802 (python-proc): Delete function.
1803 (python-shell-get-process): New function.
1804 (python-send-receive): Delete function.
1805 (python-shell-send-string-no-output): New function.
1806 (python-module-path): Delete function.
1807 (python-ffap-module-path): New function.
1808 (python-completion-at-point)
1809 (python-symbol-completions): Delete functions.
1810 (python-completion-complete-at-point): New function.
1811 (python-load-file): Delete function.
1812 (python-shell-send-file): New function.
1813 (python-calculate-indentation): Delete function.
1814 (python-indent-calculate-indentation): New function.
1815 (python-skip-comments/blanks): Delete function.
1816 (python-util-forward-comment): New function.
1817 (python-continuation-line-p): Delete function.
1818 (python-info-continuation-line-p): New function.
1819 (python-which-func, python-current-defun): Delete function.
1820 (python-info-current-defun): New function.
1821 (python-beginning-of-defun): Delete function.
1822 (python-nav-beginning-of-defun): New function.
1823 (python-close-block-statement-p)
1824 (python-block-end-p): Delete function.
1825 (python-info-closing-block): New function.
1826 (python-comint-output-filter-function)
1827 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1828 (python-fill-comment, python-fill-decorator, python-fill-paren)
1829 (python-fill-string, python-imenu-make-element-tree)
1830 (python-imenu-make-tree, python-imenu-tree-assoc)
1831 (python-indent-context, python-indent-dedent-line)
1832 (python-indent-line-function)
1833 (python-indent-post-self-insert-function)
1834 (python-indent-toggle-levels)
1835 (python-info-assignment-continuation-line-p)
1836 (python-info-beginning-of-backlash)
1837 (python-info-block-continuation-line-p)
1838 (python-info-closing-block-message)
1839 (python-info-line-ends-backslash-p)
1840 (python-info-looking-at-beginning-of-defun)
1841 (python-info-ppss-context, python-info-ppss-context-type)
1842 (python-nav-list-defun-positions, python-nav-read-defun)
1843 (python-nav-sentence-end, python-nav-sentence-start)
1844 (python-pdbtrack-comint-output-filter-function)
1845 (python-pdbtrack-set-tracked-buffer)
1846 (python-shell-calculate-exec-path)
1847 (python-shell-calculate-process-environment)
1848 (python-shell-completion--do-completion-at-point)
1849 (python-shell-completion--get-completions)
1850 (python-shell-completion-complete-at-point)
1851 (python-shell-completion-complete-or-indent)
1852 (python-shell-get-or-create-process)
1853 (python-shell-get-process-name)
1854 (python-shell-internal-get-or-create-process)
1855 (python-shell-internal-get-process-name)
1856 (python-shell-internal-send-string, python-shell-make-comint)
1857 (python-shell-parse-command, python-shell-send-setup-code)
1858 (python-skeleton-add-menu-items)
1859 (python-util-clone-local-variables, python-util-position)
1860 (run-python-internal, python-indentation-levels)
1861 (python-nav-beginning-of-defun)
1862 (python-completion-complete-at-point): New functions.
1863 (run-python): Change arguments. New API requirements.
1864
4302f5ba
SM
18652012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1866
f38ea36d
SM
1867 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1868 (bug#11649).
1869
1870 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1871 (macroexp--expand-all): Use it.
1872
4302f5ba
SM
1873 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1874 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1875 Use `cl-function' instead.
1876
33377562
JB
18772012-06-14 Juanma Barranquero <lekktu@gmail.com>
1878
1879 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1880 Suggested by Stefan Monnier while discussing bug#11657.
1881
54c5ba1a
SS
18822012-06-14 Sam Steingold <sds@gnu.org>
1883
1884 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1885
f9f1b1fe
AS
18862012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1887
1888 * play/doctor.el (doctor-doc): Remove parameter and use
1889 doctor-sent instead of sent.
1890 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1891
a81068ba
SM
18922012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1893
5a315f9c
SM
1894 * files.el: Require cl-lib.
1895 (file-name-non-special): Replace case -> cl-case.
1896
1897 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1898
a81068ba
SM
1899 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1900 mapping from #' to function*.
1901
8cca9703
CY
19022012-06-13 Chong Yidong <cyd@gnu.org>
1903
1904 * mouse.el (mouse-drag-track): Do not set the mark if the user
1905 releases the mouse without selecting anything (Bug#11588).
1906
a12ac9d7
SM
19072012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1908
ccf1dc18
SM
1909 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1910 as well (bug#11646).
1911
ef62b23d
SM
1912 * loadup.el: Count byte-code functions as well.
1913
c4c8444a
SM
1914 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1915 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1916
a12ac9d7
SM
1917 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1918 (bug#11649). Add cl-defun and cl-defmacro.
1919
87e6e64f
DA
19202012-06-13 Drew Adams <drew.adams@oracle.com>
1921
1922 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1923 Fix last change.
1924
682cefaf
MA
19252012-06-13 Michael Albinus <michael.albinus@gmx.de>
1926
1927 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1928 Otherwise, it blocks in batch mode.
1929
773e1f08
JB
19302012-06-13 Juanma Barranquero <lekktu@gmail.com>
1931
1932 * help-mode.el (bookmark-make-record-default): Declare.
1933
60057926
CY
19342012-06-13 Chong Yidong <cyd@gnu.org>
1935
1936 * emacs-lisp/package.el (list-packages): Compute a list of
1937 packages that are newly-available since the last list-packages
1938 invocation.
1939 (package-menu--new-package-list): New var.
1940 (package-menu--generate, package-menu--print-info)
1941 (package-menu--status-predicate, package-menu-mark-install):
1942 Handle new status label "new".
1943
ad4d226c
SM
19442012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1947 conversion to backquotes.
1948
f1a4e679
CY
19492012-06-12 Chong Yidong <cyd@gnu.org>
1950
1951 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1952 Rename from gud-inhibit-global-bindings.
1953
1954 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1955
1956 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1957 hook from nxml-glyph-set-hook.
1958
1959 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1960 declaration.
1961
1962 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1963
1964 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1965 Convert to defcustom.
1966
0c9e42b5
DA
19672012-06-12 Drew Adams <drew.adams@oracle.com>
1968
1969 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1970 New functions.
1971 (help-mode): Use them.
1972
09e06855
GM
19732012-06-11 Glenn Morris <rgm@gnu.org>
1974
1975 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1976 Use preprocessor face for directives.
1977 (fortran-directive-re): Doc fix.
1978
71adb94b
SM
19792012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1980
2eb87922
SM
1981 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1982 conversion to backquotes (bug#11652).
1983
71adb94b
SM
1984 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1985 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1986 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1987 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1988 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1989 (cl-ninth, cl-tenth): Mark them as inlinable.
1990 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1991 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1992 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1993 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1994 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1995 (cl-list*, cl-adjoin): Don't put an autoload manually.
1996 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1997 (cl--compiler-macro-list*): Add autoload cookie.
1998 (cl--compiler-macro-cXXr): New function.
2eb87922 1999
71adb94b
SM
2000 * help-fns.el (help-fns--compiler-macro): New function extracted from
2001 describe-function-1; follow aliases and use `compiler-macro' property.
2002 (describe-function-1): Use it.
2003
a6674402
CY
20042012-06-11 Chong Yidong <cyd@gnu.org>
2005
2006 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2007 is uninstalled, if imagemagick is installed.
2008
bb3faf5b
SM
20092012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * emacs-lisp/cl-lib.el: Use lexical-binding.
2012 (cl-map-extents, cl-maclisp-member): Remove.
2013 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2014 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2015 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2016 * emacs-lisp/cl-extra.el: Use lexical-binding.
2017 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2018 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2019 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2020 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2021 * emacs-lisp/cl-seq.el: Use lexical-binding.
2022 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2023 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2024 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2025 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2026 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2027 CL's internals.
2028
2fe4b125
MA
20292012-06-11 Michael Albinus <michael.albinus@gmx.de>
2030
2031 Sync with Tramp 2.2.6-pre.
2032
2033 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2034 `print-length' and `print-level' to nil, in order to avoid
2035 truncation. Reported by Christopher Schmidt
2036 <christopher@ristopher.com>.
2037
2038 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2039
2040 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2041 New defmacro.
2042 (tramp-compat-copy-directory): Add optional argument
2043 COPY-CONTENTS. It is not handled yet.
2044
2045 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2046 (tramp-ftp-file-name-p): Simplify.
2047
2048 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2049 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2050 connection vector.
2051
2052 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2053 (tramp-methods): Do not use `tramp-password-end-of-line'.
2054 (tramp-completion-function-alist-putty): Handle UNIX case.
2055 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2056 (tramp-do-file-attributes-with-stat)
2057 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2058 gid as real numbers. They could run out of integer range on cygwin.
2059 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2060 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2061 (tramp-open-connection-setup-interactive-shell):
2062 Use `tramp-cleanup'. Move check for busyboxes ...
2063 (tramp-find-shell): ... here. Simplify implementation.
2064 Set "remote-shell" property also for alternative shells.
2065 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2066 If failing, a regular file would be written otherwise.
2067 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2068 (tramp-find-inline-encoding): Cache the coding commands in the
2069 process cache. Apply test command on the remote side, if defined.
2070 (tramp-find-inline-compress): Cache the compress commands in the
2071 process cache.
2072 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2073 when requested. Handle hops.
2074 (tramp-current-connection): New defvar.
87e6e64f
DA
2075 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2076 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2077 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2078 (tramp-get-inline-compress, tramp-get-inline-coding):
2079 Read connection properties from the process cache.
2fe4b125
MA
2080
2081 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2082 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2083 New defconsts.
2fe4b125
MA
2084 (tramp-smb-prompt): Extend for powershell prompt.
2085 (tramp-smb-file-name-handler-alist): Add handlers for
2086 `process-file', `shell-command' and `start-file-process'.
2087 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2088 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2089 (tramp-smb-file-name-p): Simplify.
2090 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2091 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2092 (tramp-smb-shell-quote-argument): New defuns.
2093 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2094 Implement using "tar". By this, time-stamps are preserved.
2095 (tramp-smb-handle-copy-file): Handle also the case of directories.
2096 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2097 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2098 Use `tramp-get-connection-buffer').
2fe4b125
MA
2099 (tramp-smb-handle-rename-file): Use "rename", when source and
2100 target are on the same share.
87e6e64f
DA
2101 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2102 Use `tramp-smb-server-version'.
2fe4b125
MA
2103 (tramp-smb-wait-for-output): Remove prompt.
2104
2105 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2106 (tramp-methods, tramp-rsh-end-of-line):
2107 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2108 (tramp-save-ad-hoc-proxies): New defcustom.
2109 (tramp-completion-function-alist): Adapt docstring.
2110 (tramp-default-password-end-of-line): Remove defcustom.
2111 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2112 (tramp-user-regexp, tramp-file-name-regexp-unified)
2113 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2114 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2115 (tramp-remote-file-name-spec-regexp): New defconst.
2116 (tramp-file-name-structure): Extend structure for hops.
2117 (tramp-get-method-parameter): Move up.
2118 (tramp-file-name-p, tramp-dissect-file-name)
2119 (with-parsed-tramp-file-name): Handle hops.
2120 (tramp-file-name-hop): New defun.
2121 (tramp-make-tramp-file-name): New optional arg HOP.
2122 (tramp-message-show-progress-reporter-message): New defvar.
2123 (tramp-with-progress-reporter): Use it. We cannot use
2124 `tramp-message-show-message' here, because this suppresses also
2125 error buffers.
2126 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2127 `tramp-message-show-message' is nil.
2128 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2129 (tramp-cleanup): New defun.
2130 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2131 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2132 an error unchanged.
2133 (tramp-completion-handle-file-name-all-completions): Handle hops.
2134 Fix an error when called from ido.
2135 (tramp-completion-dissect-file-name): Use better local variable
2136 name. Add hop to the vector.
2137 (tramp-handle-insert-file-contents): Use progress-reporter for the
2138 whole scenario.
2139 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2140 to `t'.
2141 (tramp-check-for-regexp): Simplify search.
2142 (tramp-enter-password): Remove it. Move implementation ...
2143 (tramp-action-password): ... here.
2144 (tramp-mode-string-to-int, tramp-local-host-p)
2145 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2146 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2147 Set tramp-autoload cookie.
2fe4b125
MA
2148
2149 * net/trampver.el: Update release number.
2150
21512012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2152 Michael Albinus <michael.albinus@gmx.de>
2153
2154 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2155 (tramp-parse-group, tramp-parse-file)
2156 (tramp-parse-shostkeys-sknownhosts): New defuns.
2157 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2158 (tramp-parse-shosts-group, tramp-parse-sconfig)
2159 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2160 (tramp-parse-sknownhosts, tramp-parse-hosts)
2161 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2162 Use them.
2163 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2164 (tramp-parse-putty-group): Don't narrow.
2165 (tramp-parse-putty): Make a loop.
2166 (tramp-file-name-handler): Catch the `suppress' signal.
2167
72834e10
CY
21682012-06-11 Chong Yidong <cyd@gnu.org>
2169
2170 * image.el (imagemagick-register-types): Put the ImageMagick entry
2171 at the end of image-type-file-name-regexps.
2172
a4712e11
JB
21732012-06-11 Johan Bockgård <bojohan@gnu.org>
2174
2175 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2176 (pcase, pcase-let*, pcase-dolist): Use them.
2177
82ad98e3
SM
21782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * emacs-lisp/pcase.el (pcase--let*): New function.
2181 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2182 (pcase--expand): Use macroexp-let².
2183
f80efb86
SM
21842012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2187 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2188 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2189 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2190 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2191 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2192
31ca4639 21932012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2194
31ca4639
CY
2195 * mail/rmail.el (rmail-yank-current-message): Leave point at
2196 correct position. (Bug#11660)
94f0aa34 2197
31ca4639 21982012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2199
31ca4639 2200 * allout-widgets.el: Fix code header.
9e1b8ec4 2201
31ca4639 22022012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2203
f80efb86
SM
2204 * cus-edit.el (customize-changed-options-previous-release):
2205 Bump to 24.1.
31ca4639 2206
642b6d30
AS
22072012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2208
2209 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2210
4f5d2ba1
CY
22112012-06-09 Chong Yidong <cyd@gnu.org>
2212
2213 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2214
e75852fd
MR
22152012-06-09 Martin Rudalics <rudalics@gmx.at>
2216
2217 * window.el (special-display-popup-frame): Don't use
2218 window--display-buffer (Bug#11651).
2219
1e48e282
EZ
22202012-06-09 Eli Zaretskii <eliz@gnu.org>
2221
8a26b487
EZ
2222 Fix parallel builds: make sure loaddefs.el is not being written
2223 while Lisp files are compiled.
2224 (compile): Don't depend on 'mh-autoloads'.
2225 (compile-CMD, compile-SH): Depend on 'autoloads'.
2226 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2227
1e48e282
EZ
2228 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2229
6175e34b
CY
22302012-06-09 Chong Yidong <cyd@gnu.org>
2231
2232 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2233 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2234 Doc fixes (Bug#11225).
2235
d9857e53
SM
22362012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2239 a function if there's a clear indication that it has a compiler-macro.
2240 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2241 (macro-declarations-alist): Add arglist to declaration functions.
2242 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2243 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2244 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2245 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2246 Also add autoload to find the compiler macro.
2247 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2248 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2249 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2250 (cl--compiler-macro-get): New functions, replacing calls to
2251 cl-define-compiler-macro.
2252 (cl-typep) [compiler-macro]: Use macroexp-let².
2253
f81298f8 22542012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2255
2256 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2257 string properly, fixes Bug#11473.
2258
4b56d0fe
CY
22592012-06-08 Chong Yidong <cyd@gnu.org>
2260
2261 * faces.el (set-face-attribute): Doc fix.
2262 (modify-face): Don't use :bold and :italic.
2263 (error, warning, success): Tweak definitions.
2264
2265 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2266 (custom-modified, custom-set, custom-changed, custom-themed)
2267 (custom-saved, custom-button, custom-button-mouse)
2268 (custom-button-pressed, custom-state, custom-comment-tag)
2269 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2270 (custom-group-subtitle): Use new-style face specs.
2271 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2272 (custom-set-face, custom-changed-face, custom-saved-face)
2273 (custom-button-face, custom-button-pressed-face)
2274 (custom-documentation-face, custom-state-face)
2275 (custom-comment-face, custom-comment-tag-face)
2276 (custom-variable-tag-face, custom-variable-button-face)
2277 (custom-face-tag-face, custom-group-tag-face-1)
2278 (custom-group-tag-face): Remove obsolete face alias.
2279
2280 * epa.el (epa-validity-high, epa-validity-medium)
2281 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2282 (epa-field-name, epa-field-body):
2283 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2284 (font-lock-keyword-face, font-lock-builtin-face)
2285 (font-lock-function-name-face, font-lock-variable-name-face)
2286 (font-lock-type-face, font-lock-constant-face):
2287 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2288 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2289 * speedbar.el (speedbar-button-face, speedbar-file-face)
2290 (speedbar-directory-face, speedbar-tag-face)
2291 (speedbar-selected-face, speedbar-highlight-face)
2292 (speedbar-separator-face):
2293 * whitespace.el (whitespace-newline, whitespace-space)
2294 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2295 (whitespace-line, whitespace-space-before-tab)
2296 (whitespace-space-after-tab, whitespace-indentation)
2297 (whitespace-empty):
2298 * emulation/cua-base.el (cua-global-mark):
2299 * eshell/em-prompt.el (eshell-prompt):
2300 * net/newst-plainview.el (newsticker-new-item-face)
2301 (newsticker-old-item-face, newsticker-immortal-item-face)
2302 (newsticker-obsolete-item-face, newsticker-date-face)
2303 (newsticker-statistics-face, newsticker-default-face):
2304 * net/newst-reader.el (newsticker-feed-face)
2305 (newsticker-extra-face, newsticker-enclosure-face):
2306 * net/newst-treeview.el (newsticker-treeview-face)
2307 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2308 (newsticker-treeview-immortal-face)
2309 (newsticker-treeview-obsolete-face)
2310 (newsticker-treeview-selection-face):
2311 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2312 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2313 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2314 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2315 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2316 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2317 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2318 (mpuz-text):
2319 * progmodes/vera-mode.el (vera-font-lock-number)
2320 (vera-font-lock-function, vera-font-lock-interface):
2321 * textmodes/table.el (table-cell): Use new-style face specs, and
2322 don't use the old :bold and :italic attributes.
2323
2324 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2325 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2326 (ebrowse-member-class, ebrowse-progress): Likewise.
2327 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2328 (ebrowse-file-name-face, ebrowse-default-face)
2329 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2330 (ebrowse-progress-face): Remove obsolete faces.
2331
2332 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2333 Inherit from error and warning faces respectively.
2334
2335 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2336 Likewise.
f80efb86
SM
2337 (flyspell-incorrect-face, flyspell-duplicate-face):
2338 Remove obsolete aliases.
4b56d0fe 2339
03310646
MA
23402012-06-08 Michael Albinus <michael.albinus@gmx.de>
2341
2342 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2343 Avoid infloop.
2344
513749ee
SM
23452012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * startup.el (argv, argi): Make lexically scoped.
2348 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2349 * emacs-lisp/cl-macs.el: Use lexical-binding.
2350 Rename cl-bind-* to cl--bind-*.
2351 * files.el: Don't require `cl' since it doesn't use it.
2352 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2353
595ef4ad
JB
23542012-06-08 Juanma Barranquero <lekktu@gmail.com>
2355
2356 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2357 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2358 instead of calling external sort utility.
2359 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2360
e9f66fcb
EZ
23612012-06-08 Eli Zaretskii <eliz@gnu.org>
2362
2363 * descr-text.el (describe-char): Mention how to insert the
2364 character, if the current input method doesn't support it.
2365 See the discussion in this thread for the details:
2366 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2367
3d10db47
SS
23682012-06-08 Sam Steingold <sds@gnu.org>
2369
2370 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2371 XF86Back to previous-buffer.
2372 (minibuffer-local-map): Bind them to next-history-element and
2373 previous-history-element respectively.
2374 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2375 help-go-back respectively.
2376 * info.el (Info-mode-map): Bind them to Info-history-forward and
2377 Info-history-back respectively.
2378 These are the keys next to Up on the ThinkPad keyboard.
2379
de7e2b36
SM
23802012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2383 * emacs-lisp/cl-macs.el: Provide itself.
2384 (cl--labels-convert-cache): New var.
2385 (cl--labels-convert): New function.
2386 (cl-flet, cl-labels): New implementation with new semantics, relying on
2387 lexical-binding.
2388 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2389 (cl-closure-vars, cl--function-convert-cache)
2390 (cl--function-convert): Move from cl-macs.el.
2391 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2392 rename by removing the "cl-" prefix.
2393 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2394
6fa6c4ae
SM
23952012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2398 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2399 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2400 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2401 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2402 (cl-hash-table-count): Add old compatibility aliases.
2403
2404 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2405 Use macroexpand-all-environment instead.
2406 (cl--old-macroexpand): New var.
2407 (cl--sm-macroexpand): New function.
2408 (cl-symbol-macrolet): Use it during macro expansion.
2409 (cl--function-convert-cache): New var.
2410 (cl--function-convert): New function, extracted from
2411 cl-macroexpand-all.
2412 (cl-lexical-let): Use it.
2413
2414 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2415 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2416 (cl-member): Remove old alias.
2417
2418 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2419 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2420 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2421 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2422 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2423 (cl-macroexpand-cmacs): Remove var.
2424 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2425 Use macroexpand-all instead.
2426
4dd1c416
SM
24272012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2430 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2431 (macroexp-copyable-p): New functions and macros.
2432 * emacs-lisp/edebug.el (edebug-unwrap):
2433 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2434 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2435 (pcase--let*): Remove.
2436 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2437 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2438 macroexp-const-p instead.
2439 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2440
2441 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2442 instead of "cl-" for internal definitions. Use macroexp-const-p.
2443 (cl-old-bc-file-form): Remove var.
2444 (cl-const-exprs-p): Remove fun.
2445 (cl-labels, cl-macrolet): Use backquote.
2446 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2447 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2448 (cl-define-setf-expander): Rename from cl-define-setf-method.
2449 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2450
2451 * international/mule-cmds.el: Don't require CL.
2452 (view-hello-file): Don't use `letf'.
2453
ed8bd4d7
SM
24542012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2455
7287f2f3
SM
2456 * tmm.el (tmm-prompt): Use string-prefix-p.
2457 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2458 (tmm-add-prompt): Use minibuffer-completion-help.
2459 (tmm-delete-map): Remove.
2460
ed8bd4d7
SM
2461 * subr.el (kbd): Make it its own function.
2462
7b4cdbf4
SM
24632012-06-07 Stefan Merten <smerten@oekonux.de>
2464
2465 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2466 Silence compiler warnings. Fix versions.
ed8bd4d7 2467 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2468 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2469 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2470 (rst-package-emacs-version-alist): Correct Emacs version to
2471 represent major merge with upstream.
ed8bd4d7 2472 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2473
2b48d721
GM
24742012-06-06 Glenn Morris <rgm@gnu.org>
2475
2476 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2477 Only print environment variables if set.
2478
fa779ab0
SM
24792012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2482 (macroexp--cons): Rename from maybe-cons.
2483 (macroexp--accumulate): Rename from macroexp-accumulate.
2484 (macroexp--all-forms): Rename from macroexpand-all-forms.
2485 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2486 (macroexp--expand-all): Rename from macroexpand-all-1.
2487
628299e0
SS
24882012-06-06 Sam Steingold <sds@gnu.org>
2489
2490 * calendar/calendar.el (calendar-in-read-only-buffer):
2491 Call `special-mode' to enable the standard read-only keybindings.
2492
b7bb5838
SM
24932012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2496 with "loading" messages (bug#11635).
2497
dfb308ba
MA
24982012-06-06 Michael Albinus <michael.albinus@gmx.de>
2499
2500 * files.el (enable-remote-dir-locals): New option.
2501 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2502
0372ee92
MA
2503 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2504 Ensure, that the temp directory is local.
2505
2506 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2507 `temporary-file-directory'.
2508
eed0bb91
MA
2509 * progmodes/python.el (python-send-region): Ensure, that the
2510 temporary file is created also in the remote case.
2511
7a58f64d
GM
25122012-06-06 Glenn Morris <rgm@gnu.org>
2513
f7dd4e98
GM
2514 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2515 (vc-rcs-update-changelog): Use it.
2516
090bd7cb 2517 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2518
7a58f64d
GM
2519 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2520 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2521 (vc-sccs-diff): Replace use of the external vcdiff script.
2522
daed4003
GM
25232012-06-05 Glenn Morris <rgm@gnu.org>
2524
2525 * ledit.el: Move to obsolete/.
2526
48c455c7
SS
25272012-06-05 Sam Steingold <sds@gnu.org>
2528
ed9265fc 2529 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2530 patch (Bug#11140).
2531
57a7d507
SM
25322012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2533
090bd7cb 2534 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2535
53aacf21
SM
2536 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2537 compiler-macro expansion.
2538
57a7d507
SM
2539 Add native compiler-macro support.
2540 * emacs-lisp/macroexp.el (macroexpand-all-1):
2541 Support compiler-macros directly. Properly follow aliases and apply
2542 the compiler macros more thoroughly.
2543 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2544 macroexpand now properly follows aliases.
2545 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2546 (cl-compiler-macroexpand): Use new prop.
2547 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2548
2549 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2550
51a5f9d8
MR
25512012-06-05 Martin Rudalics <rudalics@gmx.at>
2552
2553 * window.el (get-lru-window, get-mru-window, get-largest-window):
2554 New argument NOT-SELECTED to avoid picking the selected window.
2555 (window--display-buffer-1, window--display-buffer-2): Replace by
2556 new function window--display-buffer
2557 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2558 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2559 Use window--display-buffer.
51a5f9d8
MR
2560 (display-buffer-use-some-window): Remove temporary dedication
2561 hack by calling get-lru-window and get-largest-window with
2562 NOT-SELECTED argument non-nil. Call window--display-buffer.
2563
08f9f738
GM
25642012-06-05 Glenn Morris <rgm@gnu.org>
2565
2566 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2567 Replace external vcdiff script.
2568
e364a2b7
SM
25692012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2572
041df390
CY
25732012-06-04 Chong Yidong <cyd@gnu.org>
2574
e364a2b7
SM
2575 * image.el (imagemagick-types-inhibit): Revert last change.
2576 Add INFO and M.
47b36b94 2577 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2578
7c1898a7
SM
25792012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * emacs-lisp/cl-lib.el: Rename from cl.el.
2582 * emacs-lisp/cl.el: New compatibility file.
2583 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2584 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2585 to obey the "cl-" prefix.
2586 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2587
0c3461de
GM
25882012-06-03 Glenn Morris <rgm@gnu.org>
2589
1e266c88
GM
2590 * emacs-lisp/authors.el (authors-aliases): Addition.
2591
0c3461de
GM
2592 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2593 Fix :version.
2594
d8a52e15
SM
25952012-06-03 Stefan Merten <smerten@oekonux.de>
2596
2597 * textmodes/rst.el: Add comments.
2598 (rst-transition, rst-adornment): New faces.
2599 (rst-adornment-faces-alist): Make default safe to reevaluate.
2600 Fixes
2601 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2602 Improve customization tags.
2603 (rst-define-level-faces): Clarify meaning.
2604
5205d6f6
CY
26052012-06-03 Chong Yidong <cyd@gnu.org>
2606
2607 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2608 (compilation-mode-line-run, compilation-mode-line-exit):
2609 New faces.
5205d6f6
CY
2610 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2611
757ee657
JD
26122012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2613
7c1898a7
SM
2614 * progmodes/which-func.el (which-func-update-ediff-windows):
2615 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2616
5f2c76c6
CY
26172012-06-03 Chong Yidong <cyd@gnu.org>
2618
2619 * bindings.el: Remove explicit help text from format-mode-line.
2620 It is now supplied by mode-line-default-help-echo.
2621 (mode-line-front-space, mode-line-end-spaces)
2622 (mode-line-misc-info): New variables.
2623 (mode-line-modes, mode-line-position): Move the default value to
2624 the variable definition.
2625 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2626 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2627 (mode-line-modified-help-echo): New functions.
2628 (mode-line-mule-info, mode-line-modified): Use them.
2629 (mode-line-eol-desc, propertized-buffer-identification):
2630 Consistency fixes for help text.
cbe46e5f
CY
2631 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2632 set-buffer-file-coding-system (Bug#289).
2633 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2634
f2d6a3df
SM
26352012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2636
2637 * simple.el (execute-extended-command): Set real-this-command
2638 (bug#11506).
2639
37269466
CY
26402012-06-02 Chong Yidong <cyd@gnu.org>
2641
2642 Remove incorrect uses of "modeline" in comments, docstrings, and
2643 function/variable names (Bug#10329).
2644
2645 * cus-edit.el (mode-line):
2646 * dframe.el (dframe-mouse-hscroll):
2647 * emacs-lisp/re-builder.el:
2648 * emacs-lisp/easy-mmode.el (define-minor-mode):
2649 * frame.el (set-frame-name):
2650 * help.el (lookup-minor-mode-from-indicator):
2651 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2652 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2653 (c-toggle-hungry-state):
2654 * progmodes/antlr-mode.el (antlr-language-alist):
2655 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2656 * progmodes/vhdl-mode.el (vhdl-mode):
2657 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2658 * term/ns-win.el (ns-face-at-pos):
2659 * term/sup-mouse.el (sup-mouse-report):
2660 * textmodes/flyspell.el (flyspell-mode-line-string):
2661 * textmodes/ispell.el (ispell-highlight-face):
2662 * textmodes/reftex-global.el:
2663 * vc/vc-arch.el (vc-arch-mode-line-string):
2664 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2665 * vc/vc-git.el (vc-git-mode-line-string):
2666 * vc/vc-hooks.el (vc-display-status)
2667 (vc-default-mode-line-string):
2668 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2669
2670 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2671
2672 * dired.el (dired-sort-set-mode-line): Rename from
2673 dired-sort-set-modeline. All callers changed.
2674
2675 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2676 eshell-status-in-modeline.
2677
2678 * foldout.el (foldout-mode-line-string): Rename from
2679 foldout-modeline-string. All callers changed.
2680 (foldout-update-mode-line): Rename from foldout-update-modeline.
2681
2682 * subr.el (redraw-modeline): Make into obsolete alias.
2683
2684 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2685 timeclock-modeline-display. Make old name an alias.
2686 (timeclock-update-mode-line): Likewise. All callers changed.
2687 (timeclock-mode-line-display): No need to check before using
2688 add-hook.
2689 (timeclock-relative, timeclock-day-over-hook)
2690 (timeclock-use-elapsed, timeclock-mode-string)
2691 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2692
2693 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2694 crisp-mode-modeline-string.
2695
2696 * play/solitaire.el (solitaire-build-mode-line): Rename from
2697 solitaire-build-modeline. All callers changed.
2698
2699 * play/zone.el (zone-hiding-mode-line): Rename from
2700 zone-hiding-modeline. All callers changed.
2701 (zone): Remove unusued `modeline-hidden-level' property.
2702
2703 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2704 xscheme-modeline-initialize. All callers changed.
2705
2706 * strokes.el (strokes-lighter): Rename from
2707 strokes-modeline-string.
2708
2709 * textmodes/sgml-mode.el (html-face-tag-alist)
2710 (html-tag-face-alist): Use mode-line face instead of obsolete
2711 alias modeline.
2712
42152ee4
SM
27132012-06-02 Stefan Merten <smerten@oekonux.de>
2714
2715 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2716 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2717
95f520b5
CY
27182012-06-02 Chong Yidong <cyd@gnu.org>
2719
2720 * image.el (imagemagick-enabled-types): Rename from
2721 imagemagick-types-enable. Add many more types.
2722 (imagemagick-types-inhibit): Change default to nil.
2723 (imagemagick-filter-types): Caller changed.
2724
4a5f187a
SM
27252012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2726
03fef3e6
SM
2727 * emacs-lisp/cl-macs.el: Use backquotes.
2728 (cl-transform-function-property): Use eval-and-compile rather than
2729 abusing `require'.
2730 (defstruct): Use declare-function instead of with-no-warnings.
2731
4a5f187a
SM
2732 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2733 (byte-compile-output-docform): Re-add the print-circle bindings.
2734 (byte-compile-fix-header): Use #$ just because it's shorter.
2735 (byte-compile-output-file-form): Remove defun/defmacro.
2736
bd56924f
MR
27372012-06-01 Martin Rudalics <rudalics@gmx.at>
2738
2739 * simple.el (choose-completion): Remove now obsolete binding for
2740 owindow.
2741
046e38ce
MA
27422012-06-01 Michael Albinus <michael.albinus@gmx.de>
2743
2744 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2745 in order to avoid "Stack overflow in regexp matcher".
2746
32d72c2f
GM
27472012-05-31 Glenn Morris <rgm@gnu.org>
2748
2749 * image.el: For clarity, call imagemagick-register-types at
2750 top-level, rather than relying on a custom :initialize.
2751 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2752 (imagemagick-filter-types): New function. (Bug#7406)
2753 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2754 If disabling support, remove elements altogether rather
2755 than using an impossible regexp.
2756 (imagemagick-types-inhibit): Give it the default init function.
2757
dd41169b
SM
27582012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2759
4a5f187a
SM
2760 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2761 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2762
efc00ab1 27632012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2764
2765 * desktop.el (desktop-read): Clear previous and next buffers for
2766 all windows and bury *Messages* buffer (bug#11556).
2767
500fcedc
SM
27682012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 Add `declare' for `defun'. Align `defmacro's with it.
2771 * emacs-lisp/easy-mmode.el (define-minor-mode)
2772 (define-globalized-minor-mode): Don't autoload the var definitions.
2773 * emacs-lisp/byte-run.el: Use lexical-binding.
2774 (defun-declarations-alist, macro-declarations-alist): New vars.
2775 (defmacro, defun): Use them.
2776 (make-obsolete, define-obsolete-function-alias)
2777 (make-obsolete-variable, define-obsolete-variable-alias):
2778 Use `declare'.
2779 (macro-declaration-function): Mark obsolete.
2780 * emacs-lisp/autoload.el: Use lexical-binding.
2781 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2782
6e8a1786
AM
27832012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2784
2785 * textmodes/ispell.el (ispell-with-no-warnings):
2786 Define as a macro.
500fcedc
SM
2787 (ispell-kill-ispell, ispell-change-dictionary):
2788 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2789 `interactive-p'.
2790
61b108cc
SM
27912012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2794 (macro-declaration-function): Move var from C code.
2795 (macro-declaration-function): Define function with defalias.
2796 * emacs-lisp/macroexp.el (macroexpand-all-1):
2797 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2798 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2799 defun/defmacro any more.
2800 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2801 Provide fallback for unknown arglist.
2802 (byte-compile-arglist-warn): Change calling convention.
2803 (byte-compile-output-file-form): Move print-vars binding.
2804 (byte-compile-output-docform): Simplify accordingly.
2805 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2806 (byte-compile-defmacro-declaration): Remove.
2807 (byte-compile-file-form-defmumble): Generalize to defalias.
2808 (byte-compile-output-as-comment): Return byte-positions.
2809 Simplify callers accordingly.
2810 (byte-compile-lambda): Use `assert'.
2811 (byte-compile-defun, byte-compile-defmacro): Remove.
2812 (byte-compile-file-form-defalias):
2813 Use byte-compile-file-form-defmumble.
2814 (byte-compile-defalias-warn): Remove.
2815
6d3f7c2f
SM
28162012-05-29 Stefan Merten <smerten@oekonux.de>
2817
2818 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2819 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2820
2821 (rst-mode-abbrev-table): Merge definition.
2822 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2823 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2824
6dbaa1c7
UJ
28252012-05-29 Ulf Jasper <ulf.jasper@web.de>
2826
2827 * calendar/icalendar.el
2828 (icalendar-export-region): Export UID properly.
2829
d209e2fb 28302012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2831 * calendar/icalendar.el (icalendar-import-format):
2832 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2833 (icalendar-import-format-uid): New.
2834 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2835 Export UID.
2836
6876a58d
SM
28372012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2840 different alternative patterns.
2841 (pcase-codegen): Be more careful to preserve identity.
2842 (pcase--u1): Don't forget to mark vars as used.
2843
2844 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2845 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2846 (byte-compile-from-buffer): ...rather than here.
2847
2848 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2849 functions from byte-compile-function-environment.
2850
46b7967e
TN
28512012-05-29 Troels Nielsen <bn.troels@gmail.com>
2852
2853 * window.el (window-deletable-p): Avoid deleting the root window
2854 of a frame with an active minibuffer.
2855
69d565e2
MR
28562012-05-29 Martin Rudalics <rudalics@gmx.at>
2857
2858 * simple.el (choose-completion): Use quit-window (Bug#11567).
2859
a149fa51
CY
28602012-05-29 Chong Yidong <cyd@gnu.org>
2861
2862 * whitespace.el (whitespace-cleanup): Fix usage of
2863 whitespace-empty-at-bob-regexp (Bug#11492).
2864
2b311310
AH
28652012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2866
2867 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2868 revert (Bug#11488).
2869
b9cb2387
JL
28702012-05-29 Juri Linkov <juri@jurta.org>
2871
2872 * isearch.el (isearch-mode-map): Bind `M-s _' to
2873 `isearch-toggle-symbol'. Bind `M-s c' to
2874 `isearch-toggle-case-fold'.
2875 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2876 (isearch-forward): Add `M-s _' to the docstring.
2877 (isearch-forward-symbol, isearch-toggle-case-fold)
2878 (isearch-symbol-regexp): New functions. (Bug#11381)
2879
d5e61c1c
JL
28802012-05-29 Juri Linkov <juri@jurta.org>
2881
2882 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2883 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2884 a function, call it to get the regexp.
2885 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2886 property `isearch-message-prefix' instead of the string "word ".
2887 (isearch-search-fun-default): For the case of `isearch-word',
2888 return a lambda that calls re-search-forward/re-search-backward
2889 with a regexp returned by `word-search-regexp' or by the function
2890 in `isearch-word'.
2891
8cbd80f7
JL
28922012-05-29 Juri Linkov <juri@jurta.org>
2893
2894 * isearch.el (isearch-search-fun-default): New function.
2895 (isearch-search-fun): Move default part to the new function
2896 `isearch-search-fun-default'.
2897 (isearch-search-fun-function): Set the default value to
2898 `isearch-search-fun-default'. (Bug#11381)
2899
2900 * comint.el (comint-history-isearch-end):
2901 Use `isearch-search-fun-default'.
2902 (comint-history-isearch-search): Use `isearch-search-fun-default'
2903 and remove spacial case for `isearch-word'.
2904 (comint-history-isearch-wrap): Remove spacial case for
2905 `isearch-word'.
2906
2907 * hexl.el (hexl-isearch-search-function):
2908 Use `isearch-search-fun-default'.
2909
2910 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2911 Use `word-search-regexp' for `isearch-word'.
2912
2913 * misearch.el (multi-isearch-search-fun):
2914 Use `isearch-search-fun-default'.
2915
2916 * simple.el (minibuffer-history-isearch-search):
2917 Use `isearch-search-fun-default' and remove spacial case for
2918 `isearch-word'.
2919 (minibuffer-history-isearch-wrap): Remove spacial case for
2920 `isearch-word'.
2921
2922 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2923 Remove spacial case for `isearch-word'.
2924 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2925
85c8c5b6
AM
29262012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2927
2928 Decrease XEmacs incompatibilities.
2929 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2930 Use `string-match'.
2931 (flyspell-delete-region-overlays): Use alternative definition for
2932 XEmacs.
2933 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2934 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2935 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2936 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2937 `define-obsolete-face-alias' under XEmacs, but old method.
2938
2939 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2940 `with-no-warnings' definition or Emacs alias.
2941 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2942 (ispell-word): Do not use `region-p' if XEmacs.
2943
8cab9efc
AM
29442012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2945
2946 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2947 Check for `ispell-dictionary-base-alist' instead of full
2948 `ispell-dictionary-alist'.
2949 (ispell-init-process): Show spellchecker when starting new Ispell
2950 process.
2951
fda91268
RZ
29522012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2953
2954 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2955 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2956
694ea8e3
JB
29572012-05-27 Juanma Barranquero <lekktu@gmail.com>
2958
2959 * version.el (motif-version-string, gtk-version-string)
2960 (ns-version-string): Declare.
2961
e4d4f539
JL
29622012-05-27 Juri Linkov <juri@jurta.org>
2963
2964 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2965 after the `eval-defun-1' specialcaseing
2966 like in `edebug-eval-defun' (bug#10181).
2967
2968 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2969 like in `eval-defun-1'.
2970
33017faf 29712012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2972
fda91268
RZ
2973 * mail/sendmail.el (mail-yank-region):
2974 Recognize rmail-yank-current-message in addition to insert-buffer.
2975 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2976 a *mail* buffer created through rmail-start-mail with sendmail as
2977 mail-user-agent.
2978
33017faf
GM
29792012-05-27 Chong Yidong <cyd@gnu.org>
2980
2981 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2982 Default to 256 (Bug#11267).
2983
2984 * help.el (describe-mode): Doc fix.
2985
04188bb9
GM
29862012-05-26 Glenn Morris <rgm@gnu.org>
2987
38264cc9
GM
2988 * w32-fns.el (w32-init-info): Remove.
2989 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2990
eb7afdad
GM
2991 * info.el (info-initialize): For self-contained NS builds, put the
2992 included info/ directory at the front. (Bug#2791)
2993
04188bb9
GM
2994 * paths.el (Info-default-directory-list): Make it a defcustom,
2995 mainly so that we can use custom-initialize-delay.
2996
a179e3f7
SM
29972012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2998
43416392
SM
2999 * subr.el (buffer-has-markers-at): Mark obsolete.
3000
a179e3f7 3001 * subr.el (lambda): Use declare.
43416392 3002
a179e3f7
SM
3003 * emacs-lisp/lisp-mode.el (lambda):
3004 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3005
34a008d9
AH
30062012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3007
3008 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3009
0a3b289f
GM
30102012-05-26 Glenn Morris <rgm@gnu.org>
3011
3012 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3013
758c81e8
GM
30142012-05-25 Glenn Morris <rgm@gnu.org>
3015
f9f334f0
GM
3016 * paths.el: Remove no-byte-compile.
3017 * loadup.el: No need to load paths.el uncompiled.
3018
87eb79c2
GM
3019 * image.el (imagemagick-types-inhibit): Doc fix.
3020
758c81e8
GM
3021 * version.el: Remove no-byte-compile and associated formatting.
3022 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3023 is ancient code from when there was an "inc-vers.el".
3024
e7e85dc0
SM
30252012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 * progmodes/gdb-mi.el: Minor style changes.
3028 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3029 Turn into minor modes.
3030 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3031 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3032 (gdb-shell): Remove unneeded let-binding.
3033 (gdb-get-many-fields): Eliminate O(n²) behavior.
3034
f31237a4
EZ
30352012-05-25 Eli Zaretskii <eliz@gnu.org>
3036
3037 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3038 platforms that don't link in fontset.c.
3039
bc1b21bb
JL
30402012-05-25 Juri Linkov <juri@jurta.org>
3041
3042 Use the same diff color scheme as in modern VCSes (bug#10181).
3043
3044 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3045 to avoid confusion with `diff-added' that now uses green colors.
3046 (diff-removed): Use shades of red.
3047 (diff-added): Use shades of green.
3048 (diff-changed): Leave just the yellow color.
3049 (diff-use-changed-face): New variable.
3050 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3051 how to highlight context diff changes.
3052 (diff-refine-change): Use shades of yellow.
3053 (diff-refine-removed): New face that uses shades of red.
3054 (diff-refine-added): New face that uses shades of green.
3055 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3056 `diff-refine-removed' in the call to `smerge-refine-subst'
3057 depending on the value of `diff-use-changed-face'.
3058
3059 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3060 (smerge-other): Use shades of green.
3061 (smerge-base): Use shades of yellow.
3062 (smerge-refined-change): Empty face.
3063 (smerge-refined-removed): New face that uses shades of red.
3064 (smerge-refined-added): New face that uses shades of green.
3065 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3066 args `props-r' and `props-a', and use them. Doc fix.
3067 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3068 on its value use different faces `smerge-refined-change',
3069 `smerge-refined-removed', `smerge-refined-added' in the call to
3070 `smerge-refine-subst'.
3071
3072 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3073 Add face condition `min-colors 88' with shades of red.
3074 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3075 `min-colors 88' with shades of green.
3076 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3077 `min-colors 88' with shades of yellow.
3078
6df9112c
GM
30792012-05-24 Glenn Morris <rgm@gnu.org>
3080
ead5edc0
GM
3081 * paths.el (prune-directory-list, remote-shell-program): Move to...
3082 * files.el (prune-directory-list, remote-shell-program): ...here.
3083 For the latter, delay initialization, prefer ssh, just search PATH.
3084
f18b81e6
GM
3085 * paths.el (term-file-prefix): Move to faces.el (the only user).
3086 * faces.el (term-file-prefix): Move here, make it a defcustom.
3087
ee2f89a6
GM
3088 * paths.el (news-directory, news-path, news-inews-program):
3089 Move to gnus/nnspool.el.
61a583ca 3090
f8815e4c
GM
3091 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3092
c8f3b42c
GM
3093 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3094 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3095 Make the latter a defcustom, with a delayed initialization.
3096
6df9112c
GM
3097 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3098 These were deleted from Gnus itself late 2010.
3099
5dadff36
JB
31002012-05-22 Juanma Barranquero <lekktu@gmail.com>
3101
9e1701c6
JB
3102 * progmodes/which-func.el (which-func-ff-hook):
3103 Check against user-error, not error.
3104
bd7239f5 3105 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3106 cl-specs.el, which no longer exists.
3107
3290526d
GM
31082012-05-22 Glenn Morris <rgm@gnu.org>
3109
3110 * info.el (info-emacs-bug): New command.
3111 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3112 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3113
ff0c3cfb
GM
31142012-05-21 Glenn Morris <rgm@gnu.org>
3115
3116 * makefile.w32-in (update-subdirs-SH):
3117 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3118
5814f126
SM
31192012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3120
a52c0aa0
SM
3121 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3122
5814f126
SM
3123 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3124 Simplify Maven regexp, and make sure the file can't start with a space
3125 (bug#11517).
3126
b847032c
GM
31272012-05-21 Glenn Morris <rgm@gnu.org>
3128
3129 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3130 Scrap superfluous subshells.
3131
3858bfe7
SM
31322012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3135 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3136
d14b0029
JB
31372012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3138
3139 * calc/calc.el (calc-ensure-consistent-units): New variable.
3140
a52c0aa0
SM
3141 * calc/calc-units.el (math-consistent-units-p)
3142 (math-check-unit-consistency): New functions.
3143 (calc-quick-units, calc-convert-units):
3144 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3145 is non-nil.
d14b0029
JB
3146 (calc-extract-units): Fix typo.
3147
60c4db3a
SM
31482012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3149
77f3b62e
SM
3150 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3151
60c4db3a
SM
3152 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3153 (flyspell-default-deplacement-commands): Don't spell check after
3154 repeated window/frame switches (e.g. triggered by mouse-movement).
3155 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3156 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3157 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3158 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3159 Remove unused vars.
3160 (flyspell-get-casechars, flyspell-get-not-casechars):
3161 Simplify; Don't bother removing a ] just to add it back.
3162 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3163
d209e2fb 31642012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3165
3166 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3167 New functions.
bd7239f5 3168 (math-function-table): Add support for more C functions.
b1a10716 3169
3f1b25b5
AM
31702012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3171
090bd7cb
JB
3172 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3173 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3174 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3175
b581bb5c
SM
31762012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3177
3178 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3179 their respective macro declarations.
3180 * skeleton.el (define-skeleton):
3181 * progmodes/compile.el (define-compilation-mode):
3182 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3183 (define-ibuffer-filter):
3184 * emacs-lisp/generic.el (define-generic-mode):
3185 * emacs-lisp/easy-mmode.el (define-minor-mode)
3186 (define-globalized-minor-mode):
3187 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3188 * emacs-lisp/byte-run.el (defsubst):
3189 * custom.el (deftheme): Add doc-string metadata.
3190
70b8ef8f
SM
31912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3194
b1198e17
SM
31952012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3196
9abdc45d
SM
3197 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3198
b1198e17
SM
3199 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3200 * emacs-lisp/cl-macs.el: Idem.
3201 * emacs-lisp/cl-specs.el: Remove.
3202
4735906a
SM
32032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 Minor renaming of internal CL functions and variables.
3206 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3207 (cl--position): Rename from cl-position.
3208 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3209 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3210 (cl--random-state): Rename from *random-state*.
3211
ac348012
SM
32122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3215 parens around the arg list (bug#11499).
3216
a0a79cde
JL
32172012-05-17 Juri Linkov <juri@jurta.org>
3218
3219 * isearch.el (word-search-regexp, word-search-backward)
3220 (word-search-forward, word-search-backward-lax)
3221 (word-search-forward-lax): Move functions from search.c
3222 (bug#10145, bug#11381).
3223
65034a51
AM
32242012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3225
090bd7cb
JB
3226 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3227 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3228 Delay for otherchars as for normal word components.
65034a51 3229
1a72a195
SM
32302012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * minibuffer.el (completion--sifn-requote): Fix last change.
3233 (minibuffer-local-must-match-filename-map):
3234 Move define-obsolete-variable-alias before its var.
3235
fdb058c2
SM
32362012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3237
c41045e6
SM
3238 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3239
036dfb8b
SM
3240 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3241 behavior.
3242 (completion--string-equal-p): New function.
3243 (completion--twq-all): Use it to get better assertion failure data.
3244
2473256d
SM
3245 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3246 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3247 (shell--requote-argument): New functions.
3248 (shell-completion-vars): Use them.
3249 (shell--parse-pcomplete-arguments): Rename from
3250 shell-parse-pcomplete-arguments.
3251 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3252 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3253 Obey comint-file-name-quote-list.
3254
fdb058c2
SM
3255 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3256 (smie-indent-keyword): Use it.
3257
51fa99f1
SM
32582012-05-14 Stefan Merten <smerten@oekonux.de>
3259
3260 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3261
e18afed7 32622012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3263
3264 * net/rlogin.el (rlogin-mode-map): Fix last change.
3265
e18afed7 32662012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3267
3268 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3269 the following \r\n using a single `process-send-string', since the
3270 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3271 with two `process-send-string's (Bug#11444).
8633b1f4 3272
e18afed7 32732012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3274
fdb058c2
SM
3275 * shell.el (shell-parse-pcomplete-arguments):
3276 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3277
2d21d7f6
WJ
32782012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3279
e18afed7 3280 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3281 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3282 (image-transform-width, image-transform-fit-width): New functions.
3283 (image-transform-properties): Use them.
3284 (image-transform-check-size): New function.
3285 (image-toggle-display-image): Use it (for testing).
3286 (image-transform-set-rotation): Reduce angle mod 360.
3287 Delete obsolete comment.
3288
7102e6d0
WJ
32892012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3290
3291 * image-mode.el: Fix scaling (bug#11399).
3292 (image-transform-resize): Doc fix.
3293 (image-transform-properties): Default scale is 1 and height should
3294 be an integer.
3295
06bc5e6e
SM
32962012-05-13 Johan Bockgård <bojohan@gnu.org>
3297
3298 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3299 than hard-coding `car', to fix misbehavior when moving forward.
3300
0ae03b6a
CY
33012012-05-13 Chong Yidong <cyd@gnu.org>
3302
3303 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3304 (tabulated-list-entries, tabulated-list-padding)
3305 (tabulated-list-sort-key): Make permanent-local.
3306
3307 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3308 (electric-buffer-list): Put electric buffer menu
3309 command descriptions in this docstring, instead of the docstring
3310 of electric-buffer-menu-mode. Code cleanups.
3311 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3312 Electric-buffer-menu-mode.
3313 (electric-buffer-update-highlight): Minor code cleanup.
3314
205a7391
MA
33152012-05-13 Michael Albinus <michael.albinus@gmx.de>
3316
3317 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3318 (Bug#11447)
3319
e5bd0a28
SM
33202012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 Move define-obsolete-variable-alias before the var's definition.
3323 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3324 * tooltip.el (tooltip-hook):
3325 * textmodes/reftex-toc.el (reftex-toc-map):
3326 * textmodes/reftex-sel.el (reftex-select-label-map)
3327 (reftex-select-bib-map):
3328 * textmodes/reftex-index.el (reftex-index-map)
3329 (reftex-index-phrases-map):
3330 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3331 * progmodes/meta-mode.el (meta-mode-map):
3332 * novice.el (disabled-command-hook):
3333 * loadhist.el (unload-hook-features-list):
3334 * frame.el (blink-cursor):
3335 * files.el (find-file-not-found-hooks, write-file-hooks)
3336 (write-contents-hooks):
3337 * emulation/tpu-edt.el (GOLD-map):
3338 * emacs-lock.el (emacs-lock-from-exiting):
3339 * emacs-lisp/generic.el (generic-font-lock-defaults):
3340 * emacs-lisp/chart.el (chart-map):
3341 * dos-fns.el (register-name-alist):
3342 * dired-x.el (dired-omit-files-p):
3343 * desktop.el (desktop-enable):
3344 * cus-edit.el (custom-mode-hook):
3345 * buff-menu.el (buffer-menu-mode-hook):
3346 * bookmark.el (bookmark-read-annotation-text-func)
3347 (bookmark-exit-hooks):
3348 * allout.el (allout-mode-deactivate-hook)
3349 (allout-exposure-change-hook, allout-structure-added-hook)
3350 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3351 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3352 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3353 comes before the corresponding variable's definition.
3354
ac59c2f6
CY
33552012-05-12 Chong Yidong <cyd@gnu.org>
3356
3357 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3358 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3359 (Buffer-menu-mode-map): Bind it.
3360 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3361
dee6c9a3
SM
33622012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3363
2171cea5
SM
3364 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3365 (prolog-upper-case-string, prolog-lower-case-string)
3366 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3367 (prolog-use-smie, prolog-smie-grammar): New vars.
3368 (prolog-smie-forward-token, prolog-smie-backward-token)
3369 (prolog-smie-rules): New funs.
3370 (prolog-comment-indent): Remove.
3371 (prolog-mode-variables): Use default comment indentation instead.
3372 Setup SMIE.
3373 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3374 (prolog-mode): Don't call them any more.
3375 (prolog-electric-colon, prolog-electric-dash)
3376 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3377
aa0382bd
SM
3378 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3379
dbacb4bd
SM
3380 * minibuffer.el (completion--twq-all): Again, allow case differences.
3381
13bdd94c
SM
3382 * term.el: Move keymap initialization code to be more idiomatic.
3383 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3384 (term-terminal-menu): Move initialization into declaration.
3385 (term-escape-char): Let the user set it in her .emacs.
3386
ff46c759
SM
3387 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3388 Provide SMIE-based indentation (not enabled by default yet).
3389 (sh-mode-map): Don't bind electric keys.
3390 Use electric-pair-mode instead of skeleton-pair.
3391 (sh-assignment-regexp): Fit within 80 columns.
3392 (sh-indent-supported): Specify actual shell name instead of boolean.
3393 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3394 (sh-maybe-here-document): Use it. Make obsolete.
3395 (sh-electric-here-document-mode) New minor mode.
3396 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3397 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3398 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3399 (sh-smie-rc-grammar, sh-use-smie): New vars.
3400 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3401 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3402 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3403 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3404 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3405 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3406 (sh-set-shell): Use smie-setup if requested.
3407
dee6c9a3
SM
3408 * term.el (term-set-escape-char): Properly set term-escape-char.
3409 See http://stackoverflow.com/questions/10524656.
3410
9f9aa044
CY
34112012-05-10 Chong Yidong <cyd@gnu.org>
3412
3413 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3414 Use url-generic-parse-url, and handle host names and Windows
3415 filenames properly.
3416 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3417 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3418 URL schemes to work on.
3419 (ffap--toggle-read-only): New function.
3420 (ffap-read-only, ffap-read-only-other-window)
3421 (ffap-read-only-other-frame): Use it.
3422 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3423 necessary for ffap-url-unwrap-remote.
3424
836d29b3
DA
34252012-05-10 Dave Abrahams <dave@boostpro.com>
3426
3427 * cus-start.el (create-lockfiles): Add it.
3428
00fd78ed
CY
34292012-05-09 Chong Yidong <cyd@gnu.org>
3430
3431 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3432 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3433
666b903b 34342012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3435
3436 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3437
666b903b 34382012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3439
3440 * ansi-color.el (ansi-color-process-output): Check for validity of
3441 comint-last-output-start before using it. This avoids a bad
3442 interaction with gdb-mi's input/output buffer.
3443
666b903b 34442012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3445
3446 * files.el (dir-locals-read-from-file):
3447 Mention dir-locals in any error message.
3448
666b903b 34492012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3450
3451 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3452 package (Bug#11410).
3453
f677562b
CY
3454 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3455 variables into description.
3456
666b903b 34572012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3458
3459 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3460 shell-delimiter-argument-list (bug#11348).
3461 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3462
b499d8d0
JB
34632012-05-09 Juanma Barranquero <lekktu@gmail.com>
3464
8f6b6da8
JB
3465 * textmodes/rst.el: Silence byte-compiler warnings.
3466 (rst-re-alist, rst-reset-section-caches): Move around.
3467 (rst-re): Use `characterp', not `char-valid-p'.
3468 (font-lock-beg, font-lock-end): Declare.
3469
4824146a
JB
3470 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3471 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3472
b499d8d0
JB
3473 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3474
ad89bb83
GM
34752012-05-08 Glenn Morris <rgm@gnu.org>
3476
3477 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3478
8bba5a75
SM
34792012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3480
49ed9c8e
SM
3481 * vc/log-edit.el: Add GNU coding standards highlighting.
3482 (log-edit-font-lock-gnu-style)
3483 (log-edit-font-lock-gnu-keywords): New vars.
3484 (log-edit-font-lock-keywords): New fun.
3485 (log-edit-mode): Don't fold case in font-lock.
3486 (log-edit-font-lock-keywords): Do not assume case-folding.
3487
07d00b56
SM
3488 * imenu.el: Misc cleanup. Make docstrings out of comments.
3489 Use lexical-binding.
3490 (imenu--index-alist, imenu--last-menubar-index-alist)
3491 (imenu-menubar-modified-tick): Use defvar-local.
3492 (imenu--split-menu): Remove unused var.
3493 (imenu--cleanup-seen): Declare as global.
3494 (imenu--cleanup): Use dolist.
3495
8bba5a75
SM
3496 * subr.el (defvar-local): Add debug spec and doc-string position.
3497
5075bdb5
GM
34982012-05-08 Glenn Morris <rgm@gnu.org>
3499
090bd7cb 3500 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3501 * language/english.el, language/georgian.el, language/greek.el:
3502 * language/japanese.el, language/khmer.el, language/korean.el:
3503 * language/lao.el, language/misc-lang.el, language/romanian.el:
3504 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3505 * language/thai.el, language/utf-8-lang.el:
3506 Remove no-byte-compile setting.
3507
5075bdb5
GM
3508 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3509
06f679a7
AH
35102012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3511
3512 * progmodes/make-mode.el (makefile-browse):
3513 Remove unnecessary interactive. (Bug#11324)
3514
03794570
GM
35152012-05-07 Glenn Morris <rgm@gnu.org>
3516
af8630f4
GM
3517 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3518
03794570
GM
3519 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3520
f0809a9d
SM
35212012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3522
28be5ce7
SM
3523 * loadup.el: Preload newcomment.el.
3524 * newcomment.el: Move autoload-only code to toplevel.
3525
f0809a9d
SM
3526 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3527 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3528 Handle new :right-align column property.
3529 (tabulated-list-print-col): Idem, plus use `display' text-property to
3530 try and preserve alignment for variable pitch fonts.
3531
1241b724
CY
35322012-05-07 Chong Yidong <cyd@gnu.org>
3533
3534 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3535 (tabulated-list-use-header-line): New var.
3536 (tabulated-list-init-header): Use it.
3537 (tabulated-list-print-fake-header): New function.
3538 (tabulated-list-print): Use it.
3539 (tabulated-list-sort-button-map): Add non-header-line commands.
3540 (tabulated-list-init-header): Add column name property to basic
3541 labels as well.
3542 (tabulated-list-col-sort): Handle non-header-line button case.
3543 (tabulated-list--sort-by-column-name): Fix a corner case.
3544
f0809a9d
SM
3545 * buff-menu.el (list-buffers--refresh):
3546 Handle Buffer-menu-use-header-line.
1241b724 3547
e5f9458f
CY
35482012-05-06 Chong Yidong <cyd@gnu.org>
3549
3550 * buff-menu.el: Convert to Tabulated List mode.
3551 (Buffer-menu-buffer+size-width): Make obsolete.
3552 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3553 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3554 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3555 documentation into docstring of buffer-menu.
3556 (Buffer-menu-toggle-files-only): Add an informative message.
3557 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3558 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3559 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3560 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3561 (Buffer-menu-execute, Buffer-menu-select)
3562 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3563 (Buffer-menu-bury): Use Tabulated List machinery.
3564 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3565 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3566 Delete.
e5f9458f
CY
3567 (list-buffers--refresh): New function.
3568 (list-buffers-noselect): Use it.
3569 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3570 (Buffer-menu--pretty-file-name): New helper functions.
3571
3572 * loadup.el: Preload tabulated-list.
3573
3574 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3575 tabulated-list-sort-column.
3576 (tabulated-list-init-header): Add the initial aligning space even
3577 if tabulated-list-padding is zero.
3578
e129292c
CS
35792012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3580
3581 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3582 whose cdr is not a cons cell correctly (bug#11038).
3583
6632d361
CY
35842012-05-06 Chong Yidong <cyd@gnu.org>
3585
e129292c
CS
3586 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3587 Accept additional plist in column descriptors.
6632d361
CY
3588 (tabulated-list-init-header): Obey it.
3589 (tabulated-list-get-entry): New function.
3590 (tabulated-list-put-tag): Use it. Use string-width instead of
3591 length.
3592 (tabulated-list--column-number): New function.
3593 (tabulated-list-print): Use it.
e129292c
CS
3594 (tabulated-list-print-col): New function.
3595 Set `tabulated-list-column-name' property on each column's text.
6632d361 3596 (tabulated-list-print-entry): Use it.
e129292c
CS
3597 (tabulated-list-delete-entry, tabulated-list-set-col):
3598 New functions.
6632d361
CY
3599 (tabulated-list-sort-column): New command (Bug#11337).
3600
3cc99f68
CY
3601 * buff-menu.el (list-buffers): Move C-x C-b binding from
3602 buff-menu.el to bindings.el.
3603
3604 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3605 :advertised-binding feature.
3606
52b61776
TN
36072012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3608
3609 * progmodes/compile.el (compilation-internal-error-properties):
3610 Calculate start position correctly when end-col is set but
3611 end-line is not (Bug#11382).
3612
ebfe2597
WJ
36132012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3614
3615 * man.el (Man-unindent): Use text-property-default-nonsticky to
3616 prevent untabify from inheriting face properties (Bug#11408).
3617
6d3f7c2f
SM
36182012-05-05 Stefan Merten <smerten@oekonux.de>
3619
3620 * textmodes/rst.el: Major merge with upstream development up to
3621 Docutils SVN r7399 / rst.el V1.2.1.
3622
3623 Clarify maintainership and authors.
3624
3625 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3626 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3627 (rst-official-version, rst-official-cvs-rev, rst-version)
3628 (rst-package-emacs-version-alist): New functions and variables
3629 for version information.
3630
3631 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3632 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3633 (rst-mode-syntax-table, rst-mode): New and corrected functions
3634 and variables representing reStructuredText features.
3635
3636 (rst-re): New function for reStructuredText regexes. Use in
3637 many places.
3638
3639 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3640 (rst-mode-map): Rebind keys.
3641
3642 (rst-mode-lazy, rst-font-lock-keywords)
3643 (rst-font-lock-extend-region)
3644 (rst-font-lock-extend-region-internal)
3645 (rst-font-lock-extend-region-extend)
3646 (rst-font-lock-find-unindented-line-limit)
3647 (rst-font-lock-find-unindented-line-match)
3648 (rst-adornment-level, rst-font-lock-adornment-level)
3649 (rst-font-lock-adornment-match)
3650 (rst-font-lock-handle-adornment-pre-match-form)
3651 (rst-font-lock-handle-adornment-matcher): Major revision of
3652 font-locking. Integrate with other code. Use `jit-lock-mode'.
3653
3654 (rst-preferred-adornments, rst-adjust-hook)
3655 (rst-new-adornment-down, rst-preferred-bullets)
3656 (rst-preferred-bullets, rst-indent, rst-indent-width)
3657 (rst-indent-field, rst-indent-literal-normal)
3658 (rst-indent-literal-minimized, rst-indent-comment): Change,
3659 extend and improve customization.
3660
3661 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3662 (rst-normalize-cursor-position, rst-get-decoration)
3663 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3664 (rst-rstrip, rst-toc-insert-find-delete-contents)
3665 (rst-shift-fill-region, rst-compute-bullet-tabs)
3666 (rst-debug-print-tabs, rst-debug-mark-found)
3667 (rst-shift-region-guts, rst-shift-region-right)
3668 (rst-shift-region-left, rst-use-char-classes)
3669 (rst-font-lock-keywords-function)
3670 (rst-font-lock-indentation-point)
3671 (rst-font-lock-find-unindented-line-begin)
3672 (rst-font-lock-find-unindented-line-end)
3673 (rst-font-lock-find-unindented-line)
3674 (rst-font-lock-adornment-point, rst-font-lock-level)
3675 (rst-adornment-level-alist): Remove functions and variables.
3676
3677 (rst-compare-adornments, rst-get-adornment-match)
3678 (rst-suggest-new-adornment, rst-get-adornments-around)
3679 (rst-adornment-complete-p, rst-get-next-adornment)
3680 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3681 (rst-straighten-adornments): Standardize function names to
3682 use "adornment" instead of "decoration". Correct callers.
3683 Similar standardizing in many places.
3684
3685 (rst-update-section, rst-adjust, rst-promote-region)
3686 (rst-enumerate-region, rst-bullet-list-region)
3687 (rst-repeat-last-character): Correct use of `interactive'.
3688
3689 (rst-classify-adornment, rst-find-all-adornments)
3690 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3691 (rst-find-leftmost-column, rst-repeat-last-character):
3692 Refactor functions.
3693
3694 (rst-find-title-line, rst-reset-section-caches)
3695 (rst-get-adornments-around, rst-adjust-adornment-work)
3696 (rst-arabic-to-roman, rst-roman-to-arabic)
3697 (rst-insert-list-pos, rst-insert-list-new-item)
3698 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3699 New functions.
3700
3701 (rst-all-sections, rst-section-hierarchy)
3702 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3703 New variables.
3704
3705 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3706 configuration instead of only buffer. Change where necessary.
3707
3708 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3709 (rst-shift-region, rst-adaptive-fill): New functions for
3710 indentation and filling.
3711
3712 (rst-comment-line-break, rst-comment-indent)
3713 (rst-comment-insert-comment, rst-comment-region)
3714 (rst-uncomment-region): New functions for handling comments.
3715
3716 (rst-compile): Quote shell arguments.
3717
3718 (rst-compile-pdf-preview, rst-compile-slides-preview):
3719 Delete temporary files after use.
3720
a43f98b3
GM
37212012-05-05 Glenn Morris <rgm@gnu.org>
3722
48176e8b
GM
3723 * calendar/cal-html.el: Optionally include holidays in the output.
3724 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3725 (cal-html-holidays): New option.
3726 (cal-html-css-default): Add holiday entry.
3727 (holiday-in-range): Autoload it.
3728 (cal-html-htmlify-entry): Add optional class argument.
3729 (cal-html-htmlify-list): Add optional holidays argument.
3730 (cal-html-insert-agenda-days): Include holidays in the output.
3731 (cal-html-one-month): Maybe include holidays.
3732
a43f98b3
GM
3733 * calendar/holidays.el (holiday-in-range):
3734 Move here from cal-tex-list-holidays.
3735 * calendar/cal-tex.el (cal-tex-list-holidays):
3736 Make it an obsolete alias for holiday-in-range. Update all callers.
3737
fef9d149 37382012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3739
3740 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3741 Nextstep.
3742
248da2f4
RW
37432012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3744
3745 * files.el (file-auto-mode-skip): New var.
3746 (set-auto-mode-1): Use it.
3747
f95e9344
SM
37482012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3749
df96ab1e
SM
3750 * repeat.el: Use lexical-binding.
3751 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3752 (repeat-undo-count): Remove.
3753 (repeat):
3754 * progmodes/octave-mod.el (octave-abbrev-start):
3755 * progmodes/f90.el (f90-abbrev-start):
3756 * face-remap.el (text-scale-adjust):
3757 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3758
5342bb06
SM
3759 * emacs-lisp/pcase.el (pcase--let*): New function.
3760 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3761 a bit more.
3762 (pcase--split-pred): Be more clever about ruling out overlap between
3763 a predicate and some constant pattern.
3764 (pcase--q1): Use `null' instead of (eq foo nil).
3765
f95e9344
SM
3766 * subr.el (setq-local, defvar-local): New macros.
3767 (kbd): Redefine as an alias.
3768 (with-selected-window): Leave unrelated frames alone.
3769 (set-temporary-overlay-map): New function.
3770
71873e2b
SM
37712012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * subr.el (user-error): New function.
3774 * window.el (switch-to-buffer):
3775 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3776 (smerge-match-conflict):
3777 * simple.el (previous-matching-history-element)
3778 (next-matching-history-element, goto-history-element, undo-more)
3779 (undo-start):
3780 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3781 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3782 (next-file, tags-loop-scan, list-tags, complete-tag):
3783 * progmodes/compile.el (compilation-loop):
3784 * mouse.el (mouse-minibuffer-check):
3785 * man.el (Man-bgproc-sentinel, Man-goto-page):
3786 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3787 (Info-history-forward, Info-follow-reference, Info-menu)
3788 (Info-extract-menu-item, Info-extract-menu-counting)
3789 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3790 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3791 (Info-next-reference, Info-prev-reference, Info-index)
3792 (Info-index-next, Info-follow-nearest-node)
3793 (Info-copy-current-node-name):
3794 * imenu.el (imenu--make-index-alist)
3795 (imenu-default-create-index-function, imenu-add-to-menubar):
3796 * files.el (basic-save-buffer, recover-file):
3797 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3798 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3799 (checkdoc-message-text, checkdoc-defun):
3800 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3801 * cus-edit.el (customize-changed-options, customize-rogue)
3802 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3803 (custom-variable-mark-to-reset-standard)
3804 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3805 (custom-file):
3806 * completion.el (check-completion-length):
3807 * comint.el (comint-search-arg)
3808 (comint-previous-matching-input-string-position)
3809 (comint-previous-matching-input)
3810 (comint-replace-by-expanded-history-before-point, comint-send-input)
3811 (comint-copy-old-input, comint-backward-matching-input)
3812 (comint-goto-process-mark, comint-set-process-mark):
3813 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3814 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3815
8a61ee22
SM
38162012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3817
66408d1e
SM
3818 * dabbrev.el (dabbrev--ignore-case-p): New function.
3819 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3820 Use it.
3821
8a61ee22
SM
3822 * files.el (automount-dir-prefix): Mark as obsolete.
3823
3c74813a
GM
38242012-05-04 Glenn Morris <rgm@gnu.org>
3825
3826 * patcomp.el, play/bruce.el: Move to obsolete/.
3827
0bfcf5c5
PE
38282012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3829
3830 Fix minor Y10k bugs.
3831 * arc-mode.el (archive-unixdate):
3832 * autoinsert.el (auto-insert-alist):
3833 * calc/calc-forms.el (math-this-year):
3834 * emacs-lisp/copyright.el (copyright-current-year)
3835 (copyright-update-year, copyright):
3836 * tar-mode.el (tar-clip-time-string):
3837 * time.el (display-time-update):
3838 Don't assume years have 4 digits.
3839
78f3273a
CY
38402012-05-04 Chong Yidong <cyd@gnu.org>
3841
3842 * dos-w32.el (file-name-buffer-file-type-alist)
3843 (direct-print-region-use-command-dot-com):
3844 * ffap.el (ffap-menu-regexp):
3845 * find-file.el (ff-special-constructs):
3846 * follow.el (follow-debug):
3847 * forms.el (forms--debug):
3848 * iswitchb.el (iswitchb-all-frames):
3849 * ido.el (ido-all-frames):
3850 * emacs-lisp/timer.el (timer-max-repeats):
3851 * mail/feedmail.el (feedmail-mail-send-hook)
3852 (feedmail-mail-send-hook-queued):
3853 * mail/footnote.el (footnote-signature-separator):
3854 * mail/mailabbrev.el (mail-alias-separator-string)
3855 (mail-abbrev-mode-regexp):
3856 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3857 * progmodes/idlwave.el (idlwave-libinfo-file)
3858 (idlwave-default-completion-case-is-down)
3859 (idlwave-library-routines): Convert defvars to defcustoms.
3860
3861 * mail/rmail.el (rmail-decode-mime-charset):
3862 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3863 (idlwave-shell-fix-inserted-breaks)
3864 (idlwave-shell-activate-alt-keybindings)
3865 (idlwave-shell-use-breakpoint-glyph):
3866 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3867
f7ae6719
SM
38682012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3869
3870 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3871
47086495
WS
38722012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3873
3874 * progmodes/verilog-mode.el (font-lock-keywords):
3875 Fix mis-highligting auto. Reported by Craig Barner.
3876 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3877 defines from global name space. Reported by Dan Dever.
3878 (verilog-auto-reset, verilog-auto-reset-widths)
3879 (verilog-auto-tieoff): Support using unbased numbers for
3880 AUTORESET and AUTOTIEOFF.
3881 (verilog-submit-bug-report): Update variable list.
3882 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3883 parenthesis from not matching. Reported by Michael Rytting.
3884 (verilog-auto-template-lint): Fix hash error when linting modules
3885 with no used templates.
3886 (verilog-warn, verilog-warn-error)
3887 (verilog-warn-fatal): When non-interactive report multiple
3888 warnings before exiting. Suggested by Brad Dobbie.
3889 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3890 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3891 to report unused template errors. Reported by Brad Dobbie.
3892 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3893 nets, bug438. Reported by Vns Blore.
3894 (verilog-auto-inout-module, verilog-auto-reg)
3895 (verilog-read-decls, verilog-read-sub-decls-sig)
3896 (verilog-signals-edit-wire-reg, verilog-signals-with):
3897 Fix passing of Verilog data types in ANSI input/output ports
3898 such as "output logic" into the AUTOs. Special case "wire" and
3899 "reg" for backwards compatibility presuming Verilog 2001.
3900 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3901 (verilog-preprocess): Fix replication of preprocess output.
3902 Reported by Brad Dobbie.
3903 (verilog-auto-inst-interfaced-ports):
3904 Create verilog-auto-inst-interfaced-ports, bug429.
3905 Reported by Julian Gorfajn.
3906 (verilog-after-save-font-hook)
3907 (verilog-before-save-font-hook): New variable.
3908 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3909 (verilog-save-font-mods): Wrap disabling fontification, reported
3910 by David Rogoff.
3911 (verilog-do-indent, verilog-pretty-declarations-auto)
3912 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3913 Reported by Pierre-David Pfister.
3914 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3915 of class declarations, bug292. Reported by Kevin Heilman.
3916 (verilog-read-decls): Fix 'parameter type' not appearing in
3917 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3918 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3919 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3920 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3921 Reported by David Kravitz.
3922
39232012-05-03 Michael McNamara <mac@mail.brushroad.com>
3924
3925 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3926 assignment with tests in ifs and for loops.
3927 (verilog-extended-complete-re, verilog-complete-reg): Change so
3928 that DPI inport functions don't look like fuction declarations.
3929 (verilog-pretty-expr): Don't line up assignment
3930 operations to the test and increment in if and for loops
3931 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3932 that DPI inport functions don't look like fuction declarations.
47086495 3933
2e51d4b5
KH
39342012-05-03 Kenichi Handa <handa@m17n.org>
3935
3936 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3937 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3938 (Bug#11282).
3939
2bd785a2
SM
39402012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * emacs-lisp/bytecomp.el
3943 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3944 since cconv.el might have introduced :fun-body, internal-make-closure,
3945 and friends for bytecomp to handle (bug#11391).
3946 * custom.el (defcustom): Avoid ((λ ..) ..).
3947
99d27583
SM
39482012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3951
55a71479
JB
39522012-05-02 Juanma Barranquero <lekktu@gmail.com>
3953
3954 * notifications.el (dbus-debug):
3955 * term/linux.el (gpm-mouse-enable):
3956 * term/screen.el (xterm-register-default-colors): Declare.
3957
7b97c764
CY
39582012-05-02 Chong Yidong <cyd@gnu.org>
3959
2bc356d7
CY
3960 * cus-start.el (gc-cons-percentage, exec-suffixes)
3961 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3962 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3963 (make-cursor-line-fully-visible, void-text-area-pointer)
3964 (font-list-limit): Add customization data.
3965
7b97c764
CY
3966 * allout.el (allout-exposure-change-functions)
3967 (allout-structure-added-functions)
3968 (allout-structure-deleted-functions)
3969 (allout-structure-shifted-functions): Rename abnormal hooks from
3970 *-hook, and convert to defcustoms.
5d3385a0
JB
3971 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3972 Convert to defcustoms.
7b97c764
CY
3973 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3974
3975 * allout-widgets.el: Hook callers changed.
3976
90207a15 39772012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3978
3979 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3980 the yanked message in preference to the default value of
3981 buffer-file-coding-system.
3982
90207a15 39832012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3984
5d3385a0
JB
3985 * window.el (display-buffer--action-function-custom-type):
3986 Fix entry.
d9558cad 3987
90207a15 39882012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3989
3990 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3991
d80ac57b
GM
39922012-05-01 Glenn Morris <rgm@gnu.org>
3993
976f7668
GM
3994 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3995
beb83b5a
GM
3996 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3997
d80ac57b
GM
3998 * cus-edit.el (custom-variable-documentation): Simplify with format.
3999
b593d6a9 40002012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4001 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4002
4003 * simple.el (suggest-key-bindings, execute-extended-command):
4004 Move from keyboard.c.
4005
782fbf2a
CY
40062012-05-01 Chong Yidong <cyd@gnu.org>
4007
4008 * follow.el: Eliminate advice.
4009 (set-process-filter, process-filter, sit-for): Advice deleted.
4010 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4011 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4012 Vars deleted.
782fbf2a
CY
4013 (follow-auto): Use a :set function.
4014 (follow-mode): Rewritten. Don't advise process filters.
4015 (follow-switch-to-current-buffer-all, follow-scroll-up)
4016 (follow-scroll-down): Assume follow-mode is bound.
4017 (follow-comint-scroll-to-bottom)
4018 (follow-align-compilation-windows): New functions.
4019 (follow--window-sorter): New function.
4020 (follow-all-followers): Use it to explicitly sort windows by their
4021 positions; don't make assumptions about next-window order.
4022 (follow-windows-start-end, follow-delete-other-windows-and-split)
4023 (follow-calc-win-start): Doc fix.
4024 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4025 vertical-motion unnecessarily.
4026 (follow-adjust-window): New function.
4027 (follow-post-command-hook): Use it.
4028 (follow-call-set-process-filter, follow-call-process-filter)
4029 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4030 (follow-stop-intercept-process-output, follow-generic-filter):
4031 Functions deleted.
4032 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4033 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4034 New functions, replacing advice on scroll-bar-* commands.
87233a14 4035 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4036
4037 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4038 (comint-postoutput-scroll-to-bottom): Use it.
4039 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4040
290af740
GM
40412012-05-01 Glenn Morris <rgm@gnu.org>
4042
4043 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4044 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4045 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4046 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4047 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4048 Remove no-byte-compile setting.
4049
6eac8dc9
SM
40502012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4053 all-completions code to not return a number in the last cdr.
4054
9cc7819c
LL
40552012-04-30 Leo Liu <sdl.web@gmail.com>
4056
4057 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4058 read-only error.
4059
c93b886f
CY
40602012-04-29 Chong Yidong <cyd@gnu.org>
4061
4062 * follow.el (follow-calc-win-end): Rewrite to handle partial
4063 screen lines correctly (Bug#8390).
4064 (follow-avoid-tail-recenter): Minor cleanup.
4065
8b6c19f4
SM
40662012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 Avoid the obsolete `assoc' package.
4069 * speedbar.el (speedbar-refresh): Avoid adelete.
4070 (speedbar-file-lists): Simplify and avoid aput.
4071 * man.el (Man--sections, Man--refpages): New vars, replacing
4072 Man-sections-alist and Man-refpages-alist.
4073 (Man-build-section-alist, Man-build-references-alist):
4074 Use them; avoid aput.
4075 (Man--last-section, Man--last-refpage): New vars.
4076 (Man-follow-manual-reference): Use them.
4077 Use the `default' arg of completing-read.
4078 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4079
c5bb7569
CY
40802012-04-27 Chong Yidong <cyd@gnu.org>
4081
d1d2e2e8
CY
4082 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4083
15cd8efd
CY
4084 * startup.el (x-apply-session-resources): New function.
4085
4086 * term/ns-win.el (ns-initialize-window-system):
4087 * term/w32-win.el (w32-initialize-window-system):
4088 * term/x-win.el (x-initialize-window-system): Use it to properly
4089 set menu-bar-mode and other vars from X resources, even if the
4090 initial frame is not a window-system frame (Bug#2299).
4091
c5bb7569
CY
4092 * subr.el (read-key): Avoid running filter function when setting
4093 up temporary tool bar entries (Bug#9922).
4094
a8e7d6d7 40952012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4096
4097 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4098 (Bug#11344)
4099
a8e7d6d7 41002012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4101
4102 * select.el (xselect--encode-string): New function, split from
4103 xselect-convert-to-string.
4104 (xselect-convert-to-string): Use it.
4105 (xselect-convert-to-filename, xselect-convert-to-os)
4106 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4107 returned strings are properly encoded (Bug#11315).
4108
a8e7d6d7 41092012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4110
4111 * simple.el (delete-active-region): Move to killing custom group.
4112
a8e7d6d7 41132012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4114
4115 * progmodes/which-func.el (which-func-current): Quote %
4116 characters for mode-line processing.
4117
578c1d4b 41182012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4119
4120 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4121 reaching eob (Bug#11286).
4122
a8e7d6d7 41232012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4124
4125 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4126 (gdb): Make it buffer-local and init to zero.
4127 (gdb-control-commands-regexp): New variable.
4128 (gdb-send): Don't wrap in "-interpreter-exec console" if
4129 gdb-control-level is positive. Increment gdb-control-level
4130 whenever the command matches gdb-control-commands-regexp, and
4131 decrement it each time the command is "end". (Bug#11279)
4132
a8e7d6d7 41332012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4134
4135 * window.el (adjust-window-trailing-edge, enlarge-window)
4136 (shrink-window, window-resize):
4137 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4138 windows (Bug#11276).
4139
b3608390
CY
41402012-04-27 Chong Yidong <cyd@gnu.org>
4141
4142 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4143 fix "missing prefix" warning. All callers changed.
b3608390 4144
797e6e88
SM
41452012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4146
4147 * emacs-lisp/assoc.el: Move to obsolete/.
4148
e95a67dc
SM
41492012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4150
657c21e4 4151 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4152
4153 * term/ns-win.el (ns-define-service):
4154 * progmodes/pascal.el (pascal-goto-defun):
4155 * progmodes/js.el (js--read-tab):
4156 * progmodes/etags.el (tags-lazy-completion-table):
4157 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4158 * emacs-lisp/ewoc.el (ewoc--wrap):
4159 * emacs-lisp/assoc.el (aput, adelete, amake):
4160 * doc-view.el (doc-view-convert-current-doc):
4161 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4162
cb3e7ae0
CY
41632012-04-26 Chong Yidong <cyd@gnu.org>
4164
dce04f7f
CY
4165 * image.el (image-type-from-buffer): Only return supported image
4166 type (Bug#9045).
4167
cb3e7ae0
CY
4168 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4169 value, for symmetry with diff-end-of-hunk.
4170 (diff-split-hunk, diff-find-source-location)
4171 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4172 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4173 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4174 compute the relevant hunk or file properly (Bug#6005).
4175 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4176
0d42eb3e
SM
41772012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * vc/vc-mtn.el:
4180 * vc/vc-hg.el:
4181 * vc/vc-git.el:
4182 * vc/vc-dir.el:
4183 * vc/vc-cvs.el:
4184 * vc/vc-bzr.el:
4185 * vc/vc-arch.el:
4186 * vc/vc.el: Replace lexical-let by lexical-binding.
4187 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4188 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4189 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4190
f08ae1c9
CY
41912012-04-26 Chong Yidong <cyd@gnu.org>
4192
8b71081d
CY
4193 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4194 (diff-mode-shared-map): Bind it to / and [remap undo].
4195
f08ae1c9
CY
4196 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4197 (ediff-window-setup-function): Use it as the default, to set up
4198 windows based on whether the current frame is graphical (Bug#2138).
4199 (ediff-choose-window-setup-function-automatically): Make obsolete.
4200
4201 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4202
ef24141c
SM
42032012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4204
cc356a5d
SM
4205 * ffap.el: Remove old code for obsolete package.
4206 (ffap-complete-as-file-p): Remove.
4207
b4ff4f1f
SM
4208 Use completion-table-with-quoting for comint and pcomplete.
4209 * comint.el (comint--unquote&requote-argument)
4210 (comint--unquote-argument, comint--requote-argument): New functions.
4211 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4212 (comint-quote-filename): Use regexp-opt-charset.
4213 (comint--common-suffix, comint--common-quoted-suffix)
4214 (comint--table-subvert): Remove.
4215 (comint-unquote-function, comint-requote-function): New vars.
4216 (comint--complete-file-name-data): Use them with
4217 completion-table-with-quoting.
4218 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4219 * pcomplete.el (pcomplete-arg-quote-list)
4220 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4221 (pcomplete-unquote-argument-function): Default to non-nil.
4222 (pcomplete-unquote-argument): Simplify.
4223 (pcomplete--common-quoted-suffix): Remove.
4224 (pcomplete-requote-argument-function): New var.
4225 (pcomplete--common-suffix): New function.
4226 (pcomplete-completions-at-point): Use completion-table-with-quoting
4227 and completion-table-subvert.
4228
79c4eeb4
SM
4229 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4230 (minibuffer--double-dollars): Preserve properties.
4231 (completion--sifn-requote): New function.
4232 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4233
ef24141c
SM
4234 * minibuffer.el: Add support for completion of quoted/escaped data.
4235 (completion-table-with-quoting, completion-table-subvert): New funs.
4236 (completion--twq-try, completion--twq-all): New functions.
4237 (completion--nth-completion): New function.
4238 (completion-try-completion, completion-all-completions): Use it.
4239
784e7d6e
LL
42402012-04-25 Leo Liu <sdl.web@gmail.com>
4241
dd2ac746
SM
4242 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4243 Use compilation-message if available to find real filename.
784e7d6e 4244
07875ee7
CY
42452012-04-25 Chong Yidong <cyd@gnu.org>
4246
4247 * vc/diff-mode.el (diff-setup-whitespace): New function.
4248 (diff-mode): Use it.
4249
4250 * vc/diff.el (diff-sentinel):
4251 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4252 Whitespace mode variables based on diff style (Bug#8612).
4253
5055880d
LL
42542012-04-25 Leo Liu <sdl.web@gmail.com>
4255
daf75653
LL
4256 * progmodes/python.el (python-send-region): Add suffix .py to the
4257 temp file.
4258
5055880d
LL
4259 * files.el (auto-mode-alist): Use javascript-mode instead.
4260
db9b177b
AH
42612012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4262
ef24141c 4263 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4264
090bd7cb 4265 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4266 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4267 references, see Bug#9.
ef24141c 4268 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4269 when receiving a fault reply.
ef24141c 4270 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4271
090bd7cb 4272 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4273 (soap-inspect-simple-type): New function.
db9b177b 4274
090bd7cb 4275 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4276 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4277 (soap-decode-basic-type, soap-encode-basic-type):
4278 support unsignedInt and double basic types.
db9b177b 4279 (soap-resolve-references-for-simple-type)
ef24141c
SM
4280 (soap-parse-simple-type, soap-encode-simple-type): New function.
4281 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4282
090bd7cb 4283 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4284 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4285 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4286 the local name of "soapenc:Array".
4287 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4288 decoding integer, byte and anyURI xsd types.
4289
1fc6097b
CY
42902012-04-25 Chong Yidong <cyd@gnu.org>
4291
4292 * cus-edit.el (custom-buffer-create-internal): Update header text.
4293
afc6df87
EZ
42942012-04-25 Eli Zaretskii <eliz@gnu.org>
4295
4296 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4297 settings on 'system-type', not on 'window-system'. On MS-Windows,
4298 set interactive-mode on in GDB.
4299
dfbd787f
SM
43002012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4303 (ruby-syntax-propertize-regexp): Remove.
4304 (ruby-syntax-propertize-function): Split regexp into chunks.
4305 Match following code directly.
4306
85222d44
DG
43072012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4308
51a8ea2a
DG
4309 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4310 (ruby-syntax-propertize-regexp): New function.
4311 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4312 by a special keyword.
4313
85222d44
DG
4314 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4315 (ruby-syntax-general-delimiters-goto-beg)
4316 (ruby-syntax-propertize-general-delimiters): New functions.
4317 (ruby-syntax-propertize-function): Use them to handle GDL.
4318 (ruby-font-lock-keywords): Move old handling of GDL...
4319 (ruby-font-lock-syntactic-keywords): .. to here.
4320 (ruby-calculate-indent): Adjust indentation for GDL.
4321
b613912b
MA
43222012-04-24 Michael Albinus <michael.albinus@gmx.de>
4323
b5380639
MA
4324 * notifications.el (top): Remove unneeded declarations.
4325 (notifications-specification-version): Change to "1.2".
e43042fe 4326 (notifications-interface, notifications-notify-method)
b613912b
MA
4327 (notifications-close-notification-method): Fix docstring.
4328 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4329 (notifications-notify): Add :action-items, :resident and
4330 :transient hints. Change "image_data" to "image-data" and
4331 "image_path" to "image-path".
b613912b
MA
4332 (notifications-get-capabilities): New defun.
4333
257440aa
LL
43342012-04-24 Leo Liu <sdl.web@gmail.com>
4335
4336 * progmodes/python.el: Move hideshow setup to the end.
4337
b1bac16e
MR
43382012-04-24 Martin Rudalics <rudalics@gmx.at>
4339
4340 * window.el (handle-select-window): Clear echo area since this is
4341 no more done by read_char (Bug#11304).
4342
d81bd059
SM
43432012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4344
4345 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4346 and `/ M' to filter-derived-mode.
4347 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4348 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4349 (ibuffer-mark-by-mode): Use default rather than initial-input.
4350 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4351
c4cf6d91
IA
43522012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4353
4354 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4355 (ibuffer-filter-by-derived-mode): New filter.
4356 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4357
7511ded8
CY
43582012-04-23 Andreas Politz <politza@fh-trier.de>
4359
4360 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4361
775c916b
CY
43622012-04-23 Chong Yidong <cyd@gnu.org>
4363
4364 * cus-edit.el (customize-apropos, customize-apropos-options):
4365 Disable matching of non-option variables (Bug#11176).
4366 (customize-option, customize-option-other-window)
4367 (customize-changed-options): Doc fix.
4368 (customize-apropos-options, customize-apropos-faces)
4369 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4370
4371 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4372 Fix word list splitting (Bug#11132).
46c71e23
CY
4373 (apropos-symbol, apropos-keybinding, apropos-label)
4374 (apropos-property, apropos-function-button)
4375 (apropos-variable-button, apropos-misc-button): New faces.
4376 (apropos-symbol-face, apropos-keybinding-face)
4377 (apropos-label-face, apropos-property-face, apropos-match-face):
4378 Variables removed (Bug#8396).
4379 (apropos-library-button, apropos-format-plist, apropos-print)
4380 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4381
2df41f9c
MA
43822012-04-23 Michael Albinus <michael.albinus@gmx.de>
4383
4384 * net/xesam.el (xesam-mode-map): Use let-bound map in
4385 initialization. (Bug#11292)
4386
da00640a
AM
43872012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4388
4389 Preserve ispell session localwords when switching back to
4390 original buffer.
4391
090bd7cb
JB
4392 * textmodes/ispell.el (ispell-buffer-session-localwords):
4393 New buffer-local variable to hold buffer session localwords.
ed9265fc 4394 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4395 localwords.
4396 (ispell-command-loop, ispell-change-dictionary)
4397 (ispell-buffer-local-words): Preserve session localwords when
4398 needed.
4399
090bd7cb
JB
4400 * textmodes/flyspell.el (flyspell-process-localwords)
4401 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4402
f621ccf5
AM
44032012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4404
090bd7cb
JB
4405 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4406 using obsolete `translation-table-for-input'.
ef24141c
SM
4407 (ispell-word, ispell-process-line, ispell-complete-word):
4408 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4409
c2d1019e
CY
44102012-04-22 Chong Yidong <cyd@gnu.org>
4411
4412 * cus-edit.el (custom-variable-menu)
4413 (custom-variable-reset-saved, custom-face-menu)
4414 (custom-face-reset-saved): If there is no saved value, make the
4415 "reset-saved" operation bring back the default (Bug#9509).
4416 (custom-face-state): Properly detect themed faces.
4417
eeddc531
CY
4418 * faces.el (face-spec-set): Stop supporting deprecated form of
4419 third arg.
4420
dcbf5805
MA
44212012-04-22 Michael Albinus <michael.albinus@gmx.de>
4422
4423 Move functions from C to Lisp. Make non-blocking method calls
4424 the default. Implement further D-Bus standard interfaces.
4425
ef24141c
SM
4426 * net/dbus.el (dbus-message-internal): Declare function.
4427 Remove unneeded function declarations.
dcbf5805
MA
4428 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4429 (dbus-message-type-method-return, dbus-message-type-error)
4430 (dbus-message-type-signal): Declare variables. Remove local
4431 definitions.
4432 (dbus-interface-dbus, dbus-interface-peer)
4433 (dbus-interface-introspectable, dbus-interface-properties)
4434 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4435 Adapt docstring.
4436 (dbus-interface-objectmanager): New defconst.
4437 (dbus-call-method, dbus-call-method-asynchronously)
4438 (dbus-send-signal, dbus-method-return-internal)
4439 (dbus-method-error-internal, dbus-register-service)
4440 (dbus-register-signal, dbus-register-method): New defuns, moved
4441 from dbusbind.c
4442 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4443 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4444 New defuns.
dcbf5805
MA
4445 (dbus-call-method-non-blocking): Make it an obsolete function.
4446 (dbus-unregister-object, dbus-unregister-service)
4447 (dbus-handle-event, dbus-register-property)
4448 (dbus-property-handler): Obey the new structure of
4449 `bus-registered-objects'.
4450 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4451 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4452 Use `dbus-call-method'.
4453
cf20dee0
CY
44542012-04-22 Chong Yidong <cyd@gnu.org>
4455
4456 * cus-edit.el (custom-commands, custom-reset-menu)
4457 (Custom-reset-standard): Tweak labels.
4458 (custom-reset-button-menu): Change default to t.
4459 (custom-buffer-create-internal): For the custom-reset-button-menu
4460 case, put the revert button first.
4461 (custom-group-subtitle): New face.
4462 (custom-group-value-create): Align docstring to a specific column.
4463
4464 * wid-edit.el (widget-documentation-link-add): Don't handle
4465 indentation in this function.
4466 (widget-documentation-string-indent-to): New function.
4467 (widget-documentation-string-value-create): Use it.
4468
4469 * autorevert.el (auto-revert):
4470 * epg-config.el (epg):
4471 * ibuffer.el (ibuffer):
4472 * mpc.el (mpc):
4473 * ses.el (ses):
4474 * eshell/eshell.el (eshell):
4475 * net/ange-ftp.el (ange-ftp):
4476 * progmodes/ebnf2ps.el (postscript):
4477 * progmodes/flymake.el (flymake):
4478 * progmodes/prolog.el (prolog):
4479 * progmodes/verilog-mode.el (verilog-mode):
4480 * progmodes/which-func.el (which-func):
4481 * term/xterm.el (xterm):
4482 * textmodes/picture.el (picture):
4483 * textmodes/tildify.el (tildify):
4484 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4485 customization buffers.
4486
583e23bd
AM
44872012-04-22 Alan Mackenzie <acm@muc.de>
4488
4489 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4490 Adding a ) can hide the resulting (..) from searches. Fix it.
4491 Bound the backward search to the position of the existing (.
4492
7dd51bf1
JB
44932012-04-21 Juanma Barranquero <lekktu@gmail.com>
4494
4495 * progmodes/verilog-mode.el (verilog-mode): Check whether
4496 which-func-modes is t before adding verilog-mode.
4497 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4498
d64a438f
LL
44992012-04-21 Leo Liu <sdl.web@gmail.com>
4500
7dd51bf1 4501 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4502
081e8d65
MV
45032012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4504
4505 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4506 filling of the last column of a table (Bug#5635).
4507 (woman-find-next-control-line): New arg, specifying an additional
4508 regexp component for the control line.
4509 (woman2-roff-buffer): Use it.
4510 (woman-break-table): New function.
4511 (woman2-TS): Use it.
4512
45132012-04-21 Chong Yidong <cyd@gnu.org>
4514
4515 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4516 (woman-horizontal-escapes, woman-negative-vertical-space)
4517 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4518 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4519
ed571ccb
SM
45202012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4521
4522 * minibuffer.el (completion-file-name-table): Complete user names.
4523
39773899
LL
45242012-04-20 Leo Liu <sdl.web@gmail.com>
4525
4526 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4527 and pcase-let*.
4528
de6ff46d
CY
45292012-04-20 Chong Yidong <cyd@gnu.org>
4530
4531 * server.el (server-execute): Respect initial-buffer-choice if it
4532 is a string and there are no files to open (Bug#2825).
4533 (server-create-window-system-frame, server-create-tty-frame):
4534 Don't switch buffers here.
2d0e8e61
CY
4535 (server-process-filter): Only try to open a window system frame if
4536 compiled with graphical support (Bug#8314).
de6ff46d 4537
54071013
DN
45382012-04-20 Dan Nicolaescu <dann@gnu.org>
4539
4540 * battery.el (battery-echo-area-format): Display remaining time
4541 for sysfs backend too (Bug#11269).
4542 (battery-linux-sysfs): Fix conditional for the charge.
4543
f30d612a
CY
45442012-04-20 Chong Yidong <cyd@gnu.org>
4545
c07a4c0b 4546 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4547 (gdb-inferior-io--init-proc): New function.
4548 (gdb-init-1): Use it.
4549 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4550 responsible for allocating a new pty and hooking it to gdb when
4551 the old pty gets an EIO due to process exit.
4552 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4553 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4554 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4555
2116e93c
EZ
45562012-04-20 Eli Zaretskii <eliz@gnu.org>
4557
4558 * window.el (window-min-size, window-sizable, window-min-delta)
4559 (window-max-delta, window--resizable, window-resizable)
4560 (window-total-size, window-full-height-p, window-full-width-p)
4561 (window-in-direction, window--resize-mini-window, window-resize)
4562 (window--resize-child-windows-normal)
4563 (window--resize-child-windows, window--resize-siblings)
4564 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4565 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4566
c07a4c0b 45672012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4568
ef24141c
SM
4569 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4570 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4571 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4572 pty process (Bug#11273).
4573 (gdb-update): New arg to suppress talking to the gdb process.
4574 (gdb-done-or-error): Use it.
4575 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4576 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4577 sentinel not being called.
4578
4579 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4580
d02766ab
CY
4581 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4582
c07a4c0b 45832012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4584
4585 * net/network-stream.el (open-network-stream): Doc fix.
4586
c07a4c0b 45872012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4588
4589 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4590
c07a4c0b 45912012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4592
4593 Ensure searching for keywords is case sensitive.
4594
4595 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4596 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4597 (c-defun-name, c-mark-function, c-cpp-define-name)
4598 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4599 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4600
ef24141c
SM
4601 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4602 Bind case-fold-search to nil.
f0f6bc35 4603
c07a4c0b 46042012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4605
4606 * mail/sendmail.el (mail-bury): Call return action with the right
4607 Rmail buffer (Bug#11242).
4608
9a864fa2
CY
4609 * server.el (server-process-filter): Handle corner case where both
4610 tty and nowait options are present (Bug#11102).
4611
539aa513
EZ
46122012-04-20 Eli Zaretskii <eliz@gnu.org>
4613
4614 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4615 (top level): Put into the executable the ident-style '$Id:' tag on
4616 windows-nt as well.
539aa513 4617
cfc7d5da
SM
46182012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * electric.el (electric-indent-post-self-insert-function): Check that
4621 electric-indent-mode is enabled in current buffer.
4622
5b01685c
JB
46232012-04-19 Juanma Barranquero <lekktu@gmail.com>
4624
4625 * imenu.el (imenu-progress-message): Restore; it is "used" in
4626 erc/erc-imenu.el and net/snmp-mode.el.
4627
4d6769e1
JB
46282012-04-19 Juanma Barranquero <lekktu@gmail.com>
4629
4630 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4631 (mouse-avoidance-nudge-mouse): Remove unused binding.
4632
4633 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4634
4635 * descr-text.el (describe-char):
4636 * progmodes/python.el (python-describe-symbol):
4637 Don't call `toggle-read-only', set `buffer-read-only'.
4638
4639 * imenu.el (imenu-default-goto-function): Mark unused args.
4640 (imenu-progress-message): Remove obsolete macro; all callers changed.
4641
4642 * subr.el (keymap-canonicalize): Remove unused binding.
4643 (read-passwd): Mark unused arg.
4644
4645 * tutorial.el (tutorial--display-changes): Remove unused binding.
4646 (tutorial--save-tutorial-to): Remove unused variable.
4647
4648 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4649 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4650 (package-generate-autoloads, package-menu--generate)
4651 (package-menu--find-upgrades): Remove unused bindings.
4652
4653 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4654 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4655 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4656 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4657 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4658 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4659 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4660 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4661 (cua-delete-char-rectangle): Mark unused args.
4662 (cua-align-rectangle): Remove unused binding.
4663
4664 * mail/rmail.el (compilation--message->loc)
4665 (epa--find-coding-system-for-mime-charset): Declare.
4666
4667 * net/dbus.el (dbus-register-service): Declare.
4668 (dbus-name-owner-changed-handler): Remove unused binding.
4669
4670 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4671 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4672 (nxml-scan-backward-within): Mark unused arg.
4673 (nxml-dynamic-markup-word): Remove unused binding.
4674
4675 * mouse.el (mouse-menu-major-mode-map):
4676 * emacs-lisp/authors.el (authors-scan-change-log)
4677 (authors-add-to-author-list):
4678 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4679 * emacs-lisp/smie.el (smie-auto-fill):
4680 * mail/sendmail.el (mail-bury):
4681 * mail/unrmail.el (unrmail):
4682 * net/tls.el (open-tls-stream):
4683 * textmodes/picture.el (picture-mouse-set-point):
4684 Remove unused bindings.
4685
8c8fc5df
MA
46862012-04-19 Michael Albinus <michael.albinus@gmx.de>
4687
4688 * net/tramp.el (tramp-action-password): Let-bind
4689 `enable-recursive-minibuffers' to t.
4690
a77b0ac9
SS
46912012-04-18 Sam Steingold <sds@gnu.org>
4692
4693 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4694 instead of 'string to accommodate values like [f11].
4695 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4696 * progmodes/gdb-mi.el: Likewise.
4697
12a106a9
LL
46982012-04-18 Leo Liu <sdl.web@gmail.com>
4699
4700 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4701 current buffer.
4702 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4703 LOCAL is nil.
4704
bc6494ef
CY
47052012-04-18 Chong Yidong <cyd@gnu.org>
4706
4707 * simple.el (line-move): Use forward-line if in batch mode
4708 (Bug#11053).
4709
c09c46b2
CS
47102012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4711
4712 * files.el (after-find-file): Do not try to add a final newline if
4713 the buffer is read-only (Bug#11156).
4714
5f6530ea
RS
47152012-04-17 Richard Stallman <rms@gnu.org>
4716
4717 * mail/rmail.el (rmail-start-mail):
4718 Pass (rmail-mail-return...) for the return-action.
4719 Pass (rmail-yank-current-message...) for the yank-action.
4720 (rmail-yank-current-message): New function.
4721 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4722 (rmail-reply): Likewise.
4723 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4724
4725 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4726 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4727 buffer, not newbuf.
4728
197b6f3c
JB
47292012-04-17 Juanma Barranquero <lekktu@gmail.com>
4730
4731 * server.el (server-ensure-safe-dir): Simplify.
4732
2311d8e5 47332012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4734
2311d8e5
GM
4735 * emacs-lisp/smie.el: Provide smarter auto-filling.
4736 (smie-auto-fill): New function.
4737 (smie-setup): Use it.
98fb480e 4738
2311d8e5
GM
4739 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4740
47412012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4742
4743 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4744 (comment-indent): Use it.
4745
2311d8e5 47462012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4747
4748 * ses.el: The overall change is to add cell renaming, that is
4749 setting fancy names for cell symbols other than name matching
4750 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4751 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4752 (ses-create-cell-variable): New defun.
2311d8e5 4753 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4754 (ses-relocate-formula): Relocate formulas only for cells the
4755 symbols of which are not renamed, i.e. symbols whose names do not
4756 match regexp "\\`[A-Z]+[0-9]+\\'".
4757 (ses-relocate-all): Relocate values only for cells the symbols of
4758 which are not renamed.
4759 (ses-load): Create cells variables as the (ses-cell ...) are read,
4760 in order to check row col consistency with cell symbol name only
4761 for cells that are not renamed.
4762 (ses-replace-name-in-formula): New defun.
4763 (ses-rename-cell): New defun.
4bdf2ad2 4764
fc72b15c
PO
47652012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4766
4767 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4768 New option (bug#11118).
4769 (perl-calculate-indent): Respect it.
4770
12e10e61
GM
47712012-04-17 Glenn Morris <rgm@gnu.org>
4772
4773 * dired-aux.el (dired-mark-read-string): Doc fix.
4774
30009afd
DA
47752012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4776
4777 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4778 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4779
41f03f4d
GM
47802012-04-17 Glenn Morris <rgm@gnu.org>
4781
4782 * mouse.el (mouse-drag-track):
4783 * speedbar.el (speedbar-frame-mode):
4784 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4785
f45f90f3
LL
47862012-04-16 Leo Liu <sdl.web@gmail.com>
4787
4788 * progmodes/python.el: Trivial cleanup.
4789
94ee8db5
GM
47902012-04-16 Glenn Morris <rgm@gnu.org>
4791
121b8917
GM
4792 * vc/vc.el (vc-string-prefix-p):
4793 * vc/pcvs-util.el (cvs-string-prefix-p):
4794 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4795 * mpc.el (mpc-string-prefix-p):
4796 Make all of these into obsolete aliases for string-prefix-p.
4797 Update callers.
4798 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4799
1197ecfa
GM
4800 * textmodes/two-column.el: Move custom options to the start.
4801 (frame-width): Remove compat definition.
4802 (2C-associate-buffer, 2C-dissociate):
4803 Use with-current-buffer rather than save-excursion.
4804 (2C-dissociate): Force a mode-line update.
4805 (2C-autoscroll): Use ignore-errors.
4806
099e7202
GM
4807 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4808 Autoload trivia.
4809
bf350d6a
GM
4810 * emacs-lisp/cl-extra.el (*random-state*):
4811 Remove unnecessary declaration.
4812
0e829eab
GM
4813 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4814
e3ad7552
GM
4815 * play/cookie1.el (cookie-snarf):
4816 Give an explicit error if input file cannot be read.
4817
68892d27
GM
4818 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4819
20f0c46d
GM
4820 * progmodes/perl-mode.el (c-macro-expand):
4821 Remove unnecessary autoload (it is in loaddefs.el).
4822
5a0978ce
GM
4823 * textmodes/picture.el (picture-desired-column)
4824 (picture-update-desired-column): Convert comments to doc-strings.
4825 (picture-substitute): Remove function.
4826 (picture-mode-map): Initialize in the defvar.
4827
6b955486
GM
4828 * woman.el: Remove eval-after-load for tar-mode.
4829 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4830 (woman-tar-extract-file): Autoload it.
4831
94ee8db5
GM
4832 * frame.el (automatic-hscrolling): Make this alias obsolete.
4833
177eca34
AM
48342012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4835
090bd7cb 4836 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4837 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4838 (ispell-dictionary-base-alist): Revert to original XEmacs
4839 friendly version for default. [:alpha:] will be added in
090bd7cb 4840 `ispell-set-spellchecker-params' if needed.
177eca34 4841
c505aaeb
CY
48422012-04-16 Chong Yidong <cyd@gnu.org>
4843
b19dd9d1 4844 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4845 (imagemagick-register-types): Use it.
4846 (imagemagick-types-inhibit): Add :set function. Allow new value
4847 of t to inhibit all types.
4848
4849 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4850 so we can preload it.
4851
4852 * loadup.el (fboundp): Preload regexp-opt, needed by
4853 imagemagick-register-types.
4854
60efac0f
CY
48552012-04-15 Chong Yidong <cyd@gnu.org>
4856
4857 * frame.el (scrolling): Remove nearly unused customization group.
4858
4859 * scroll-all.el (scroll-all-mode): Move to windows group.
4860
5dd1713e
CY
48612012-04-15 Chong Yidong <cyd@gnu.org>
4862
4863 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4864
e6fd457e
CY
48652012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4868 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4869
e153c136
GM
48702012-04-15 Glenn Morris <rgm@gnu.org>
4871
4872 * simple.el (process-file-side-effects): Doc fix.
4873
e6fd457e 48742012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4875
4876 * international/mule-cmds.el (set-language-environment): Doc fix.
4877
3603c3b1
JB
48782012-04-14 Juanma Barranquero <lekktu@gmail.com>
4879
4880 * server.el (server-auth-key, server-generate-key): Doc fixes.
4881 (server-get-auth-key): Doc fix. Use `string-match-p'.
4882 (server-start): Reflow docstring.
4883
e6de100c
LI
48842012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4885
4886 * server.el (server-generate-key): `called-interactively-p'
4887 requires a parameter.
4888
29734c21
MN
48892012-04-14 Michal Nazarewicz <mina86@mina86.com>
4890
4891 * server.el (server-auth-key): New variable.
75f1671a 4892 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4893 (server-start): Use the new variable and functions to allow
4894 setting a permanent server key (bug#9423).
4895
d65c9521
LL
48962012-04-14 Leo Liu <sdl.web@gmail.com>
4897
4898 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4899
5ae255c7
PE
49002012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4901
4902 Spelling fixes.
4903 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4904 Emacs uses American spelling.
4905
d5e6342e
JB
49062012-04-14 Juanma Barranquero <lekktu@gmail.com>
4907
4908 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4909 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4910 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4911 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4912
ab036cd7
SM
49132012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * progmodes/which-func.el (which-func-modes): Change default.
4916
35dc09a1 49172012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4918
4919 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4920 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4921
35dc09a1 49222012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4923
4924 * custom.el (custom-theme-set-variables): Doc fix.
4925
35dc09a1 49262012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4927
4928 * international/mule.el (set-auto-coding-for-load): Doc fix.
4929
35dc09a1 49302012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4931
35dc09a1
GM
4932 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4933 imenu work again for Objective C Mode. Correct the *-index values,
4934 these having been disturbed by a previous change in 2011-08.
57f845ee 4935
0de3da9f
AM
4936 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4937 Correct two search limits.
4938
35dc09a1 49392012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4940
4941 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4942
35dc09a1 49432012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4944
4945 * international/characters.el: Fix sorting.
4946
35dc09a1 49472012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4948
4949 * international/characters.el: Add more missing Latin case pairs.
4950
35dc09a1 49512012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4952
4953 * files.el (dir-locals-set-class-variables): Doc fix.
4954
35dc09a1 49552012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4956
3f1b5bf8
EZ
4957 * international/characters.el: Add set-case-syntax-pair call for
4958 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4959 counterpart. (Bug#11209)
4960
9f847f41
EZ
4961 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4962
35dc09a1 49632012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4964
4965 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4966
35dc09a1 49672012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4968
35dc09a1
GM
4969 * textmodes/ispell.el (ispell-dictionary-base-alist):
4970 Add data for Hebrew.
e2627d21 4971
35dc09a1 49722012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4973
35dc09a1
GM
4974 * net/rcirc.el (rcirc-cmd-quit):
4975 Revert 2012-03-18 change (Bug#11192).
5c14e333 4976
35dc09a1 49772012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4978
4979 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4980
35dc09a1 49812012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4982
4517fe3a
SM
4983 * minibuffer.el (completion-in-region-mode-map):
4984 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4985
b472a594
VD
49862012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4987
4988 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4989
09b95ce3
MY
49902012-04-13 Masatake YAMATO <yamato@redhat.com>
4991
4992 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4993 to allow `C-M-f' and `C-M-b' to move to the nearest path
4994 separator (bug#9511).
4995
4b63a9ca
LI
49962012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4997
4998 * avoid.el: Require cl when compiling. And also move the
4999 `provide' to the end.
5000
7b55b8bf
TV
50012012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5002
5003 * avoid.el (mouse-avoidance-banish-position): New variable.
5004 (mouse-avoidance-banish-destination): Use it (bug#10165).
5005
adedaa1f
LL
50062012-04-13 Leo Liu <sdl.web@gmail.com>
5007
5008 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5009
70e74021
KB
50102012-04-13 Ken Brown <kbrown@cornell.edu>
5011
5012 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5013 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5014 (browse-url-filename-alist): For the same reason, don't modify
5015 file:// URLs on Cygwin.
5016
e75e89ba
SM
50172012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5020 the region on shift if the binding is already shifted (bug#11221).
5021
82f289a4
GM
50222012-04-12 Glenn Morris <rgm@gnu.org>
5023
5024 * mail/mailpost.el: Move to obsolete/.
5025
d333dc4c
DA
50262012-04-12 Drew Adams <drew.adams@oracle.com>
5027
5028 * imenu.el (imenu--generic-function): Ignore invisible definitions
5029 (bug#10123).
5030
0d15b5ba
VD
50312012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5032
5033 * hexl.el (hexl-bits): New variable.
5034 (hexl-options): Mention the variable in the doc string.
75f1671a 5035 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5036 (hexl-mode): Mention the new variable.
75f1671a
JB
5037 (hexl-mode, hexl-current-address, hexl-current-address):
5038 Use the displen.
0d15b5ba
VD
5039 (hexl-ascii-start-column): New function.
5040 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5041 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5042
64a440db
AM
50432012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5044
5045 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5046 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5047 the encoding, as expected by hunspell.
5048
6decb6c2
SM
50492012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * battery.el (battery--linux-sysfs-regexp): New const.
5052 (battery-status-function): Use it. Remove yeeloong special case.
5053 (battery-yeeloong-sysfs): Remove.
5054 (battery-echo-area-format): Remove yeeloong special case.
5055
088be6fb
SM
50562012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5057
6622e416
SM
5058 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5059 Reported by Noah Friedman.
5060
088be6fb
SM
5061 * subr.el (read-passwd): Use read-string.
5062
b49f886e
LMI
50632012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5064
5065 * vcursor.el (vcursor-move): Increase the priority of the overlay
5066 (bug#9663).
5067
a63067fc
DD
50682012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5069
5070 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5071 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5072
ac3cf14a
WS
50732012-04-11 William Stevenson <yhvh2000@gmail.com>
5074
5075 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5076 define-minor-mode (bug#10760).
5077
c4fc691b 50782012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5079
4d6769e1 5080 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5081 that directories matching `grep-find-ignored-files' won't be
5082 pruned (bug#10351).
5083
af23e2e5
CY
50842012-04-11 Chong Yidong <cyd@gnu.org>
5085
5086 * startup.el (command-line): Remove support for long-obsolete
5087 variable font-lock-face-attributes.
5088
ab7ce8c1
GM
50892012-04-11 Glenn Morris <rgm@gnu.org>
5090
5091 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5092
de8c03dc
SM
50932012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5094
5095 * window.el (window--state-get-1): Obey window-point-insertion-type.
5096
050cc68b
LB
50972012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5098
5099 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5100 to previous function when point is on the first character of a
75f1671a 5101 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5102
a38c310c
GM
51032012-04-11 Glenn Morris <rgm@gnu.org>
5104
effed0c2
GM
5105 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5106 not just file-errors.
5107
a38c310c
GM
5108 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5109 (vc-bzr-sha1): Use internal sha1.
5110
0221e323
SM
51112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5112
5113 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5114
43956923
SG
51152012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5116
5117 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5118 that start in the middle of the line (bug#10496).
5119
6a8c9eaf
DN
51202012-04-10 Dan Nicolaescu <dann@gnu.org>
5121
5122 * battery.el (battery-linux-proc-acpi): Only one battery is
5123 discharged at a time, but that seems to confuse battery.el when
5124 computing `rate-type' for the battery not being discharged
5125 (bug#10332).
5126
1930bf5d
SM
51272012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5128
2a718f6f
SM
5129 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5130
599430d0
SM
5131 * international/quail.el: Use dolist and simplify.
5132 (quail-define-package, quail-update-keyboard-layout)
5133 (quail-define-rules): Use dolist.
5134 (quail-insert-kbd-layout, quail-get-translation): CSE.
5135
a2754b6c
SM
5136 * tmm.el: Use dolist, remove left over hook.
5137 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5138 Use dolist.
5139 (calendar-load-hook): Don't mess with it.
5140
1930bf5d
SM
5141 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5142 Use derived-mode-p. Run the diff asynchronously.
5143
9f67961c
LMI
51442012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5145
5146 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5147
2a8ce227
JB
51482012-04-10 Juanma Barranquero <lekktu@gmail.com>
5149
5150 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5151 (list-dynamic-libraries--loaded): New function.
5152 (list-dynamic-libraries--refresh): Use it.
5153
8f33b5f8
NW
51542012-04-10 Nathan Weizenbaum <nweiz@google.com>
5155
1930bf5d
SM
5156 * progmodes/python.el (python-fill-paragraph):
5157 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5158 disabled (bug#7018).
5159
b12f0439
L
51602012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5161
1930bf5d 5162 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5163 DOS/MS Windows for the Baltic languages. There are still plenty
5164 of texts written in this encoding/codepage (bug#6519).
b12f0439 5165
57c3bd01
GM
51662012-04-10 Glenn Morris <rgm@gnu.org>
5167
5168 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5169 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5170
6c3eab30
FA
51712012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5172
1930bf5d 5173 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5174 next-line "n" and previous-line "p" in order to make recentf more
5175 consistent with ibuffer, dired or org-mode (bug#9387).
5176
24d78a88
LMI
51772012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5178
bc72b5d9
LMI
5179 * image.el (put-image): Return the overlay created instead of the
5180 optional input string (bug#7834). Note that this may break code
5181 that is (for some reason or other) depending on `put-image'
5182 returning the string.
5183
bd2dba5a
LMI
5184 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5185
74beb59f
LMI
5186 * simple.el (zap-to-char): Allow zapping using input methods
5187 (bug#1580).
5188
24d78a88
LMI
5189 * textmodes/fill.el (fill-region): Leave point and mark where they
5190 were before filling (bug#5399).
5191
263f20cd
GM
51922012-04-09 Glenn Morris <rgm@gnu.org>
5193
5194 * version.el (emacs-bzr-get-version):
5195 Handle lightweight checkouts of local branches.
5196
58d1f797
AS
51972012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5198
263f20cd 5199 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5200
b4d3bc10
CY
52012012-04-09 Chong Yidong <cyd@gnu.org>
5202
5203 * custom.el (custom-variable-p): Return nil for non-symbol
5204 arguments instead of signaling an error.
5205 (user-variable-p): Obsolete alias for custom-variable-p.
5206
5207 * apropos.el (apropos-variable):
5208 * files-x.el (read-file-local-variable):
5209 * simple.el (set-variable):
5210 * woman.el (woman-mini-help):
5211 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5212
fd06db5d
GM
52132012-04-09 Glenn Morris <rgm@gnu.org>
5214
e5fcdb5e
GM
5215 * startup.el (normal-top-level): Don't look for leim-list.el
5216 in places where it will not be found. (Bug#910)
5217
fd06db5d
GM
5218 * international/mule-cmds.el (set-default-coding-systems):
5219 * files.el (normal-mode):
5220 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5221 This function was removed with ucs-tables.el in 2008.
5222
b39bb7e1
EZ
52232012-04-08 Eli Zaretskii <eliz@gnu.org>
5224
5225 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5226 ispell-encoding8-command to "-i", without a trailing space.
5227 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5228 separate command-line arguments, to specify the encoding, since
5229 that's how hunspell expects it.
5230
5c5b8e23
GM
52312012-04-08 Glenn Morris <rgm@gnu.org>
5232
5233 * loadup.el: Load bindings before cus-start.
5234 This reduces somewhat the number of "rogue" settings in emacs -Q.
5235
a1ed8b05
GM
52362012-04-07 Glenn Morris <rgm@gnu.org>
5237
5238 * version.el (emacs-bzr-get-version): New function.
dfae128a 5239 (emacs-bzr-version): New variable.
a1ed8b05
GM
5240 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5241 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5242
b142f158
EZ
52432012-04-07 Eli Zaretskii <eliz@gnu.org>
5244
dfae128a
GM
5245 * international/uni-bidi.el, international/uni-category.el:
5246 * international/uni-combining.el, international/uni-decimal.el:
5247 * international/uni-decomposition.el, international/uni-digit.el:
5248 * international/uni-lowercase.el, international/uni-mirrored.el:
5249 * international/uni-name.el, international/uni-numeric.el:
5250 * international/uni-titlecase.el, international/uni-uppercase.el:
5251 Update for Unicode 6.1.
b142f158 5252
9078ead6
EZ
52532012-04-07 Eli Zaretskii <eliz@gnu.org>
5254
5255 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5256
f23d2c7d
LMI
52572012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5258
5259 * window.el (shrink-window): Mention the `window-min-height'
5260 variable in the doc string.
5261
0a0a3573
BG
52622012-04-05 Bastien Guerry <bzg@altern.org>
5263
5264 * color.el (color-lighten-name): Fix typo.
5265
e5248ac9
SM
52662012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * server.el (server--on-display-p): New function.
5269 (server--on-display-p): Use it.
5270
b4243e22
GV
52712012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5272
5273 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5274 (bug#11145).
5275
305d9f44
SM
52762012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * comint.el (comint--common-quoted-suffix): Check string boundary
5279 before comparing (bug#11158).
5280 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5281
3d439cd1
CY
52822012-04-04 Chong Yidong <cyd@gnu.org>
5283
321cc491
CY
5284 * minibuffer.el (completion-extra-properties): Doc fix.
5285
3d439cd1
CY
5286 * subr.el (delayed-warnings-hook): Doc fix.
5287
2d562c0f
DU
52882012-04-04 Daiki Ueno <ueno@unixuser.org>
5289
5290 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5291 selection (Bug#11159).
5292 (epa-insert-keys): Inform that the default public key will be
5293 exported if no key is selected.
5294
4443f204
RS
52952012-04-04 Richard Stallman <rms@gnu.org>
5296
5297 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5298
529c06b6
CY
52992012-04-03 Chong Yidong <cyd@gnu.org>
5300
5301 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5302 mail-insert-file, not its obsolete alias mail-attach-file.
5303
66b907dc
MA
53042012-04-03 Michael Albinus <michael.albinus@gmx.de>
5305
5306 * notifications.el (notifications-notify): Fix docstring.
5307
c0ea195d
GM
53082012-04-02 Glenn Morris <rgm@gnu.org>
5309
5310 * emacs-lisp/authors.el (authors-aliases): Another addition.
5311
5ca64e00
MA
53122012-04-02 Michael Albinus <michael.albinus@gmx.de>
5313
5314 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5315 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5316 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5317
42ee526b
CY
53182012-04-01 Chong Yidong <cyd@gnu.org>
5319
5320 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5321 Handle root directory properly.
5322 (copy-directory): Caller changed.
5323
5324 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5325 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5326
0b021094
GM
53272012-03-31 Glenn Morris <rgm@gnu.org>
5328
40f86458
GM
5329 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5330
7019c177
GM
5331 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5332
a1daddd6
GM
5333 * calendar/calendar.el (calendar-window-list)
5334 (calendar-hide-window): Restore. (Bug#11140)
5335 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5336
0b021094
GM
5337 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5338
40311efc
TV
53392012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5340
5341 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5342 Check if file is a symlink (Bug#10489).
5343
5344 * files.el (copy-directory): Likewise.
5345
5319014e
CY
53462012-03-30 Chong Yidong <cyd@gnu.org>
5347
5348 * image.el (imagemagick-types-inhibit)
5349 (imagemagick-register-types): Doc fix.
5350
935d1290
AM
53512012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5352
090bd7cb 5353 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5354 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5355 and treats ~word as ordinary words in pipe mode.
935d1290 5356
61c6e8fd
GM
53572012-03-30 Glenn Morris <rgm@gnu.org>
5358
5359 * tutorial.el (help-with-tutorial): Ensure local variables don't
5360 happen to make the buffer read-only. (Bug#11127)
5361
81fdff00
SM
53622012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5365 (perl-calculate-indent): Return `noindent' in strings.
5366
6e7a6ec0
SS
53672012-03-28 Sam Steingold <sds@gnu.org>
5368
5369 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5370 instead of the broken adhockery which does not prevent calendar
5371 buffers from being displayed at random after exit.
5372 (calendar-window-list, calendar-hide-window): Remove the broken
5373 adhockery.
5374
fee88ca0
GM
53752012-03-28 Glenn Morris <rgm@gnu.org>
5376
5377 * replace.el (query-replace-map): Doc fix.
5378
38de3354
AS
53792012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5380
5381 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5382 contents. (Bug#11109)
5383
b973155e
SM
53842012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5387 (bug#11077).
5388 (avl-tree--check, avl-tree--check-node): New funs.
5389
dcb6e7b3
MR
53902012-03-27 Martin Rudalics <rudalics@gmx.at>
5391
5392 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5393 (switch-to-prev-buffer, switch-to-next-buffer):
5394 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5395 showing a buffer already is done on the same frame.
5396
b4fa35fa
GM
53972012-03-27 Glenn Morris <rgm@gnu.org>
5398
5399 * startup.el (mail-host-address): Doc fix.
5400
f9210e18
SM
54012012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5404 than 197 variables.
5405
c0bf7753
AF
54062012-03-26 Ami Fischman <ami@fischman.org>
5407
5408 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5409
33da7b16
GM
54102012-03-26 Glenn Morris <rgm@gnu.org>
5411
02243d9d
GM
5412 * files.el (save-buffers-kill-emacs): Doc fix.
5413
33da7b16
GM
5414 * startup.el (normal-top-level, command-line, command-line-1):
5415 Give them doc strings.
5416
e5a69fd0
EZ
54172012-03-25 Eli Zaretskii <eliz@gnu.org>
5418
5419 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5420 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5421
9a69676a
CY
54222012-03-25 Chong Yidong <cyd@gnu.org>
5423
4125cb8b
CY
5424 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5425 theme if it was previously enabled before (Bug#11031).
5426
dd470960
CY
5427 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5428 spec with custom-face-get-current-spec if its :shown-value is not
5429 determined yet (Bug#9337).
4125cb8b 5430 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5431
9a69676a
CY
5432 * button.el (button-at): Minor addition to docstring.
5433
6e7e90fa
SL
54342012-03-24 Simon Leinen <simon.leinen@gmail.com>
5435
5436 * vc/vc.el (vc-merge): Fix a prompt.
5437
f06e2758
CY
54382012-03-24 Chong Yidong <cyd@gnu.org>
5439
5440 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5441 point (Bug#9623).
5442
6e7e90fa
SL
5443 * button.el (button-at): Minor addition to docstring.
5444
b9d0879b
SM
54452012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * newcomment.el (comment-choose-indent): No space after BOL.
5448
e71cebb3
SS
54492012-03-22 Sam Steingold <sds@gnu.org>
5450
5451 * window.el (switch-to-prev-buffer): Revert last patch because the
5452 bug turned out to be an advertised feature (Elisp manual 28.14).
5453
335aff35
GM
54542012-03-22 Glenn Morris <rgm@gnu.org>
5455
5456 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5457 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5458
c676576a
LMI
54592012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5460
5461 * net/network-stream.el (network-stream-open-starttls): Make error
5462 message under Windows be less misleading.
5463
126f3d39
LW
54642012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5465
5466 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5467 understands (bug#9942).
5468
64fee311
CY
54692012-03-22 Chong Yidong <cyd@gnu.org>
5470
5471 * simple.el (end-of-visible-line): Handle return value of
5472 next-single-property-change properly (Bug#9371).
5473
a640d29a
KH
54742012-03-22 Kenichi Handa <handa@m17n.org>
5475
5476 * international/quail.el (quail-insert-kbd-layout): Fix previous
5477 change. To avoid unwanted bidi reordering, use
5478 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5479
39675016
DG
54802012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5481
5482 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5483 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5484 (ruby-beginning-of-indent): Be more careful with the difference
5485 between word-boundary and symbol boundary.
5486 (ruby-mode-syntax-table): Make : a symbol constituent.
5487
0a6934fc 54882012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5489
3d008e4f
SM
5490 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5491
0a6934fc
SM
54922012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5493
af67c9d7
SM
5494 * progmodes/etags.el (tags-completion-at-point-function):
5495 Improve last fix.
5496
1acad97c
SM
5497 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5498
e298b5da
SS
54992012-03-21 Sam Steingold <sds@gnu.org>
5500
5501 * progmodes/etags.el (tags-completion-at-point-function):
5502 Avoid the error when point is inside the pattern.
5503
91d82a70
JY
55042012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5505
5506 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5507 line (Bug#10855).
5508
69188b79
CY
55092012-03-21 Drew Adams <drew.adams@oracle.com>
5510
5511 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5512
99fc91fe
AK
55132012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5514
5515 * ido.el (ido-set-current-directory, ido-read-internal)
5516 (ido-choose-completion-string, ido-completion-help): Handle nil
5517 value of ido-completion-buffer (Bug#11008).
5518
087bbb4c
SS
55192012-03-21 Sam Steingold <sds@gnu.org>
5520
5521 * window.el (switch-to-prev-buffer): Do not switch to a visible
5522 window previous buffer, just like with the frame previous buffers.
5523
fb5b8aca
CY
55242012-03-21 Chong Yidong <cyd@gnu.org>
5525
5526 * faces.el (make-face, make-empty-face, copy-face):
5527 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5528 Doc fixes.
5529
dc9924b8
SM
55302012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5533 (widget-complete): Remove broken use of it.
5534
f0bcceb9
CY
55352012-03-20 Chong Yidong <cyd@gnu.org>
5536
dc9924b8
SM
5537 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5538 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5539 characters.
5540
ee52ebf3
TH
55412012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5542
5543 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5544 to draw rectangles, not squares. (Regression introduced by revno
5545 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5546
4c5779ab
CY
55472012-03-18 Chong Yidong <cyd@gnu.org>
5548
5549 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5550 it is not yet defined (for temacs).
5551
15360934
LL
55522012-03-18 Leo Liu <sdl.web@gmail.com>
5553
dc9924b8 5554 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5555
d9a8eb66
EZ
55562012-03-17 Eli Zaretskii <eliz@gnu.org>
5557
5558 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5559 (ispell-choices-win-default-height, ispell-silently-savep)
5560 (ispell-dictionary-alist, ispell-encoding8-command)
5561 (ispell-check-version, ispell-aspell-find-dictionary)
5562 (ispell-valid-dictionary-list, ispell-words-keyword)
5563 (ispell-get-word, ispell-internal-change-dictionary)
5564 (ispell-region, ispell-skip-region-list)
5565 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5566 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5567 (ispell-message-text-end, ispell-message)
5568 (ispell-buffer-local-parsing): Doc fix.
5569
f02ff80d
J
55702012-03-13 Jambunathan K <kjambunathan@gmail.com>
5571
5572 * htmlfontify.el: Add support for code block fontification for ODT
5573 export (Bug #9914).
5574 (hfy-optimisations): Define new option
5575 `body-text-only'
5576 (hfy-fontify-buffer): Honor above setting.
5577 (hfy-begin-span, hfy-end-span): New routines factored out form
5578 `hfy-fontify-buffer'.
5579 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5580 that permit insertion of custom tags.
5581 (hfy-fontify-buffer): Use above handlers.
5582 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5583 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5584 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5585 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5586 bind a special variable `hfy-user-sheet-assoc'.
5587 (htmlfontify-string): New defun.
5588 (hfy-compile-face-map): Make sure that the last char in the
5589 buffer is correctly fontified.
5590 (hfy-face-resolve-face): Whitespace only change.
5591
9ac7a13f
EZ
55922012-03-17 Eli Zaretskii <eliz@gnu.org>
5593
5594 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5595 message more clear.
5596
e2b5bdd7
LL
55972012-03-16 Leo Liu <sdl.web@gmail.com>
5598
5599 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5600
2e492df3
AM
56012012-03-16 Alan Mackenzie <acm@muc.de>
5602
5603 Further optimise the handling of large macros.
5604
5605 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5606 limit to a call of `c-literal-limits'.
5607 (c-determine-+ve-limit): New function.
dc9924b8
SM
5608 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5609 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5610 In CASE 5B, restrict a search limit to 500.
5611 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5612
5613 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5614 Restrict macro bounds to +-500 from after-change's BEG END.
5615
50e94f0c
LL
56162012-03-16 Leo Liu <sdl.web@gmail.com>
5617
5618 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5619
6f09f6ed
AH
56202012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5621
5622 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5623 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5624
c7e73d51
GM
56252012-03-16 Glenn Morris <rgm@gnu.org>
5626
da986230
GM
5627 * view.el (view-buffer, view-buffer-other-window)
5628 (view-buffer-other-frame): Doc fixes re special mode-class.
5629
0835f01e
GM
5630 * subr.el (eval-after-load): If named feature is provided not from
5631 a file, run after-load forms. (Bug#10946)
5632
c7e73d51
GM
5633 * calendar/calendar.el (calendar-insert-at-column):
5634 Handle non-unit-width characters a bit better. (Bug#10978)
5635
3f2eafd1
CY
56362012-03-15 Chong Yidong <cyd@gnu.org>
5637
5638 * emacs-lisp/ring.el (ring-extend): New function.
5639 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5640
5641 * comint.el (comint-read-input-ring)
5642 (comint-add-to-input-history): Grow comint-input-ring lazily.
5643
103af3fe
SM
56442012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5645
663b1677
SM
5646 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5647 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5648
103af3fe
SM
5649 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5650 (imenu-add-to-menubar): Don't add a redundant index.
5651 (imenu-update-menubar): Handle a dynamically composed keymap.
5652
899cb7cb
KY
56532012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5654
5655 * mail/sendmail.el (mail-encode-header):
5656 Bind rfc2047-encode-encoded-words to nil.
5657
3809f91d
GM
56582012-03-13 Glenn Morris <rgm@gnu.org>
5659
5660 * calendar/calendar.el (calendar-string-spread):
5661 Handle non-unit-width characters a bit better. (Bug#10978)
5662
9e345a01
LL
56632012-03-13 Leo Liu <sdl.web@gmail.com>
5664
5665 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5666 directory and file as argument (Bug#10822).
5667
4a07df36
KS
56682012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5669
5670 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5671 For dynamically generated code, follow $PC.
5672 (gdb-disassembly-handler-custom): Handle no function name case.
5673
4aaa9356
TL
56742012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5675
5676 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5677 * emulation/ws-mode.el (ws-query-replace):
5678 * sort.el (sort-regexp-fields):
5679 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5680
225979da
SM
56812012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * dabbrev.el: Fix cycle completion order (bug#10963).
5684 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5685 (dabbrev-completion): Don't use an obarray; provide
5686 a cycle-sort-function.
5687
e2f1fdab
LL
56882012-03-12 Leo Liu <sdl.web@gmail.com>
5689
dc9924b8 5690 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5691 (kill-do-not-save-duplicates): Doc fix.
5692
b19490ed
SM
56932012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5694
5695 * dabbrev.el: Fix cycle completion (bug#10963).
5696 Use lexical binding and wrap to 80 columns.
5697 (dabbrev-completion): Delay computing the list of completions.
5698
4b05d722
KH
56992012-03-12 Kenichi Handa <handa@m17n.org>
5700
5701 * international/quail.el (quail-insert-kbd-layout): Surround each
5702 row by LRO and PDF instead of inserting many LRMs. Pad the left
5703 and right of each non-spacing marks. Insert invisible space
5704 between lower and upper characters to prevent composition.
5705
dbbc2e69
SM
57062012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5707
5708 * minibuffer.el (minibuffer-complete): Don't get confused when the
5709 function is run twice via different commands (bug#10958).
5710 (complete-with-action): Fix docstring.
5711
292112ed
CY
57122012-03-12 Chong Yidong <cyd@gnu.org>
5713
5d1ac394
CY
5714 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5715 (nxml-completion-at-point-function): New function.
5716 (nxml-mode): Use it.
5717 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5718
292112ed
CY
5719 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5720 Load generated autoloads file before byte compiling (Bug#10970).
5721 (package--make-autoloads-and-compile): New helper fun.
5722
4098f8f7
CS
57232012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5724
5725 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5726
8f754691
MA
57272012-03-11 Michael Albinus <michael.albinus@gmx.de>
5728
5729 * autorevert.el (auto-revert-handler): Ensure, that
5730 file-readable-p is applied only for local files or in
5731 auto-revert-tail-mode.
5732
e29ab36b
AS
57332012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5734
dbbc2e69
SM
5735 * server.el (server-eval-at): Handle non-tcp connections.
5736 Decode result string.
ad0bf5b6 5737
e29ab36b
AS
5738 * server.el (server-msg-size): New constant.
5739 (server-reply-print): New function.
5740 (server-eval-and-print): Use it.
5741 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5742 Handle -print-nonl.
5743
de5939ba
CS
57442012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5745
5746 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5747 (Bug#10987).
5748
0c93eabf
CY
57492012-03-11 Chong Yidong <cyd@gnu.org>
5750
397a688f
CY
5751 * simple.el (goto-line): Doc fix (Bug#9938).
5752
2cc775f9
CY
5753 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5754
0c93eabf
CY
5755 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5756 when finished (Bug#10963).
5757
c491fa41
MR
57582012-03-11 Martin Rudalics <rudalics@gmx.at>
5759
5760 * window.el (split-window-below): Fix bug in case where
5761 split-window-keep-point is nil (Bug#10971).
5762
300e8fa5
JL
57632012-03-11 Juri Linkov <juri@jurta.org>
5764
5765 * replace.el (replace-highlight): Set isearch-word to nil
5766 unconditionally. (Bug#10887)
5767
dbf6c5a1
EZ
57682012-03-10 Eli Zaretskii <eliz@gnu.org>
5769
5770 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5771 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5772 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5773 (mairix-widget-create-query): Add usage information about mairix
5774 search forms: negating words, searching for substrings, etc.
5775
b9e501de
JP
57762012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5777
5778 * international/fontset.el (font-encoding-alist): Add an entry for
5779 ksx1001 (Bug#5667).
5780
92795c91
RS
57812012-03-10 Richard Stallman <rms@gnu.org>
5782
1694e6c1
RS
5783 * mail/sendmail.el (mail-encode-header):
5784 Set rfc2047-encode-encoded-words.
5785
607e8555
RS
5786 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5787
de3bc99a
RS
5788 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5789 view buffer means not swapped.
5790 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5791 (rmail-write-region-annotate): Error if real text has disappeared.
5792
92795c91
RS
5793 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5794
699bd04e
CY
57952012-03-10 Chong Yidong <cyd@gnu.org>
5796
5797 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5798 * emulation/cua-base.el (cua--init-keymaps):
5799 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5800
570a1714
MR
58012012-03-10 Martin Rudalics <rudalics@gmx.at>
5802
dbbc2e69
SM
5803 * speedbar.el (speedbar-unhighlight-one-tag-line):
5804 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5805
82dcf4e4
CY
58062012-03-10 Chong Yidong <cyd@gnu.org>
5807
7a2c7ca7
CY
5808 * minibuffer.el (completion-in-region, completion-help-at-point):
5809 Give the completion field overlay a high priority (Bug#6830).
5810
82dcf4e4
CY
5811 * dired.el (dired-goto-file): Recognize absolute file name
5812 listings (Bug#7126).
5813 (dired-goto-file-1): New helper function.
5814 (dired-toggle-read-only): Inhibit warnings.
5815
052e28ac
MA
58162012-03-09 Michael Albinus <michael.albinus@gmx.de>
5817
75f1671a 5818 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5819 there are no properties.
5820
95d5e396
LL
58212012-03-09 Leo Liu <sdl.web@gmail.com>
5822
5823 * savehist.el (savehist-printable): Stricter check for string
5824 value (Bug#10937).
5825
3f018d6d
EZ
58262012-03-09 Eli Zaretskii <eliz@gnu.org>
5827
dbbc2e69
SM
5828 * mail/smtpmail.el (smtpmail-send-it):
5829 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5830 valid mbox format.
5831
f7fd3d79
GM
58322012-03-09 Glenn Morris <rgm@gnu.org>
5833
5834 * files.el (dir-locals-find-file):
5835 Don't check result is regular, readable.
5836 (dir-locals-read-from-file): Demote errors.
5837
6ff6e72f
EZ
58382012-03-08 Eli Zaretskii <eliz@gnu.org>
5839
dbbc2e69
SM
5840 * international/quail.el (quail-insert-kbd-layout):
5841 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5842 layout cell, to prevent their reordering by bidi display engine.
5843 For details, see the discussion in
5844 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5845
9cec7834
AM
58462012-03-08 Alan Mackenzie <acm@muc.de>
5847
5848 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5849 the starting position; make it extend the marked region when
5850 invoked repeatedly - all under appropriate circumstances.
5851 Fixes bugs #5525, #10906.
5852
9a40b8d4
GM
58532012-03-08 Glenn Morris <rgm@gnu.org>
5854
5855 * files.el (locate-dominating-file, dir-locals-find-file):
5856 Undo 2012-03-06 change.
5857
7a08ed35
EZ
58582012-03-07 Eli Zaretskii <eliz@gnu.org>
5859
dbbc2e69
SM
5860 * international/quail.el (quail-help):
5861 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5862 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5863 for the reason.
5864
5aca4f71 58652012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5866
5867 Avoid superfluous registering of signals. (Bug#10807)
5868
5869 * notifications.el (notifications-on-action-object)
5870 (notifications-on-close-object): New defvars.
5871 (notifications-on-action-signal, notifications-on-closed-signal):
5872 Unregister the signal if not needed any longer.
5873 (notifications-notify): Register `notifications-action-signal' or
5874 `notifications-closed-signal', if :on-action or :on-close has been
5875 passed as argument.
5876
78e8b10a
CY
58772012-03-07 Chong Yidong <cyd@gnu.org>
5878
5879 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5880 non-X platforms.
5881
69481eb8
GM
58822012-03-06 Glenn Morris <rgm@gnu.org>
5883
5884 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5885 (x-disown-selection-internal, x-get-selection-internal):
5886 Doc fix (add arglist signatures). (Bug#10783)
5887
133b8e11
KS
58882012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5889
5890 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5891 Handle breakpoints with no "type".
5892
99a83064
GM
58932012-03-06 Glenn Morris <rgm@gnu.org>
5894
5895 * files.el (locate-dominating-file): Add optional predicate argument.
5896 (dir-locals-find-file): Make use of above change.
5897
17798e78
TTN
58982012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5899
5900 * info.el (Info-insert-dir): Also try "dir.gz".
5901
eb182446
GM
59022012-03-06 Glenn Morris <rgm@gnu.org>
5903
8f2114ee
GM
5904 * files.el (dir-locals-find-file):
5905 Ignore non-readable or non-regular files. (Bug#10928)
5906
eb182446
GM
5907 * files.el (locate-dominating-file): Doc fix.
5908
24679323
AS
59092012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5910
5911 * calendar/calendar.el (calendar-set-mode-line):
5912 `getenv' returns a string. (Bug#10951)
5913
01d972a9
LL
59142012-03-05 Leo Liu <sdl.web@gmail.com>
5915
109aa8a9
LL
5916 * simple.el (backward-delete-char-untabify): Constrain point to
5917 field (Bug#10939).
5918
01d972a9
LL
5919 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5920
10607bea
CY
59212012-03-05 Chong Yidong <cyd@gnu.org>
5922
5923 * simple.el (count-words): If called from Lisp, return the word
5924 count, for symmetry with `count-lines'. Arglist changed.
5925 (count-words--message): Args changed. Consolidate counting code
5926 from count-words and count-words-region.
5927 (count-words-region): Caller changed.
5928 (count-lines-region): Make it an obsolete alias.
5929
5dd11cfe
TH
59302012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5931
5932 * saveplace.el (save-place-to-alist)
5933 (save-place-ignore-files-regexp): Allow value nil to disable this
5934 feature.
5935
c349f4e6
CY
59362012-03-04 Chong Yidong <cyd@gnu.org>
5937
5938 * faces.el (face-spec-reset-face): For the default face, reset the
5939 attributes to default values (Bug#10748).
5940
e627be4c
LMI
59412012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5942
5943 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5944 previous patch: Check `message-send-mail-function', and not the
5945 default function (bug#10897).
5946
ebeabff4
MA
59472012-03-04 Michael Albinus <michael.albinus@gmx.de>
5948
a41a6cf4
MA
5949 * notifications.el (notifications-on-action-signal)
5950 (notifications-on-closed-signal): Check for unique service name of
5951 incoming event. Fix error in removing entry.
ebeabff4 5952 (top): Register for signals with wildcard service name.
a41a6cf4 5953 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5954
c1ca42b4
CY
59552012-03-04 Chong Yidong <cyd@gnu.org>
5956
dc9924b8 5957 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5958
ea16568d
GM
59592012-03-04 Glenn Morris <rgm@gnu.org>
5960
5961 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5962 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5963 (expand-abbrev, define-abbrev-table): Doc fixes.
5964
fbae4637
LMI
59652012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5966
5967 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5968 `message-default-send-mail-function' and not `send-mail-function'
5969 when doing the prompting for `sendmail-query-once' before sending
5970 in Message buffers (bug#10897).
5971
a1e7225c
LMI
5972 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5973 This is inconsistent with all the other stream functions, which leave
5974 the setting up to the higher levels (if so wanted) (bug#10931).
5975
56d093a9
AM
59762012-03-02 Alan Mackenzie <acm@muc.de>
5977
5978 Depessimize the handling of very large macros.
5979
5980 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5981 (c-macro-cache-syntactic): New variables to implement a one
5982 element macro cache.
5983 (c-invalidate-macro-cache): New function.
5984 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5985 Adapt to use the new cache.
5986 (c-state-safe-place): Use better the cache of safe positions.
5987 (c-state-semi-nonlit-pos-cache)
5988 (c-state-semi-nonlit-pos-cache-limit):
5989 New variables for...
5990 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5991 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5992 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5993 Use c-state-semi-safe-place.
56d093a9 5994
dbbc2e69
SM
5995 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5996 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5997
817e5c3d
MA
59982012-03-02 Michael Albinus <michael.albinus@gmx.de>
5999
dbbc2e69
SM
6000 * jka-compr.el (jka-compr-call-process):
6001 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6002 not remote.
6003
a032a702
MA
60042012-03-01 Michael Albinus <michael.albinus@gmx.de>
6005
6006 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6007 access of FILE2, if FILE1 does not exist.
6008
99a54f21
MA
6009 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6010 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6011
6012 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6013 Add "PAGER=" to `process-environment'.
6014
f6561e1f
MM
60152012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6016
6017 * progmodes/sql.el: Bug fix
6018 (sql-get-login-ext): Save login values in globals.
6019 (sql-get-login): Use new version of `sql-get-login-ext'.
6020 (sql-interactive-mode): Set global `sql-connection' to nil.
6021 (sql-connect): Set global values for connection.
6022 (sql-product-interactive): Save global values as buffer local.
6023
2d44d9cc
LL
60242012-02-29 Leo Liu <sdl.web@gmail.com>
6025
6026 * abbrev.el (define-abbrevs): Reset sys to nil.
6027
96b49301 60282012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6029
bf7f9bc5
JB
6030 * files.el (file-equal-p): Rename from `files-equal-p'.
6031 Return nil when one or both files don't exist.
96b49301 6032 (file-subdir-of-p): Now only top directory must exists,
6033 return nil if it doesn't.
bf7f9bc5
JB
6034 (copy-directory): No need to test with `file-subdir-of-p' after
6035 creating dir.
6036 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6037 to `file-equal-p'.
96b49301 6038
44e97401
GM
60392012-02-28 Glenn Morris <rgm@gnu.org>
6040
6041 * shell.el (shell-mode):
6042 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6043 * play/landmark.el (landmark-font-lock-face-O):
6044 * play/handwrite.el (handwrite):
6045 * play/gomoku.el (gomoku-O):
6046 * net/browse-url.el (browse-url-browser-display):
6047 * international/mule.el (define-charset):
6048 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6049 * filesets.el (filesets-find-file-delay):
6050 * eshell/em-xtra.el (eshell-xtra):
6051 * eshell/em-unix.el (eshell-grep):
6052 * emulation/viper.el (viper-mode):
6053 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6054 * emacs-lisp/easymenu.el (easy-menu-define):
6055 * calendar/timeclock.el (timeclock-use-display-time):
6056 * bs.el (bs-mode):
6057 * bookmark.el (bookmark-save-flag):
6058 Doc fix (standardize possessive apostrophe usage).
6059
c98c6276
CY
60602012-02-27 Chong Yidong <cyd@gnu.org>
6061
bf7f9bc5
JB
6062 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6063 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6064
c98c6276
CY
6065 * font-lock.el (font-lock-specified-p): Rename from
6066 font-lock-spec-present. Callers changed.
6067
9c62cd04 60682012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6069
bf7f9bc5
JB
6070 * emacs-lisp/package.el (package-compute-transaction):
6071 Handle holding a package version to t in package-load-list.
8ac9e529 6072
530739c9
MA
60732012-02-26 Michael Albinus <michael.albinus@gmx.de>
6074
6075 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6076 (tramp-get-inode, tramp-get-device): Use cached values.
6077
487915d7
AM
60782012-02-26 Alan Mackenzie <acm@muc.de>
6079
6080 Check there is a font-lock specification before doing initial
6081 fontification.
6082
6083 * font-core.el (font-lock-mode): Move the conditional from
6084 :after-hook to font-lock-initial-fontify.
6085 (font-lock-default-function): Move the check for a specification
6086 to font-lock-spec-present.
6087
dc9924b8 6088 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6089 (font-lock-spec-present): New function.
6090
4fd96557
JB
60912012-02-26 Jim Blandy <jimb@red-bean.com>
6092
6093 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6094 (gdb-send): Apply it to the operand of the '-interpreter-exec
6095 console' command, so that we can pass arguments with (say) quotes
6096 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6097
9a4888c0
CY
60982012-02-26 Chong Yidong <cyd@gnu.org>
6099
07498861
CY
6100 * help-fns.el (describe-function-1): Clarify description of
6101 remapping (Bug#10844).
6102
9a4888c0
CY
6103 * files.el (files-equal-p): Doc fix.
6104 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6105 and quit the loop once a mismatch is found.
6106
ea8fb88d
JB
61072012-02-25 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * bs.el (bs--show-with-configuration): Don't throw an error
6110 if the window cannot be split; otherwise, subsequent calls to
6111 bs-show fail, restoring a stale window config. (Bug#10882)
6112
525795c1
JD
61132012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6114
6115 * term/ns-win.el (global-map): Bind ns-drag-file to
6116 ns-find-file (Bug#5855, Bug#10050).
6117
f008086f
AS
61182012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6119
6120 * calendar/parse-time.el (parse-time-string): Allow extractor to
6121 return nil.
6122
a3fcfa99
MA
61232012-02-25 Michael Albinus <michael.albinus@gmx.de>
6124
91027d08
JB
6125 * net/tramp.el (tramp-file-name-for-operation):
6126 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6127
6128 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6129 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6130 Add COPY-CONTENTS argument.
a3fcfa99 6131
67b0de11
CY
61322012-02-25 Chong Yidong <cyd@gnu.org>
6133
6134 Add custom groups for VC backends, for consistency with vc-bzr.
6135
6136 * vc/vc-arch.el (vc-arch):
6137 * vc/vc-cvs.el (vc-cvs):
6138 * vc/vc-git.el (vc-git):
6139 * vc/vc-hg.el (vc-hg):
6140 * vc/vc-mtn.el (vc-mtn):
6141 * vc/vc-rcs.el (vc-rcs):
6142 * vc/vc-sccs.el (vc-sccs):
6143 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6144 All relevant defcustoms reassigned.
6145
3c9dfce6
CY
61462012-02-25 Chong Yidong <cyd@gnu.org>
6147
1339bf43
CY
6148 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6149
3c9dfce6
CY
6150 * term/x-win.el (x-initialize-window-system): Reduce default for
6151 x-selection-timeout to 5 seconds (Bug#8869).
6152
25b2e303 61532012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6154
ec70a47d
GM
6155 * files.el (files-equal-p, file-subdir-of-p): New functions.
6156 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6157 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6158 * dired-aux.el (dired-copy-file-recursive): Same.
6159 (dired-create-files): Modify destination when source is equal to
6160 dest when copying files.
53a46cd0 6161 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6162
914260cd
MA
61632012-02-24 Michael Albinus <michael.albinus@gmx.de>
6164
6165 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6166 (Bug#10874)
6167
2cb228f7
AM
61682012-02-23 Alan Mackenzie <acm@muc.de>
6169
6170 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6171 parameter "after-hook:" to allow the expansion to run code after
6172 the execution of the mode hooks.
6173
6174 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6175 from font-lock-mode-internal.
2cb228f7 6176
91027d08 6177 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6178 :after-hook.
6179
8f0fde21
SM
61802012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6181
3e88618b
SM
6182 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6183 (completion--cache-all-sorted-completions): New function.
6184 (completion-all-sorted-completions): Use it.
6185 (completion--do-completion, minibuffer-force-complete):
6186 Use it to re-instate the flush hook.
6187
8f0fde21
SM
6188 * icomplete.el (icomplete-completions): Replace last fix with a better
6189 one (bug#10850).
6190
8e911f6f
DG
61912012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6192
6193 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6194 when it might call us back infinitely (bug#10797).
6195
49fe4321
GM
61962012-02-23 Glenn Morris <rgm@gnu.org>
6197
6198 * minibuffer.el (completion-category-overrides): Doc fix.
6199
b291b572
SM
62002012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6203 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6204
31a9ef2e
GM
62052012-02-23 Glenn Morris <rgm@gnu.org>
6206
5e6e6794 6207 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6208 (authors-obsolete-files-regexps, authors-ignored-files)
6209 (authors-ambiguous-files, authors-renamed-files-alist):
6210 Add more entries.
6211
0bd1e074
JL
62122012-02-23 Juri Linkov <juri@jurta.org>
6213
6214 * isearch.el (isearch-occur): Sync interactive spec with occur's
6215 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6216
b617673c
JL
6217 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6218
19e9789e
JL
62192012-02-22 Juri Linkov <juri@jurta.org>
6220
6221 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6222 (ucs-insert): Doc fix. Check for hex digits in the string.
6223 Don't display `nil' in the error message. (Bug#10857)
6224
f41ce09d
AM
62252012-02-22 Alan Mackenzie <acm@muc.de>
6226
7a71b18d 6227 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6228
ac2eceee
GM
62292012-02-22 Glenn Morris <rgm@gnu.org>
6230
6231 * ffap.el (ffap-c-path):
6232 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6233
abd1f678
CY
62342012-02-22 Chong Yidong <cyd@gnu.org>
6235
6236 * custom.el (load-theme): Doc fix.
6237
f25aef2e
GM
62382012-02-22 Glenn Morris <rgm@gnu.org>
6239
6240 * dired-x.el (dired-guess-shell-alist-default):
6241 Remove escape sequences from nroff output. (Bug#172)
6242
5f8dc2ca
GM
62432012-02-21 Glenn Morris <rgm@gnu.org>
6244
6ff86ec4
GM
6245 * vc/emerge.el (emerge-defvar-local):
6246 Set `permanent-local' property rather than unused `preserved'.
6247
be3223a3 6248 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6249 (picture-mode-map): Use it. (Bug#10860)
6250 (picture-mode): Doc fix.
6251
3fe58f4f
JB
62522012-02-21 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * newcomment.el (uncomment-region-default): Remove unused binding.
6255
f9a998c3
GM
62562012-02-21 Glenn Morris <rgm@gnu.org>
6257
6258 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6259 (picture-self-insert, picture-tab-chars): Doc fix.
6260 (picture-mode-map): Fix C-a, C-e.
6261
c6029348
GM
62622012-02-20 Glenn Morris <rgm@gnu.org>
6263
6264 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6265
ab1ce9d7
LL
62662012-02-20 Leo Liu <sdl.web@gmail.com>
6267
6268 * icomplete.el (icomplete-completions): Check FROM arg before
6269 passing to substring (Bug#10850).
6270
0fd40f89
CY
62712012-02-19 Chong Yidong <cyd@gnu.org>
6272
6273 * comint.el: Require ansi-color.
6274 (comint-output-filter-functions): Add ansi-color-process-output.
6275
6276 * ansi-color.el: Don't set comint-output-filter-functions; it is
6277 now in the initial value defined in comint.el.
6278 (ansi-color-apply-face-function): New variable.
6279 (ansi-color-apply-on-region): Use it.
6280 (ansi-color-apply-overlay-face): New function.
6281
6282 * shell.el (shell): No need to require ansi-color.
6283 (shell-mode): Use ansi-color-apply-face-function to highlight
6284 color escapes using font-lock-face property (Bug#10835).
6285
20af2394
CY
62862012-02-19 Chong Yidong <cyd@gnu.org>
6287
6288 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6289 mode-line formats (Bug#10839).
6290
e23a3fbe
GM
62912012-02-18 Glenn Morris <rgm@gnu.org>
6292
b474519e
GM
6293 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6294
6295 * mail/undigest.el (unforward-rmail-message): Doc fix.
6296
e23a3fbe
GM
6297 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6298
57939ff4
EZ
62992012-02-18 Eli Zaretskii <eliz@gnu.org>
6300
6301 * international/characters.el (script-list): Sync with the latest
6302 Unicode Character Database.
6303
0c23686e
AS
63042012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6305
6306 * international/titdic-cnv.el: Remove duplicate coding tag.
6307 * language/cham.el: Likewise.
6308 * language/tai-viet.el: Likewise.
6309
6818b449
GM
63102012-02-18 Glenn Morris <rgm@gnu.org>
6311
6312 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6313 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6314 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6315 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6316 * calendar/holidays.el (holiday-bahai-holidays)
6317 (calendar-holidays, list-holidays):
6318 Use utf-8 Bahá'í in doc-strings, menus, etc.
6319
0311a3fc
TH
63202012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6321
6322 * saveplace.el (save-place-ignore-files-regexp): New variable
6323 allowing for excluding files from saving their location of point.
6324 The default value matches the temporary commit message editing
6325 files from Git, SVN, Bazaar, and Mercurial.
6326 (save-place-to-alist): Use it.
6327
d209e2fb 63282012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6329 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6330
6331 * newcomment.el (uncomment-region-default): Don't leave extra space
6332 when an arg is provided (bug#8150).
6333
ee0ce425
TZ
63342012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6335
eb864a71 6336 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6337
95ddf442
GM
63382012-02-17 Glenn Morris <rgm@gnu.org>
6339
6340 * net/socks.el: Require network-stream. (Bug#10599)
6341
48dd1e39 63422012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6343
6344 * international/charprop.el:
6345 * international/uni-name.el:
6346 * international/uni-old-name.el:
6347 * international/uni-comment.el: Regenerate.
6348
d68cd087
GM
63492012-02-16 Glenn Morris <rgm@gnu.org>
6350
6351 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6352 Interactively in calendar buffer, give an error if not on a date.
6353
13932042
GM
63542012-02-15 Glenn Morris <rgm@gnu.org>
6355
6356 * shell.el (shell-delimiter-argument-list):
6357 Revert 2011-02-17 change. (Bug#8027)
6358
c3a70e2b
CY
63592012-02-15 Chong Yidong <cyd@gnu.org>
6360
60236b0d
CY
6361 * minibuffer.el (completion-at-point-functions): Doc fix.
6362
c3a70e2b
CY
6363 * custom.el (defcustom): Doc fix; note use of defvar.
6364
9f26dc24
GM
63652012-02-15 Glenn Morris <rgm@gnu.org>
6366
6367 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6368 Doc fixes.
6369
6546b134
GM
63702012-02-14 Glenn Morris <rgm@gnu.org>
6371
6372 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6373
d29b2b4c
LI
63742012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6375
6376 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6377 way the ports list is computed.
835bdcba
LI
6378 (smtpmail-query-smtp-server): Prompt the user for a port number if
6379 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6380
08dcdbc9
TZ
63812012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6382
6383 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6384
2605051a
GM
63852012-02-13 Glenn Morris <rgm@gnu.org>
6386
6387 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6388
7ee99f32
TZ
63892012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6390
6391 * net/gnutls.el (gnutls-trustfiles): New variable.
6392 (gnutls-negotiate): Use it.
6393
5f0af64f
LI
63942012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6395
6396 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6397 does its stuff if Gnus is running.
6398
c14fcc95
AM
63992012-02-13 Alan Mackenzie <acm@muc.de>
6400
6401 Fix a loop in c-set-fl-decl-start.
6402
7a71b18d 6403 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6404 c-backward-syntactic-ws actually moves backwards.
6405
142b4d90
LL
64062012-02-13 Leo Liu <sdl.web@gmail.com>
6407
6408 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6409 beginning so that all \C-o chars are removed.
6410
fa9958a6
TZ
64112012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6412
dc9924b8 6413 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6414
0bc5886a
AM
64152012-02-12 Alan Mackenzie <acm@muc.de>
6416
6417 Fix infinite loop with long macros.
4d6769e1 6418 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6419
d4bd55e7
CY
64202012-02-12 Chong Yidong <cyd@gnu.org>
6421
6422 * window.el (display-buffer): Doc fix (Bug#10785).
6423
66f3fe22
GM
64242012-02-12 Glenn Morris <rgm@gnu.org>
6425
bd7da63e
GM
6426 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6427 (x-disown-selection-internal, x-get-selection-internal):
6428 Sync docs with the xselect.c versions.
6429
66f3fe22
GM
6430 * allout-widgets.el: Add missing license notice.
6431
3e0d2fa7
GM
64322012-02-11 Glenn Morris <rgm@gnu.org>
6433
cfecdf09
GM
6434 * select.el (x-get-selection-internal, x-own-selection-internal)
6435 (x-disown-selection-internal):
6436 * x-dnd.el (x-get-selection-internal): Update declarations.
6437
6d216d7f
GM
6438 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6439
2bed3f04
GM
6440 * window.el (window-sides-slots):
6441 * tool-bar.el (tool-bar-position):
6442 * term/xterm.el (xterm-extra-capabilities):
6443 * ses.el (ses-self-reference-early-detection):
6444 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6445 (verilog-auto-wire-type)
6446 (verilog-auto-delete-trailing-whitespace)
6447 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6448 (verilog-auto-tieoff-declaration):
6449 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6450 (sql-oracle-statement-starters, sql-oracle-scan-on):
6451 * progmodes/prolog.el (prolog-align-comments-flag)
6452 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6453 (prolog-left-indent-regexp, prolog-paren-indent-p)
6454 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6455 (prolog-types, prolog-mode-specificators)
6456 (prolog-determinism-specificators, prolog-directives)
6457 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6458 (prolog-electric-dot-flag)
6459 (prolog-electric-dot-full-predicate-template)
6460 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6461 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6462 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6463 (prolog-program-switches, prolog-prompt-regexp)
6464 (prolog-debug-on-string, prolog-debug-off-string)
6465 (prolog-trace-on-string, prolog-trace-off-string)
6466 (prolog-zip-on-string, prolog-zip-off-string)
6467 (prolog-use-standard-consult-compile-method-flag)
6468 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6469 (prolog-imenu-max-lines, prolog-info-predicate-index)
6470 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6471 (prolog-char-quote-workaround):
6472 * progmodes/cc-vars.el (c-defun-tactic):
6473 * net/tramp.el (tramp-encoding-command-interactive)
6474 (tramp-local-end-of-line):
6475 * net/soap-client.el (soap-client):
6476 * net/netrc.el (netrc-file):
6477 * net/gnutls.el (gnutls):
6478 * minibuffer.el (completion-category-overrides)
6479 (completion-cycle-threshold)
6480 (completion-pcm-complete-word-inserts-delimiters):
6481 * man.el (Man-name-local-regexp):
6482 * mail/feedmail.el (feedmail-display-full-frame):
6483 * international/characters.el (glyphless-char-display-control):
6484 * eshell/em-ls.el (eshell-ls-date-format):
6485 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6486 (lisp-lambda-list-keyword-parameter-indentation)
6487 (lisp-lambda-list-keyword-parameter-alignment):
6488 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6489 * dired-x.el (dired-omit-verbose):
6490 * cus-theme.el (custom-theme-allow-multiple-selections):
6491 * calc/calc.el (calc-highlight-selections-with-faces)
6492 (calc-lu-field-reference, calc-lu-power-reference)
6493 (calc-note-threshold):
6494 * battery.el (battery-mode-line-limit):
6495 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6496 (archive-7z-update):
6497 * allout.el (allout-prefixed-keybindings)
6498 (allout-unprefixed-keybindings)
6499 (allout-inhibit-auto-fill-on-headline)
6500 (allout-flattened-numbering-abbreviation):
6501 * allout-widgets.el (allout-widgets-auto-activation)
6502 (allout-widgets-icons-dark-subdir)
6503 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6504 (allout-widgets-theme-dark-background)
6505 (allout-widgets-theme-light-background)
6506 (allout-widgets-item-image-properties-emacs)
6507 (allout-widgets-item-image-properties-xemacs)
6508 (allout-widgets-run-unit-tests-on-load)
6509 (allout-widgets-time-decoration-activity)
6510 (allout-widgets-hook-error-post-time)
6511 (allout-widgets-track-decoration):
6512 Add missing :version tags to new defcustoms and defgroups.
6513
5fec1b8e
GM
6514 * progmodes/sql.el (sql-ansi-statement-starters)
6515 (sql-oracle-statement-starters): Add custom type.
6516
3e0d2fa7
GM
6517 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6518 (prolog-system-version): Give it a type.
6519
90b671e2
EZ
65202012-02-11 Eli Zaretskii <eliz@gnu.org>
6521
6522 * term/pc-win.el (x-select-text, x-selection-owner-p)
6523 (x-own-selection-internal, x-disown-selection-internal)
6524 (x-get-selection-internal): Sync doc strings and argument lists
6525 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6526
5eac0c02
LL
65272012-02-11 Leo Liu <sdl.web@gmail.com>
6528
6529 * progmodes/python.el (python-end-of-statement): Fix infinite
6530 loop. (Bug#10788)
6531
f82cb659
GM
65322012-02-10 Glenn Morris <rgm@gnu.org>
6533
6534 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6535 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6536
cc26d239
LI
65372012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6538
6539 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6540 about SMTP before checking the From header.
6541
91027d08 6542 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6543 into own function for reuse by emacsbug.el.
6544
1be3ca5a
LL
65452012-02-10 Leo Liu <sdl.web@gmail.com>
6546
6547 * subr.el (condition-case-unless-debug): Rename from
6548 condition-case-no-debug. All callers changed.
6549 (with-demoted-errors): Fix caller.
6550
6551 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6552 * nxml/rng-valid.el (rng-do-some-validation):
6553 * emacs-lisp/package.el (package-refresh-contents)
6554 (package-menu-execute):
6555 * desktop.el (desktop-create-buffer):
91027d08 6556 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6557
b011fbfe
GM
65582012-02-10 Glenn Morris <rgm@gnu.org>
6559
b2096d72
GM
6560 * textmodes/bibtex.el:
6561 Add missing :version tags for new/changed defcustoms.
6562
b011fbfe
GM
6563 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6564
4c7e65bf
LI
65652012-02-09 Lars Ingebrigtsen <larsi@rusty>
6566
6567 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6568 (smtpmail-via-smtp): Use it, or fall back on the From address.
6569 (smtpmail-send-it): Ditto.
6570
f3934f6f
SM
65712012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6574 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6575 (byte-compile-tmp-var): New const.
6576 (byte-compile-defvar): Use it to minimize .elc size.
6577 Just use `defvar' rather than simulate it (bug#10761).
6578
a075a2c5
GM
65792012-02-09 Glenn Morris <rgm@gnu.org>
6580
cf3aa21b
GM
6581 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6582
354998cd
GM
6583 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6584 Add :version tags.
6585
dc9924b8
SM
6586 * progmodes/compile.el (compilation-error-screen-columns)
6587 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6588
dab3703d
GM
6589 * vc/log-view.el (log-view-toggle-entry-display):
6590 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6591
3f88cd72
GM
6592 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6593 (report-emacs-bug-can-use-xdg-email):
6594 (report-emacs-bug-insert-to-mailer): Doc fixes.
6595 (report-emacs-bug): Message fix.
6596
d95b247d
GM
6597 * net/browse-url.el (browse-url-can-use-xdg-open)
6598 (browse-url-xdg-open): Doc fixes.
6599
a075a2c5
GM
6600 * electric.el (electric-indent-mode, electric-pair-mode)
6601 (electric-layout-rules, electric-layout-mode): Doc fixes.
6602 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6603
ffb6157e
MR
66042012-02-08 Martin Rudalics <rudalics@gmx.at>
6605
6606 * server.el (server-unselect-display): Don't inadvertently kill
6607 the current buffer. (Bug#10729)
6608
e1ac4066
GM
66092012-02-08 Glenn Morris <rgm@gnu.org>
6610
34e8a2da
GM
6611 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6612 (sql-list-table): Doc fixes.
6613
b4ac6e8c
GM
6614 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6615 Comment out (does nothing).
6616
e1ac4066
GM
6617 * completion.el (dynamic-completion-mode):
6618 * dirtrack.el (dirtrack-debug-mode):
6619 * electric.el (electric-layout-mode):
6620 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6621 * face-remap.el (text-scale-mode, buffer-face-mode):
6622 * iimage.el (iimage-mode):
6623 * image-mode.el (image-transform-mode):
6624 * minibuffer.el (completion-in-region-mode):
6625 * scroll-lock.el (scroll-lock-mode):
6626 * simple.el (next-error-follow-minor-mode):
6627 * tar-mode.el (tar-subfile-mode):
6628 * tooltip.el (tooltip-mode):
6629 * vcursor.el (vcursor-use-vcursor-map):
6630 * wid-browse.el (widget-minor-mode):
6631 * emulation/tpu-edt.el (tpu-edt-mode):
6632 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6633 * international/iso-ascii.el (iso-ascii-mode):
6634 * language/thai-util.el (thai-word-mode):
6635 * mail/supercite.el (sc-minor-mode):
6636 * net/goto-addr.el (goto-address-mode):
6637 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6638 * progmodes/cwarn.el (cwarn-mode):
6639 * progmodes/flymake.el (flymake-mode):
6640 * progmodes/glasses.el (glasses-mode):
6641 * progmodes/hideshow.el (hs-minor-mode):
6642 * progmodes/pascal.el (pascal-outline-mode):
6643 * textmodes/enriched.el (enriched-mode):
6644 * vc/smerge-mode.el (smerge-mode):
6645 Doc fixes (minor mode argument).
6646
5e0d957f
EZ
66472012-02-07 Eli Zaretskii <eliz@gnu.org>
6648
6649 * ls-lisp.el (ls-lisp-sanitize): New function.
6650 (ls-lisp-insert-directory): Use it to fix or remove any elements
6651 in file-alist with missing attributes. (Bug#4673)
6652
98d7371e
AM
66532012-02-07 Alan Mackenzie <acm@muc.de>
6654
6655 Fix spurious recognition of c-in-knr-argdecl.
6656
6657 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6658 putative K&R region.
6659
667ced3a
AM
66602012-02-07 Alan Mackenzie <acm@muc.de>
6661
eb864a71
LM
6662 * progmodes/cc-engine.el (c-forward-objc-directive):
6663 Prevent looping in "#pragma mark @implementation".
667ced3a 6664
5b77774d
MA
66652012-02-07 Michael Albinus <michael.albinus@gmx.de>
6666
6667 * notifications.el (notifications-on-closed-signal): Make `reason'
6668 optional. (Bug#10744)
6669
af008560
GM
66702012-02-07 Glenn Morris <rgm@gnu.org>
6671
60d47423
GM
6672 * emacs-lisp/easy-mmode.el (define-minor-mode):
6673 Doc fixes for the macro and the mode it defines.
6674
dd605cc4
GM
6675 * image.el (imagemagick-types-inhibit): Doc fix.
6676
af008560
GM
6677 * cus-start.el (imagemagick-render-type): Add it.
6678
5cc59a37
LI
66792012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6680
4d6769e1
JB
6681 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6682 Set the default at load time, too, so that `font-lock-fontify-buffer'
6683 can be called without setting up the entire mode first. This fixes
6684 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6685
9a6dd747
CY
66862012-02-06 Chong Yidong <cyd@gnu.org>
6687
2d16b285
CY
6688 * simple.el (list-processes--refresh): Delete exited processes
6689 (Bug#8094).
6690
171e9b6e
CY
6691 * comint.el (comint-next-prompt): next-single-char-property-change
6692 and prev-single-char-property-change never return nil (Bug#8657).
6693
9a6dd747
CY
6694 * custom.el (defcustom): Doc fix (Bug#9711).
6695
aa4589a7
CY
66962012-02-05 Chong Yidong <cyd@gnu.org>
6697
5c2a252f
CY
6698 * cus-edit.el (custom-variable-reset-backup): Quote the value
6699 before storing it in the customized-value property (Bug#6712).
4aab9006 6700 (custom-display): Add a customization type tag.
983b9602 6701 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6702
aa4589a7
CY
6703 * wid-edit.el (widget-field-value-get): New optional arg to
6704 suppress trailing whitespace truncation.
6705 (character): Use it (Bug#2689).
6706
1ff980ae
AS
67072012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6708
6709 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6710 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6711
03988c98
CY
67122012-02-05 Chong Yidong <cyd@gnu.org>
6713
eeb6cc88
CY
6714 * cus-edit.el (custom-variable-value-create): For mismatched
6715 types, show the current value (Bug#7600).
6716
03988c98
CY
6717 * custom.el (defcustom): Doc fix.
6718
f8cdeef0
GM
67192012-02-05 Glenn Morris <rgm@gnu.org>
6720
6721 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6722
0696d255
JB
67232012-02-05 Juanma Barranquero <lekktu@gmail.com>
6724
6725 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6726 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6727 (pp-last-sexp): Use `looking-at-p'.
6728
34c99998
GM
67292012-02-04 Glenn Morris <rgm@gnu.org>
6730
8f05da42
GM
6731 * files.el (revert-buffer):
6732 Doc fix (mention revert-buffer-in-progress-p).
6733
f160676e
GM
6734 * emacs-lisp/ert-x.el (ert-simulate-command):
6735 Check deferred-action-list (which is obsolete) is bound.
6736
c7291ad9
GM
6737 * subr.el (with-wrapper-hook): Doc fixes.
6738
34c99998
GM
6739 * simple.el (filter-buffer-substring-functions)
6740 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6741
6283a7d3
LL
67422012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6743
6744 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6745 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6746
e96e3013
LL
67472012-02-04 Leo Liu <sdl.web@gmail.com>
6748
6749 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6750
8ded50f2
GM
67512012-02-04 Glenn Morris <rgm@gnu.org>
6752
82ff1d13
GM
6753 * image.el (image-extension-data): Add obsolete alias.
6754
987a0a16
GM
6755 * isearch.el (isearch-update): Doc fix.
6756
ea32ef46
GM
6757 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6758
8ded50f2
GM
6759 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6760
eea14f31
GM
67612012-02-03 Glenn Morris <rgm@gnu.org>
6762
6763 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6764 (image-animate-timeout): Doc fix.
6765
6766 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6767
12f381b7
GM
67682012-02-02 Glenn Morris <rgm@gnu.org>
6769
953cebf5
GM
6770 * server.el (server-auth-dir): Doc fix.
6771 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6772
12f381b7
GM
6773 * subr.el (run-mode-hooks): Doc fix.
6774
953a8c3b
JL
67752012-02-02 Juri Linkov <juri@jurta.org>
6776
6777 * image-mode.el (image-toggle-display-image): Remove tautological
6778 `major-mode' from the `derived-mode-p' test.
6779
c5d3843c
KH
67802012-02-02 Kenichi Handa <handa@m17n.org>
6781
9f6e692e 6782 * composite.el (compose-region): Cancel previous change.
c5d3843c 6783
159462d4 67842012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6785
6786 * composite.el (compose-region, compose-string): Signal error for
6787 a null string component (Bug#6988).
6788
9f562668
CY
67892012-02-01 Chong Yidong <cyd@gnu.org>
6790
e2cef717
CY
6791 * view.el (view-buffer-other-window, view-buffer-other-frame):
6792 Handle special modes like view-buffer (Bug#10650).
6793 (view-buffer): Simplify.
6794
9f562668
CY
6795 * frame.el (set-frame-font): Tweak meaning of third argument.
6796
9f6e692e
JB
6797 * dynamic-setting.el (font-setting-change-default-font):
6798 Use set-frame-font (Bug#9982).
9f562668 6799
781acb9f
GM
68002012-02-01 Glenn Morris <rgm@gnu.org>
6801
6035be52
GM
6802 * progmodes/compile.el (compilation-internal-error-properties):
6803 Respect compilation-first-column in the "*compilation*" buffer.
6804
781acb9f
GM
6805 * emacs-lisp/easy-mmode.el (define-minor-mode):
6806 Relax :variable's test for a named function.
6807
abbceb00
AM
68082012-01-31 Alan Mackenzie <acm@muc.de>
6809
6810 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6811 off by one error.
6812
fce3fdeb
CY
68132012-01-31 Chong Yidong <cyd@gnu.org>
6814
6815 * frame.el (set-frame-font): New arg ALL-FRAMES.
6816
6817 * menu-bar.el (menu-set-font): Use set-frame-font.
6818
6819 * faces.el (face-spec-reset-face): Don't apply unspecified
6820 attribute values to the default face.
6821
47893581
JB
68222012-01-31 Juanma Barranquero <lekktu@gmail.com>
6823
6824 * progmodes/cwarn.el (cwarn): Remove dead link.
6825 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6826 Remove * from defcustom docstrings.
6827 (turn-on-cwarn-mode): Make obsolete.
6828 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6829 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6830
e58e988a
GM
68312012-01-31 Glenn Morris <rgm@gnu.org>
6832
60dc2671 6833 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6834 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6835 Allow named functions to be used as the cdr of :variable.
e58e988a 6836
7a3f511d
GM
68372012-01-30 Glenn Morris <rgm@gnu.org>
6838
6839 * emacs-lisp/authors.el (authors-fixed-entries):
6840 Remove reference to deleted file rnewspost.el.
6841
cb882333
JB
68422012-01-29 Juanma Barranquero <lekktu@gmail.com>
6843
6844 * window.el (window-with-parameter): Remove unused variable `windows'.
6845 (window--side-check): Remove unused variable `code'.
6846 (window--resize-siblings): Remove unused variable `first'.
6847 (adjust-window-trailing-edge): Remove unused variable `failed'.
6848 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6849 Use `let', not `let*'.
6850 (balance-windows-2): Remove unused variable `found'.
6851 (window--state-put-2): Remove unused variable `splits'.
6852 (window-state-put): Remove unused variable `selected'.
6853 (same-window-p): Use `string-match-p'.
6854 (display-buffer-assq-regexp): Remove unused variable `value'.
6855 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6856 Mark argument ALIST as ignored.
6857 (pop-to-buffer): Remove unused variable `old-window'.
6858
907201af
EZ
68592012-01-29 Eli Zaretskii <eliz@gnu.org>
6860
6861 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6862 and .lzma compressed files.
6863
ea162670
CY
68642012-01-29 Chong Yidong <cyd@gnu.org>
6865
5b95ee8a
CY
6866 * frame.el (window-system-default-frame-alist): Doc fix.
6867
ea162670
CY
6868 * dynamic-setting.el (font-setting-change-default-font): Don't
6869 change the default face if SET-FONT argument is non-nil (Bug#9982).
6870
d6e6f4b1
SB
68712012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6872
6873 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6874
0f29fa41 68752012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6876
6877 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6878 breakpoints in files outside current directory (Bug#6098).
6879
db174434
CY
68802012-01-29 Chong Yidong <cyd@gnu.org>
6881
6b25e4e2
SE
6882 * progmodes/python.el: Require ansi-color at top-level.
6883
6df6ae42
JB
6884 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6885 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6886 (lisp-mode-abbrev-table): Add doc.
6887 (lisp-mode-variables): Don't set local-abbrev-table.
6888 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6889
e70ee681
RW
68902012-01-28 Roland Winkler <winkler@gnu.org>
6891
6892 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6893
ace88aa2
RW
68942012-01-28 Roland Winkler <winkler@gnu.org>
6895
6896 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6897 (bibtex-set-dialect): Use it. Either set global values of
6898 dialect-dependent variables or bind these variables buffer-locally
6899 (Bug#10254).
6900 (bibtex-mode): Call bibtex-set-dialect via
6901 hack-local-variables-hook.
eb864a71
LM
6902 (bibtex-dialect): Update docstring.
6903 Add safe-local-variable predicate.
ace88aa2
RW
6904 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6905 bibtex-set-dialect.
6906 (bibtex-mode-map): Define menu for each dialect.
6907 (bibtex-entry): Fix docstring.
6908
93376c5b
CY
69092012-01-28 Chong Yidong <cyd@gnu.org>
6910
6911 * eshell/esh-arg.el (eshell-quote-argument): New function.
6912
6913 * eshell/esh-ext.el (eshell-invoke-batch-file):
6914 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6915 first arg to eshell-parse-command (Bug#10523).
6916
4372494f
DA
69172012-01-28 Drew Adams <drew.adams@oracle.com>
6918
6919 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6920 `default-directory' is non-nil.
6921
4d4ec1f8
EZ
69222012-01-28 Eli Zaretskii <eliz@gnu.org>
6923
6924 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6925 line that displays system-configuration-options. (Bug#9924)
6926
7c188927
DA
69272012-01-28 Drew Adams <drew.adams@oracle.com>
6928
6929 * descr-text.el (describe-char): Show information about POS, in
6930 addition to information about the character at POS. Improve and
6931 update the doc string. Change "code point" to "code point in
6932 charset", to avoid confusion with the character's Unicode code
6933 point shown above that. (Bug#10129)
6934
e0da685a
EZ
69352012-01-28 Eli Zaretskii <eliz@gnu.org>
6936
6937 * descr-text.el (describe-char): Show the raw character, not only
6938 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6939 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6940 for the reasons.
6941
70550acf
PH
69422012-01-28 Phil Hagelberg <phil@hagelb.org>
6943
eb864a71
LM
6944 * emacs-lisp/package.el (package-install):
6945 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6946
0ce8e868
CY
69472012-01-28 Chong Yidong <cyd@gnu.org>
6948
cb882333
JB
6949 * emacs-lisp/package.el (package-maybe-load-descriptor):
6950 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6951 (package-maybe-load-descriptor): Use it.
6952 (package-download-transaction): Fully load required packages
6953 inside the loop, so that `require' calls work (Bug#10593).
6954 (package-install): No need to call package-initialize now.
6955
2e7f3bea
CY
69562012-01-28 Chong Yidong <cyd@gnu.org>
6957
6e9bad14
CY
6958 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6959
f823b8ca
CY
6960 * tooltip.el (tooltip-mode): Doc fix.
6961 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6962
2680c309
CY
6963 * frame.el (set-cursor-color): Doc fix (Bug#352).
6964
d7a9e63b
CY
6965 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6966 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6967
2e7f3bea
CY
6968 * cus-edit.el (custom-buffer-create-internal): Fix search button
6969 action (Bug#10542).
2ae01800 6970 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6971
fc4f7a23
EW
69722012-01-27 Eduard Wiebe <usenet@pusto.de>
6973
6974 * dired.el (dired-mark-files-regexp):
6975 Include any subdirectory components. (Bug#10445)
6976
7dd37071
ML
69772012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6978
6979 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6980 Handle [host]:port syntax. (Bug#10533)
6981
a268160b
AH
69822012-01-27 Alex Harsanyi <harsanyi@mac.com>
6983
6984 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6985
e43273ef
GM
69862012-01-26 Glenn Morris <rgm@gnu.org>
6987
6988 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6989 * term.el (term-raw-escape-map): Use Control-X-prefix.
6990 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6991
1edf595d
MR
69922012-01-25 Martin Rudalics <rudalics@gmx.at>
6993
6994 * window.el (window-state-get, window--state-get-1): Don't deal
6995 with fixed-sizeness of windows. Simplify code.
6996
fa8eafef
JC
69972012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6998
6df6ae42
JB
6999 * window.el (window--state-get-1, window--state-put-2):
7000 Don't save and restore the mark.
fa8eafef 7001
0b21c100
CY
70022012-01-25 Chong Yidong <cyd@gnu.org>
7003
7004 * custom.el (custom-variable-p): Doc fix.
7005
5ae1a6c8
GM
70062012-01-25 Glenn Morris <rgm@gnu.org>
7007
40047858
GM
7008 * dired.el (dired-goto-file): Handle some of the more common
7009 characters that `ls -b' escapes. (Bug#10596)
7010
5ddce96c
GM
7011 * progmodes/compile.el (compilation-next-error-function):
7012 Respect compilation-first-column in the "*compilation*" buffer.
7013 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7014
5ae1a6c8
GM
7015 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7016
b559f1a9
GM
70172012-01-24 Glenn Morris <rgm@gnu.org>
7018
7019 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7020
6725d21a
JD
70212012-01-24 Julien Danjou <julien@danjou.info>
7022
7023 * color.el (color-rgb-to-hsl): Fix value computing.
7024 (color-hue-to-rgb): New function.
7025 (color-hsl-to-rgb): New function.
7026 (color-clamp, color-saturate-hsl, color-saturate-name)
7027 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7028 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7029
70df4bbe
GM
70302012-01-24 Glenn Morris <rgm@gnu.org>
7031
7032 * vc/vc-rcs.el (vc-rcs-create-tag):
7033 * vc/vc-sccs.el (vc-sccs-create-tag):
7034 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7035
802a2ae2
ML
70362012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7037
7038 * eshell/esh-util.el (eshell-read-hosts-file):
7039 Skip comment lines. (Bug#10549)
7040
d7128bb1
ML
7041 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7042
d1a5c3b4
JB
70432012-01-23 Juanma Barranquero <lekktu@gmail.com>
7044
2724d9c7
JB
7045 * subr.el (display-delayed-warnings): Doc fix.
7046 (collapse-delayed-warnings): New function to collapse identical
7047 adjacent warnings.
7048 (delayed-warnings-hook): Add it.
d1a5c3b4 7049
a5509865
MA
70502012-01-22 Michael Albinus <michael.albinus@gmx.de>
7051
7052 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7053
a5509865
MA
7054 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7055 (tramp-default-user-alist): Don't add "pscp".
7056 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7057 property "login-as", if set. (Bug#10530)
7058
cc6d5805
MA
70592012-01-21 Michael Albinus <michael.albinus@gmx.de>
7060
7061 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7062 "plink1" and "psftp". (Bug#10530)
7063
70642012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7065
7066 * international/mule-cmds.el (prefer-coding-system): Show a
7067 warning message if the default value of file-name-coding-system
7068 was not changed.
7069
f0960428
JC
70702012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7071
cb882333
JB
7072 * windmove.el (windmove-reference-loc):
7073 Fix windmove-reference-loc miscalculation.
f0960428 7074
dd6f2a63
JB
70752012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7076
7077 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7078 default unit.
7079
7b447e9b
GM
70802012-01-21 Glenn Morris <rgm@gnu.org>
7081
117a9ea1
GM
7082 * international/mule.el (auto-coding-alist): Add .tbz.
7083
7b447e9b
GM
7084 * files.el (local-enable-local-variables): Doc fix.
7085 (inhibit-local-variables-regexps): Rename from
7086 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7087 Doc fix. Add some extensions from auto-coding-alist.
7088 (inhibit-local-variables-suffixes):
7089 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7090 (inhibit-local-variables-p):
7091 New function, extracted from set-auto-mode-1.
7092 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7093 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7094 (hack-local-variables): Doc fix. Make the mode-only case
7095 respect enable-local-variables and friends.
7096 Respect inhibit-local-variables-regexps for file-locals, but
7097 not for directory-locals.
7098 (set-visited-file-name):
7099 Take account of inhibit-local-variables-regexps.
7100 Whether it applies may change as the file name is changed.
7101 * jka-cmpr-hook.el (jka-compr-install):
7102 * jka-compr.el (jka-compr-uninstall):
7103 Update for inhibit-first-line-modes-suffixes name change.
7104
dd6e3cdd
MR
71052012-01-20 Martin Rudalics <rudalics@gmx.at>
7106
7107 * help-macro.el (make-help-screen): Temporarily restore original
7108 binding for minor-mode-map-alist (Bug#10454).
7109
0d0deb38
JD
71102012-01-19 Julien Danjou <julien@danjou.info>
7111
7112 * color.el (color-name-to-rgb): Use the white color to find the max
7113 color component value and return correctly computed values.
7114 (color-name-to-rgb): Add missing float conversion for max value.
7115
34a02f46
MR
71162012-01-19 Martin Rudalics <rudalics@gmx.at>
7117
7118 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7119 special state value for window-persistent-parameters.
7120 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7121 (window--state-put-2): Reset all window parameters to nil before
7122 assigning values of persistent parameters.
7123
606c44c4
AM
71242012-01-18 Alan Mackenzie <acm@muc.de>
7125
7126 Eliminate sluggishness and hangs in fontification of "semicolon
7127 deserts".
7128
cb882333
JB
7129 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7130 Change value 10000 -> 3000.
606c44c4
AM
7131 (c-state-safe-place): Reformulate so it doesn't stack up an
7132 infinite number of wrong entries in c-state-nonlit-pos-cache.
7133 (c-determine-limit-get-base, c-determine-limit): New functions to
7134 determine backward search limits disregarding literals.
7135 (c-find-decl-spots): Amend commenting.
7136 (c-cheap-inside-bracelist-p): New function which detects "={".
7137
7138 * progmodes/cc-fonts.el
7139 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7140 backward search.
7141 (c-font-lock-declarations): Fix an occurrence of point being
7142 undefined. Check additionally for point being in a bracelist or
7143 near a macro invocation without a semicolon so as to avoid a
7144 fruitless time consuming search for a declarator. Give a more
7145 precise search limit for declarators using the new
7146 c-determine-limit.
7147
f3860cea
GM
71482012-01-18 Glenn Morris <rgm@gnu.org>
7149
7150 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7151 (set-auto-mode): Doc fixes.
7152
1db03b16
GM
71532012-01-17 Glenn Morris <rgm@gnu.org>
7154
0e6038be
GM
7155 * isearch.el (search-nonincremental-instead): Fix doc typo.
7156
1db03b16
GM
7157 * dired.el (dired-insert-directory): Handle newlines in directory name.
7158 (dired-build-subdir-alist): Unescape newlines in directory name.
7159
4cb0aa75
MA
71602012-01-17 Michael Albinus <michael.albinus@gmx.de>
7161
7162 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7163 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7164 (tramp-action-terminal): Use it. (Bug#10530)
7165
1d00653d
SM
71662012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7169
6a6ee00d
MR
71702012-01-16 Martin Rudalics <rudalics@gmx.at>
7171
7172 * window.el (window-state-ignored-parameters): Remove variable.
7173 (window--state-get-1): Rename argument MARKERS to IGNORE.
7174 Handle persistent window parameters. Make copy of clone-of
7175 parameter only if requested. (Bug#10348)
7176 (window--state-put-2): Install a window parameter only if it has
7177 a non-nil value or an existing parameter shall be overwritten.
7178
97912def
MA
71792012-01-15 Michael Albinus <michael.albinus@gmx.de>
7180
7181 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7182
688070a5
EZ
71832012-01-14 Eli Zaretskii <eliz@gnu.org>
7184
7185 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7186 don't pass the (nil) value of `upnode' to string-match.
7187
301afadc
CY
71882012-01-14 Chong Yidong <cyd@gnu.org>
7189
7190 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7191 Fix values recognized by the cursorBlink resource.
301afadc 7192
9e5788aa
PE
71932012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7194
7195 * epg.el (epg--make-temp-file): Avoid permission race condition
7196 when running on old Emacs versions (bug#10403).
7197
3cdb7f5a
GM
71982012-01-14 Glenn Morris <rgm@gnu.org>
7199
7200 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7201
8c82b1b4
AM
72022012-01-13 Alan Mackenzie <acm@muc.de>
7203
7204 Fix filling for when filladapt mode is enabled.
7205
7206 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7207 c-mask-paragraph, pass in `fill-paragraph' rather than
7208 `fill-region-as-paragraph'. (This is a reversion of a previous
7209 change.)
eb864a71
LM
7210 * progmodes/cc-mode.el (c-basic-common-init):
7211 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7212
e517eda4
GM
72132012-01-13 Glenn Morris <rgm@gnu.org>
7214
1498536e
GM
7215 * dired.el (dired-switches-escape-p): New function.
7216 (dired-insert-directory): Use dired-switches-escape-p.
7217 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7218
e517eda4
GM
7219 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7220
328f984d
GM
72212012-01-12 Glenn Morris <rgm@gnu.org>
7222
7223 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7224 changes in adaptive-fill-regexp. (Bug#10276)
7225
2cc769a8
AM
72262012-01-11 Alan Mackenzie <acm@muc.de>
7227
7228 Fix Emacs bug #10463 - put `widen's around the critical spots.
7229
1d00653d 7230 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7231 widen around each invocation of c-state-pp-to-literal. Remove an
7232 unused let variable.
7233
e52c37fa
GM
72342012-01-11 Glenn Morris <rgm@gnu.org>
7235
7236 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7237 Doc fix.
e52c37fa 7238
96f8741e
CY
72392012-01-10 Chong Yidong <cyd@gnu.org>
7240
1d00653d
SM
7241 * net/network-stream.el (network-stream-open-starttls):
7242 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7243 response to the capability command.
7244
b09a806e
GM
72452012-01-10 Glenn Morris <rgm@gnu.org>
7246
7247 * mail/unrmail.el (unrmail): Tweak previous change.
7248
7655cb66
CY
72492012-01-09 Chong Yidong <cyd@gnu.org>
7250
7251 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7252
9d5a8f0b
AM
72532012-01-08 Alan Mackenzie <acm@muc.de>
7254
7255 Optimise font locking in long enum definitions.
7256
7257 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7258 arm to a cond form to handle enums.
7259 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7260 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7261
9a0115ab 72622012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7263
7264 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7265 (Bug#10401)
6bb72cbd 7266
f186bb95
LMI
72672012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7268
29232a68
LMI
7269 * faces.el (set-face-attribute): Clarify the meaning of the nil
7270 frame (bug#10294).
7271
4e5d086d
LMI
7272 * subr.el (with-selected-frame): Mention that the selected frame
7273 is restored (bug#9980).
7274
8e66aebe
LMI
7275 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7276 (bug#9759).
7277
cd394be1 7278 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7279 (password-read): Don't autoload unused function.
7280
adf4e762
JB
72812012-01-07 Juanma Barranquero <lekktu@gmail.com>
7282
7283 * progmodes/which-func.el (which-func-mode): Turn into a
7284 non-interactive function and mark as obsolete (bug#10428).
7285
89bd9ccd
CY
72862012-01-06 Chong Yidong <cyd@gnu.org>
7287
7288 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7289 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7290 functions, along with 1 and -1.
7291
4afee9d5
EZ
72922012-01-06 Eli Zaretskii <eliz@gnu.org>
7293
7294 * time.el (display-time-load-average)
7295 (display-time-default-load-average): Doc fixes. See the thread
7296 starting at
7297 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7298 for the details.
7299
536aea70
GM
73002012-01-06 Glenn Morris <rgm@gnu.org>
7301
665ae865
GM
7302 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7303 has no messages. (Bug#10377)
7304
c869783d
GM
7305 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7306 than Info-edit. (Bug#10385)
7307
2bb4227e
GM
7308 * time.el (display-time-load-average, display-time-next-load-average):
7309 Doc fixes.
7310
7d5944b9
GM
7311 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7312 local setting of buffer-read-only to the input buffer. (Bug#10419)
7313
536aea70
GM
7314 * calendar/calendar.el (calendar-mode):
7315 Locally set scroll-margin to 0. (Bug#10379)
7316
7dccca16
UM
73172012-01-06 Ulrich Mueller <ulm@gentoo.org>
7318
7319 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7320
afbb7930
GM
73212012-01-05 Glenn Morris <rgm@gnu.org>
7322
7323 * eshell/em-unix.el (diff-no-select): Autoload it.
7324 (eshell/diff): Use diff-no-select. (Bug#10420)
7325
04482335
CY
73262012-01-05 Chong Yidong <cyd@gnu.org>
7327
7baca3bc
CY
7328 * shell.el (shell-dynamic-complete-functions): Revert last change.
7329 (shell-command-completion-function): New function.
7330 (shell-completion-vars): Use it to implement
7331 shell-completion-execonly (Bug#10417).
7332
04482335
CY
7333 * custom.el (enable-theme): Don't set custom-safe-themes.
7334
1d00653d
SM
7335 * cus-theme.el (custom-theme-merge-theme):
7336 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7337
bb5aa5d6
MM
73382012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7339
7340 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7341 first prompt in `sql-interacive-mode'.
7342 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7343 keywords.
6df6ae42 7344 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7345 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7346 context of original buffer. Invoke `sql-login-hook'.
7347
a7183d7c
EZ
73482012-01-04 Eli Zaretskii <eliz@gnu.org>
7349
7350 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7351 letters in cite-prefix.
7352
a1eacd1e
LMI
73532012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7354
7355 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7356
787cdb34
CY
73572012-01-03 Chong Yidong <cyd@gnu.org>
7358
1d00653d
SM
7359 * shell.el (shell-dynamic-complete-functions):
7360 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7361 comint-filename-completion first (Bug#10417).
7362
30710442
RS
73632012-01-02 Richard Stallman <rms@gnu.org>
7364
7365 * battery.el (battery-status-function):
7366 Detect when to use battery-yeeloong-sysfs.
7367 (battery-echo-area-format): Add string for Yeeloong.
7368 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7369 (battery-yeeloong-sysfs): New function.
7370
f75bfc33
CY
73712012-01-02 Chong Yidong <cyd@gnu.org>
7372
7373 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7374 (dirtrack): Merge code for handling relative filenames in prompt
7375 from shell-dir-cookie-watcher.
7376 (dirtrack-debug-message): New arg to avoid excess format calls.
7377
7378 * shell.el (shell-dir-cookie-re): Variable deleted.
7379 (shell-dir-cookie-watcher): Function deleted.
7380 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7381 with dirtrack-mode.
7382
651e947e
EZ
73832012-01-01 Eli Zaretskii <eliz@gnu.org>
7384
1d00653d
SM
7385 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7386 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7387 libgnutls-26.dll.
7388
94d4c7dc
AS
73892011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7390
7391 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7392
8d43f3cd
EZ
73932011-12-31 Eli Zaretskii <eliz@gnu.org>
7394
7395 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7396 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7397
98c8795a
MA
73982011-12-29 Michael Albinus <michael.albinus@gmx.de>
7399
7400 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7401 also for alternative shells.
7402 (tramp-open-connection-setup-interactive-shell): Check, whether
7403 the shell is a busybox.
7404 (tramp-send-command): Don't suppress multiple prompts for
7405 busyboxes, it hurts.
7406
51281b32
CY
74072011-12-28 Chong Yidong <cyd@gnu.org>
7408
7409 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7410 (gdb-get-source-file): Move mode line update to
7411 gdb-get-source-file (Bug#10087).
7412
2170cb53
CY
74132011-12-25 Chong Yidong <cyd@gnu.org>
7414
7415 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7416 gud-gdb-marker-filter without taking it as an argument.
7417 (gud-gdb-run-command-fetch-lines): Caller changed.
7418 (gud-gdb-completion-function): New variable.
7419 (gud-gdb-completion-at-point): Use it.
7420 (gud-gdb-completions-1): Split from gud-gdb-completions.
7421
7422 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7423 function as separate arguments.
7424 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7425 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7426 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7427 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7428 (gdb-stopped, def-gdb-auto-update-trigger)
7429 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7430 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7431 Callers changed.
2170cb53
CY
7432 (gud-gdbmi-completions): New function.
7433 (gdb): Use it for generating the completion table.
7434
be8b11bb
AM
74352011-12-24 Alan Mackenzie <acm@muc.de>
7436
7437 Introduce a mechanism to widen the region used in context font
1d00653d 7438 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7439
1d00653d
SM
7440 * progmodes/cc-langs.el (c-before-font-lock-functions):
7441 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7442 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7443 functions to be run just before context (etc.) font locking.
7444
7445 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7446 New, functionality extracted from
be8b11bb 7447 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7448 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7449 (c-after-change): Set c-in-after-change-fontification.
7450 (c-set-fl-decl-start): Rejig its interface, so it can be called
7451 from both after-change and context fontifying.
b81d40f0
JB
7452 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7453 New functions.
7454 (c-standard-font-lock-fontify-region-function): New variable.
7455 (c-font-lock-fontify-region): New function.
be8b11bb 7456
341cf6ac
JL
74572011-12-24 Juri Linkov <juri@jurta.org>
7458
7459 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7460 (Bug#10348)
7461
bffcee0a
MA
74622011-12-23 Michael Albinus <michael.albinus@gmx.de>
7463
7464 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7465 existence of source file. (Bug#10325)
7466
cb5e207c
AM
74672011-12-23 Alan Mackenzie <acm@muc.de>
7468
7469 Fix unstable fontification inside templates.
7470
b81d40f0
JB
7471 * progmodes/cc-langs.el (c-before-font-lock-functions):
7472 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7473 additionally has c-set-fl-decl-start. The other languages (apart
7474 from AWK) have that as a single entry.
7475
b81d40f0
JB
7476 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7477 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7478 c-set-fl-decl-start.
7479
b81d40f0
JB
7480 * progmodes/cc-mode.el (c-common-init, c-after-change):
7481 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7482 (c-set-fl-decl-start): New function, extracted from
7483 c-font-lock-enclosing-decls and enhanced.
7484
60ff536c
JB
74852011-12-23 Juanma Barranquero <lekktu@gmail.com>
7486
7487 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7488
1c4757d6
JL
74892011-12-22 Juri Linkov <juri@jurta.org>
7490
7491 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7492
d031f2c7
CY
74932011-12-22 Chong Yidong <cyd@gnu.org>
7494
7495 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7496
bace743a
DA
74972011-12-21 Drew Adams <drew.adams@oracle.com>
7498
7499 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7500
728a1f2b
JC
75012011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7502
7503 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7504
0d373f73
TZ
75052011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7506
fec0aaa4
TZ
7507 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7508 highlighting and support. Fix up comments for capitalization.
7509 (cfengine-mode-debug): New var.
7510 (cfengine3-mode): Change the modeline indicator to "CFE3".
7511 (cfengine3-font-lock-keywords): Improve defun highlighting.
7512 (cfengine2-actions): Rename from `cfengine-actions'.
7513 (cfengine2-font-lock-keywords): Rename from
7514 `cfengine-font-lock-keywords'.
7515 (cfengine2-imenu-expression): Rename from
7516 `cfengine-imenu-expression'.
7517 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7518 (cfengine2-beginning-of-defun): Rename from
7519 `cfengine-beginning-of-defun'.
7520 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7521 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7522 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7523 modeline indicator to "CFE2".
7524 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7525 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7526
bc86f573
CY
75272011-12-21 Chong Yidong <cyd@gnu.org>
7528
7529 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7530 filename argument.
7531
d45ba96b
MR
75322011-12-20 Martin Rudalics <rudalics@gmx.at>
7533
7534 * window.el (window-normalize-buffer-to-display): Remove.
7535 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7536
a6198c90
CY
75372011-12-19 Chong Yidong <cyd@gnu.org>
7538
7539 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7540 Don't signal an error in a predicate function; return non-nil.
7541 (vc-dir-mark-file): Move the error here.
7542 (vc-dir-mark-unmark): If acting on the region, keep going if one
7543 of the entries cannot be marked/unmarked.
7544 (vc-dir-mark-all-files): If current entry is a directory, mark
7545 only child files, as documented.
7546
34c5fb55
VB
75472011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7548
7549 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7550 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7551 addition.
7552
c803b2b7
JD
75532011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7554
7555 * term/ns-win.el (ns-get-selection-internal)
7556 (ns-store-selection-internal): Declare.
1154d12e
JB
7557 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7558 Declare as obsolete.
7559 (ns-get-pasteboard, ns-paste-secondary):
7560 Use ns-get-selection-internal.
7561 (ns-set-pasteboard, ns-copy-including-secondary):
7562 Use ns-store-selection-internal.
c803b2b7 7563
9cff91f8 75642011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7565
7566 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7567 (vc-deduce-fileset): Doc fix.
99a289d9 7568
f16c898a
AS
75692011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7570
7571 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7572
763237c4
SS
75732011-12-13 Sam Steingold <sds@gnu.org>
7574
7575 * man.el (Man-getpage-in-background): When running under a
7576 window-system, ignore $MANWIDTH and $COLUMNS.
7577
5fc1c122
KH
75782011-12-15 Kenichi Handa <handa@m17n.org>
7579
7580 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7581 (setup-ethiopic-environment-internal): Comment out key-binding for
7582 ethio-toggle-punctuation.
7583
13d49cbb
AM
75842011-12-13 Alan Mackenzie <acm@muc.de>
7585
898169a2
AM
7586 Add the switch statement to AWK Mode.
7587
7a71b18d 7588 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7589 "default" to the keywords regexp.
7590
7a71b18d 7591 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7592 expression as the rest.
1d00653d
SM
7593 (c-nonlabel-token-key): Allow string literals for AWK.
7594 Refactor for the other modes.
898169a2 7595
13d49cbb 7596 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7597 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7598 routines. Limit backward searching in c-font-lock-enclosing.decl.
7599
7600 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7601 pp-state and literal type in addition to the limits.
1d00653d 7602 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7603 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7604 (c-slow-in-literal, c-fast-in-literal): Remove.
7605 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7606
7607 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7608 being in a literal. Add a limit for backward searching.
7609
7610 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7611 c-slow-in-literal.
7612
15e0efc7
SM
76132011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7616
454592a6
MR
76172011-12-13 Martin Rudalics <rudalics@gmx.at>
7618
7619 * window.el (delete-other-windows): Use correct frame in call to
7620 window-with-parameter.
7621
87393f26
DP
76222011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7623
7624 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7625 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7626 (makefile-gmake-statements, makefile-makepp-statements):
7627 Use it and add new makepp keywords.
7628 (makefile-makepp-font-lock-keywords): Add new patterns.
7629 (makefile-match-function-end): Match new [...] and [[...]].
7630
11636b22
JB
76312011-12-11 Juanma Barranquero <lekktu@gmail.com>
7632
7633 * ses.el (ses-call-printer-return, ses-cell-property-get)
7634 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7635 (ses-create-cell-variable, ses-reset-header-string)
7636 (ses-cell-set-formula, ses-repair-cell-reference-all)
7637 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7638 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7639 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7640 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7641 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7642 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7643 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7644 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7645 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7646 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7647 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7648 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7649
cf018193
VB
76502011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7651
7652 * ses.el: The overall change is to add cell renaming, that is
7653 setting fancy names for cell symbols other than name matching
7654 "\\`[A-Z]+[0-9]+\\'" regexp .
7655 (ses-create-cell-variable): New defun.
7656 (ses-relocate-formula): Relocate formulas only for cells the
7657 symbols of which are not renamed, i.e. symbols whose names do not
7658 match regexp "\\`[A-Z]+[0-9]+\\'".
7659 (ses-relocate-all): Relocate values only for cells the symbols of
7660 which are not renamed.
7661 (ses-load): Create cells variables as the (ses-cell ...) are read,
7662 in order to check row col consistency with cell symbol name only
7663 for cells that are not renamed.
7664 (ses-replace-name-in-formula): New defun.
7665 (ses-rename-cell): New defun.
7666
ee957461
CY
76672011-12-11 Chong Yidong <cyd@gnu.org>
7668
7669 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7670 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7671
9a9e9ef0
MR
76722011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7673
7674 * window.el (other-window): Fix docstring.
7675
92a8eba5
EZ
76762011-12-10 Eli Zaretskii <eliz@gnu.org>
7677
7678 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7679 `from' or `to' address before taking its substring.
7680 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7681 encoded name is chopped in the middle of the encoded string, and
7682 thus displayed encoded.
7683
e152e577
JB
76842011-12-10 Juanma Barranquero <lekktu@gmail.com>
7685
7686 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7687
e5d84bfe
EZ
76882011-12-10 Eli Zaretskii <eliz@gnu.org>
7689
7690 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7691 to use texinfo-update-node and commands that call it if the
7692 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7693 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7694 (texinfo-all-menus-update, texinfo-master-menu)
7695 (texinfo-update-node, texinfo-every-node-update)
7696 (texinfo-multiple-files-update): Doc fix. Warn against updating
7697 all the @node lines.
7698 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7699 argument is numeric. Explain better in the doc string what the
7700 function really does.
7701 (texinfo-insert-master-menu-list): Improve the error message
7702 displayed if there's no menu in the Top node.
7703 (Bug#2975) See also this thread:
e5d84bfe
EZ
7704 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7705
1d84e9bb
MG
77062011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7707
7708 * speedbar.el (speedbar-supported-extension-expressions):
7709 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7710
382c953b
JB
77112011-12-09 Juanma Barranquero <lekktu@gmail.com>
7712
7713 * printing.el (pr-mode-alist):
7714 * simple.el (filter-buffer-substring-functions)
7715 (completion-list-insert-choice-function):
7716 * window.el (window-with-parameter, window-atom-root)
7717 (window-sides-slots, window-size-fixed, window-min-delta)
7718 (window-max-delta, window--resize-mini-window)
7719 (window--resize-child-windows-normal, window-tree)
7720 (delete-other-windows, quit-window, split-window)
7721 (display-buffer-record-window, special-display-buffer-names)
7722 (special-display-regexps, special-display-popup-frame)
7723 (same-window-p, split-window-sensibly)
7724 (display-buffer-overriding-action, display-buffer-alist)
7725 (display-buffer-base-action, display-buffer, switch-to-buffer)
7726 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7727 (fit-window-to-buffer, recenter-positions)
7728 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7729 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7730 and remove unneeded backslashes in docstrings.
7731
39c9faef
SM
77322011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7733
98449af8
SM
7734 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7735
39c9faef
SM
7736 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7737 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7738 end in ".mk".
7739 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7740 when reading the makefile (bug#10116).
7741
86ed9fdc
SM
77422011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7745 (bug#10116).
7746
5580f89d
GM
77472011-12-06 Glenn Morris <rgm@gnu.org>
7748
7749 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7750
28d3917c
CY
77512011-12-06 Chong Yidong <cyd@gnu.org>
7752
7753 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7754
a98edce9
JB
77552011-12-06 Juanma Barranquero <lekktu@gmail.com>
7756
7757 * textmodes/table.el (table-shorten-cell): Fix typo.
7758
e65adfac
CG
77592011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7760
7761 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7762
71cc0b74
EZ
77632011-12-05 Eli Zaretskii <eliz@gnu.org>
7764
7765 * descr-text.el (describe-char): Fix display of strong
7766 right-to-left characters and directional embeddings and overrides.
7767
7768 * simple.el (what-cursor-position): Fix display of codepoints of
7769 strong right-to-left characters.
7770
315bc30d
CY
77712011-12-05 Chong Yidong <cyd@gnu.org>
7772
7773 * faces.el (read-color): Doc fix.
7774
58a70b94
GM
77752011-12-05 Glenn Morris <rgm@gnu.org>
7776
7777 * align.el (align--set-marker): Add doc-string.
7778 Don't try to move something that is not a marker. (Bug#10216)
7779
5158face
GM
77802011-12-04 Glenn Morris <rgm@gnu.org>
7781
7782 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7783 overly zealous deletion of trailing whitespace.
7784
520fca41
JB
77852011-12-04 Juanma Barranquero <lekktu@gmail.com>
7786
7787 * server.el (server-delete-client): On Windows, do not try to delete
7788 the only terminal.
7789 (server-process-filter): On Windows, treat requests for a tty frame as
7790 if they were for a GUI frame if the running server is in GUI mode.
7791
5e605a2e
GM
77922011-12-03 Glenn Morris <rgm@gnu.org>
7793
7794 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7795
5c3fe83f
SM
77962011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7797
6f5e57e7
SM
7798 * electric.el: Streamline electric-indent's hook.
7799 (electric-indent-chars): Revert to simple list.
7800 (electric-indent-functions): New var.
7801 (electric-indent-post-self-insert-function): Use it.
7802
5c3fe83f
SM
7803 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7804 there's no inferior buffer (bug#10196).
7805 (prolog-consult-compile): Don't use toggle-read-only.
7806
6bdac736
MA
78072011-12-02 Michael Albinus <michael.albinus@gmx.de>
7808
7809 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7810 interrupt. (Bug#10187)
7811
6131ba7f
SM
78122011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7813
99c79fee
SM
7814 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7815 (bug#9160).
7816
6131ba7f
SM
7817 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7818 (bug#10191).
7819
cb0a02ea
JL
78202011-12-02 Juri Linkov <juri@jurta.org>
7821
7822 * info.el (Info-search): Display "end of manual" when Isearch
7823 reaches the end of single-file Info manual. (Bug#9918)
7824
66e0570c
EZ
78252011-12-02 Eli Zaretskii <eliz@gnu.org>
7826
7827 * isearch.el (isearch-message-prefix): Run the input method part
7828 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7829
02b16839
JL
78302011-12-02 Juri Linkov <juri@jurta.org>
7831
7832 * isearch.el (isearch-occur): Use `word-search-regexp' for
7833 `isearch-word'.
7834 (isearch-search-and-update): Add condition for `isearch-word' and
7835 call `word-search-regexp'. (Bug#10145)
7836
0b950688
GM
78372011-12-01 Glenn Morris <rgm@gnu.org>
7838
7839 * eshell/em-hist.el (eshell-hist-initialize):
7840 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7841 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7842
9505c3c7
SM
78432011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7846
1bbe96b2 78472011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7848
a1beca85
SM
7849 * progmodes/verilog-mode.el (verilog-pretty-expr):
7850 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7851 verilog, such as += *= and the like.
7852 (verilog-assignment-operator-re): Regular expression to find the
7853 assigment operator in a verilog assignment.
7854 (verilog-assignment-operation-re): Regular expression to find an
7855 assignment statement for pretty-expr.
7856 (verilog-in-attribute-p): Query returns true if point is in an
7857 attribute context; used to skip these for expression line up from
7858 pretty-expr.
7859 (verilog-in-parameter-p): Query returns true if point is in an
7860 parameter definition context; used to skip these for expression
7861 line up from pretty-expr.
7862 (verilog-in-parenthesis-p): Query returns true if point is in a
7863 parenthetical expression, specifically ( ) but not [ ] or { };
7864 used by pretty-expr.
7865 (verilog-just-one-space): If there is no space, don't add one.
7866 (verilog-get-lineup-indent-2): Specifically skip just attribute
7867 contexts for expression lineup, rather than skipping all
7868 parenthetical expressions.
7869 (verilog-calculate-indent): Fix comment, and fix indent.
7870 (verilog-do-indent): Indent declarations in lists (suggested by
7871 Joachim Lechner).
7872 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7873 skeleton items.
7874 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7875 by Alain Mellan).
7876
1bbe96b2 78772011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7878
7879 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7880 parameters with embedded comments. Reported by Ray Stevens.
7881 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7882 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7883 Reported by Tim Holt.
7884 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7885 instantiated by upper module causing wrong expansion until AUTOed a
7886 second time. Reported by K C Buckenmaier.
7887 (verilog-diff-auto): Fix showing .* as a difference when
7888 `verilog-auto-star-save' off. Reported by Dan Dever.
7889 (verilog-auto-reset, verilog-read-always-signals)
7890 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7891 temporary signals in reset list if
7892 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7893 style to each signal's assignment type, bug381.
7894 Reported by Thomas Esposito.
6288f0ca
WS
7895 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7896 (verilog-uvm-statement-re): Support UVM indentation and
7897 highlighting, with old OVM keywords only.
a1beca85 7898 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7899 Support AUTOTIEOFF creating non-wire data types.
7900 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7901 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7902 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7903 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7904 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7905 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7906 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7907 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7908 non-numeric vector width. Reported by Alex Reed.
7909 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7910 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7911 (verilog-auto-delete-trailing-whitespace):
7912 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7913 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7914 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7915 Fix verilog-scan-cache corruption when running user AUTO expansion
7916 hooks that call indentation routines.
7917 (verilog-simplify-range-expression): Fix typo ignoring lower case
7918 identifiers.
7919 (verilog-delete-auto): Fix delete-autos to also remove user created
7920 automatics, as long as they start with AUTO.
7921 (verilog-batch-diff-auto, verilog-diff-auto)
7922 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7923 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7924 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7925 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7926 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7927 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7928 is disabled and its cache will get corrupt, causing AUTOS not to
7929 expand. Instead use only -quick functions.
7930 (verilog-scan-region): Fix scanning over escaped quotes.
7931 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7932 (verilog-re-search-backward-quick)
7933 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7934 related functions now ignore strings, to fix misparsing of strings
7935 with magic comments embedded in them.
a1beca85
SM
7936 (verilog-read-auto-template):
7937 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7938 Reported by Brad Dobbie.
7939 (verilog-read-auto-template):
7940 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7941 Reported by Brad Dobbie.
6288f0ca
WS
7942 (verilog-auto-inst, verilog-auto-inst-param)
7943 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7944 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7945 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7946 debugging templates without merge conflicts, bug357.
7947 Reported by Brad Dobbie.
7948 (verilog-read-auto-template):
7949 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7950 Reported by Brad Dobbie.
7951 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7952 abbrevs so user won't be asked to save.
7953 (verilog-read-auto-lisp-present): Fix to start at beginning of
7954 buffer in case called outside of verilog-auto.
7955 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7956 to "X-2". Reported by Matthew Myers.
7957 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7958 all inputs from module templates. Reported by Leith Johnson.
7959 (verilog-module-inside-filename-p): Fix locating programs as with
7960 modules.
7961 (verilog-auto-inst-port): Fix vl-width expressions when using
7962 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7963 (verilog-decls-get-regs, verilog-decls-get-signals,
7964 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7965 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7966 verilog-read-decls): Combine reg and wire structures into one var
7967 structure to represent SystemVerilog concepts.
7968 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7969 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7970 (verilog-auto-wire-type, verilog-insert-definition):
7971 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7972 SystemVerilog "logic" keyword instead of "wire"/"reg".
7973 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7974 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7975 ifdef or generate if so there's not a driver conflict).
7976 Reported by Matthew Myers.
7977 (verilog-auto-declare-nettype, verilog-insert-definition):
7978 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7979 `default_nettype none. Reported by Julian Gorfajn.
7980 (verilog-read-always-signals-recurse, verilog-read-decls)
7981 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7982 malformed end statement, bug325. Reported by Joshua Wise and
7983 Andrew Drake.
7984 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7985 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7986 when expanding .* in interfaces, bug320.
7987 Reported by Pierre-David Pfister.
6288f0ca 7988 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7989 name and open parenthesis, bug317.
7990 Reported by Pierre-David Pfister.
6288f0ca
WS
7991 (verilog-simplify-range-expression): Fix simplification of
7992 multiplications inside AUTOWIRE connections, bug303.
7993 (verilog-auto-inst-port): Support parameter expansion in
7994 multidimensional arrays.
7995 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7996 after "assert property". Reported by Julian Gorfajn.
7997 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7998 with multiplication, bug303.
7999 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8000 Reported by Jan Frode Lonnum.
8001
1bbe96b2
GM
80022011-11-30 Juanma Barranquero <lekktu@gmail.com>
8003
8004 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8005 (hfy-shell-file-name, hfy-shell):
8006 * international/fontset.el (x-decompose-font-name): Fix typos.
8007
80082011-11-29 Ken Brown <kbrown@cornell.edu>
8009
8010 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8011 (gdb-version): Remove defvar.
8012 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8013 (gdb-gud-context-command, gdb-non-stop-handler)
8014 (gdb-current-context-command, gdb-stopped): Use it.
8015 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8016 (gdb-non-stop-handler): Don't enable pretty-printing here.
8017 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8018 non-stop mode. Use the following.
8019 (gdb-check-target-async): New defun.
8020 (gud-watch, gdb-stopped): Fix whitespace.
8021 (gdb-get-source-file): Don't try to display the source file if
8022 `gdb-main-file' is nil.
8023
80242011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * align.el: Try to generate fewer markers (bug#10047).
8027 (align--set-marker): New macro.
8028 (align-region): Use it.
8029
c935221f
SM
80302011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8033
e70b5064
CY
80342011-11-29 Chong Yidong <cyd@gnu.org>
8035
8036 * indent.el (indent-for-tab-command, indent-according-to-mode):
8037 Doc fix.
8038 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8039
f3af92b7
MA
80402011-11-29 Michael Albinus <michael.albinus@gmx.de>
8041
8042 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8043 aware of remote file names. (Bug#10124)
8044
ed472be9
CY
80452011-11-29 Chong Yidong <cyd@gnu.org>
8046
8047 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8048
24510c22
SM
80492011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8050
8051 * files.el (find-file): Don't use force-same-window (bug#10144).
8052 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8053 use pop-to-buffer if the selected window can't be used.
8054 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8055
c60c3703
EZ
80562011-11-28 Eli Zaretskii <eliz@gnu.org>
8057
8058 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8059 special-mode-map.
8060
e95def75
CY
80612011-11-28 Chong Yidong <cyd@gnu.org>
8062
8063 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8064
c3f1c606
NR
80652011-11-27 Nick Roberts <nickrob@snap.net.nz>
8066
8067 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8068 gdb-get-source-file-list on gdb-create-source-file-list.
8069
00db469c
EZ
80702011-11-26 Eli Zaretskii <eliz@gnu.org>
8071
8072 * whitespace.el (whitespace-newline): Use a different foreground
8073 color for 16-color light-background displays.
8074
4ad3bc2a
CY
80752011-11-24 Chong Yidong <cyd@gnu.org>
8076
8077 * window.el (display-buffer--special-action): Doc fix.
8078
e9fce1ac
JB
80792011-11-25 Juanma Barranquero <lekktu@gmail.com>
8080
8081 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8082 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8083 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8084 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8085 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8086 (avl-tree-stack-first):
8087 * emacs-lisp/cconv.el (cconv--analyse-use):
8088 * net/gnutls.el (gnutls-negotiate): Fix typos.
8089
cb825e5d
GM
80902011-11-24 Glenn Morris <rgm@gnu.org>
8091
3adbe224
GM
8092 * lpr.el (lpr-windows-system, lpr-lp-system):
8093 * mail/binhex.el (binhex-begin-line):
8094 * progmodes/grep.el (grep-history, grep-find-history):
8095 * textmodes/flyspell.el:
8096 * vc/pcvs-defs.el (cvs-global-menu):
8097 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8098 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8099 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8100
321decc8
GM
8101 * net/tls.el: Fix case of "GnuTLS".
8102
420b63ad
GM
8103 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8104
cb825e5d
GM
8105 * version.el (emacs-build-system): Give it a doc-string.
8106
a0649f08
JL
81072011-11-24 Juri Linkov <juri@jurta.org>
8108
8109 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8110
c0bc0fd4
GM
81112011-11-24 Glenn Morris <rgm@gnu.org>
8112
8113 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8114 if called on a non-mime message just toggle the headers. (Bug#8006)
8115
20db1522
JB
81162011-11-24 Juanma Barranquero <lekktu@gmail.com>
8117
8118 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8119 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8120 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8121 (allout-rebullet-heading, allout-open-sibtopic)
8122 (allout-toggle-current-subtree-encryption)
8123 (allout-toggle-subtree-encryption, allout-encrypt-string)
8124 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8125 (allout-distinctive-bullets-string, allout-auto-activation):
8126 * window.el (window-normalize-buffer-to-display):
8127 * progmodes/verilog-mode.el (verilog-batch-indent):
8128 * textmodes/bibtex.el (bibtex-field-braces-opt)
8129 (bibtex-field-strings-opt):
8130 * vc/cvs-status.el (cvs-tree-merge):
8131 Fix typos.
8132
7262a87c
MA
81332011-11-23 Michael Albinus <michael.albinus@gmx.de>
8134
8135 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8136 `non-essential' to t, in order to avoid remote connections.
8137
283430a1
EZ
81382011-11-23 Eli Zaretskii <eliz@gnu.org>
8139
a1beca85
SM
8140 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8141 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8142 case-insensitively.
8143
d2992a38
ML
81442011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8145
8146 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8147
50419064
GM
81482011-11-23 Glenn Morris <rgm@gnu.org>
8149
da94eca1
GM
8150 * paths.el (rmail-file-name): Reformat the doc-string so that it
8151 is picked up.
8152
9aac4de2
GM
8153 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8154 (rmail-auto-file): Ignore case in the "special" field names,
8155 as mail-fetch-field does for all others.
8156
8038d2d2
GM
8157 * mail/rmail.el (rmail-forward):
8158 * mail/rmailkwd.el (rmail-set-label):
8159 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8160 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8161
f3fe222a
GM
8162 * mail/rmail.el (rmail-current-message): Doc fix.
8163
50419064
GM
8164 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8165
28109f49
SM
81662011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8169
394c65f1
GM
81702011-11-22 Glenn Morris <rgm@gnu.org>
8171
8172 * mail/rmailmm.el (test-rmail-mime-handler)
8173 (test-rmail-mime-bulk-handler)
8174 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8175
f2a0aa3a
JL
81762011-11-21 Juri Linkov <juri@jurta.org>
8177
1154d12e
JB
8178 * calc/calc.el (calc-read-key-sequence):
8179 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8180
9c34a344
LMI
81812011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8182
8183 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8184 Tell the caller that the next line needs recomputation, even
8185 though it doesn't start a sexp (bug#10094).
8186
f04a3be9
SM
81872011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8190
7978747f
SM
81912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8192
f04a3be9
SM
8193 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8194 Use force-same-window.
7978747f 8195
fe7a3057
JB
81962011-11-20 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * descr-text.el (describe-char-unicode-data):
8199 * json.el (json-string-escape):
8200 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8201 (Footnote-unicode, Footnote-style-p):
8202 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8203
24901d61
CY
82042011-11-20 Chong Yidong <cyd@gnu.org>
8205
8206 * window.el (replace-buffer-in-windows): Restore interactive spec.
8207
bac7ff22
SM
82082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8209
24f3d7b9
SM
8210 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8211
bac7ff22
SM
8212 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8213 (byte-compile-global-not-obsolete-vars): New var.
8214 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8215 Use it.
8216 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8217
cd1181db
JB
82182011-11-20 Juanma Barranquero <lekktu@gmail.com>
8219
8220 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8221 * progmodes/pascal.el (electric-pascal-equal):
8222 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8223 * xml.el (xml-substitute-special): Fix typos.
8224
7fb18e9e
GM
82252011-11-20 Glenn Morris <rgm@gnu.org>
8226
8227 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8228 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8229 Doc fixes.
8230 (rmail-decode-mime-charset): Mark as obsolete.
8231
8232 * mail/rmailsum.el (rmail-message-regexp-p-1):
8233 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8234 Before using mime functions, check they are set. (Bug#10077)
8235
d5a6b3ba
JL
82362011-11-19 Juri Linkov <juri@jurta.org>
8237
8238 * info.el (Info-finder-find-node): Use `package--builtins' instead
8239 of `package-alist'. Use node names formed by the pattern "Keyword "
8240 and the keyword name.
8241
e981b61f
AS
82422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8243
1d00653d 8244 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8245
3ffbc301
JL
82462011-11-19 Juri Linkov <juri@jurta.org>
8247
8248 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8249 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8250 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8251 `old-history', `old-history-forward'. Add let-binding
8252 `window-selected'. Remove calls to `kill-buffer',
8253 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8254 before calling `Info-find-node', so `Info-find-node-2' will reread
8255 the Info file. Restore window positions only when `window-selected'
8256 is non-nil.
8257
30c62133
JL
82582011-11-19 Juri Linkov <juri@jurta.org>
8259
8260 * isearch.el (isearch-lazy-highlight-new-loop):
8261 Remove condition `(not isearch-error)'. (Bug#9918)
8262
8263 * misearch.el (multi-isearch-search-fun): Add condition
8264 `(not bound)' to ignore lazy-highlighting search.
8265 Add the search-failed message "end of multi" when the end of
8266 multi-sequence is reached. Uncapitalize the search-failed
8267 message "Repeat for next buffer".
8268
8269 * info.el (Info-search): Add the search-failed message
8270 "end of the manual" when the end of the manual is reached
8271 in Isearch mode.
8272
645ca9cf
JL
82732011-11-19 Juri Linkov <juri@jurta.org>
8274
8275 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8276 Use non-destructive `remove' instead of `delete' because
8277 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8278 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8279
df754f66
JL
82802011-11-19 Juri Linkov <juri@jurta.org>
8281
8282 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8283 to nil instead of binding `search-ring' and `regexp-search-ring'.
8284 (Bug#9185)
8285
0e23d96a
EZ
82862011-11-19 Eli Zaretskii <eliz@gnu.org>
8287
8288 * simple.el (line-move): Force movement by logical lines for any
8289 hscrolled window, not only when auto-hscroll-mode is on.
8290 (line-move-visual): Update doc string to that effect. (Bug#10076)
8291
8a6ccb66
AS
82922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8293
8294 * language/european.el (macintosh): Define as alias for mac-roman.
8295
49ae5b39
EZ
82962011-11-19 Eli Zaretskii <eliz@gnu.org>
8297
8298 * mail/rmailmm.el (rmail-mime-display-header)
8299 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8300 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8301 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8302 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8303 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8304 of a raw aref.
8305 (rmail-mime-entity-segment): To get past the tagline, move forward
8306 2 more lines, to account for the 2 empty lines that precede and
8307 follow the line with the buttons.
8308 (rmail-mime-update-tagline): Move one more line, to get past the
8309 empty line that follows the buttons in the tagline. (Bug#9520)
8310
c56cad4a
MR
83112011-11-19 Martin Rudalics <rudalics@gmx.at>
8312
8313 * window.el (window-max-delta-1, window-min-delta-1)
8314 (window-min-size-1, window-state-get-1, window-state-put-1)
8315 (window-state-put-2): Use "window--" prefix.
8316
cbe71af3
SM
83172011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8318
2ad52c60
SM
8319 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8320 (smie-warning-count): New var.
8321 (smie-set-prec2tab): Use it.
8322 (smie-bnf->prec2): Improve warnings. Add docstring.
8323 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8324 (smie-bnf--set-class): New function.
8325 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8326 corner case.
8327
6944dbc1
SM
8328 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8329 (compilation-error-properties, compilation-move-to-column):
8330 Handle compilation-first-column while in the target buffer.
8331
c400c4d7
SM
8332 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8333 Don't hardcode point-min==1.
8334
6dbe3e96
SM
8335 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8336 (eshell-rewrite-for-command): Remove workaround.
8337 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8338 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8339 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8340
cbe71af3
SM
8341 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8342
a8e1496d
GM
83432011-11-17 Glenn Morris <rgm@gnu.org>
8344
8345 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8346 Ignore buffer-local generated-autoload-file if it is the same
8347 as the global value. (Bug#10049)
8348
df85d315
JB
83492011-11-17 Juanma Barranquero <lekktu@gmail.com>
8350
8351 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8352 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8353 (reftex-toc-previous-heading, reftex-toc-max-level)
8354 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8355 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8356 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8357 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8358 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8359 (reftex-toc-rename-label, reftex-toc-visit-location)
8360 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8361 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8362 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8363 leaving "*toc*" only for references to the buffer.
8364
a0c2d0ae
MR
83652011-11-17 Martin Rudalics <rudalics@gmx.at>
8366
8367 * window.el (window-resize, delete-window, split-window):
8368 Replace window-splits by window-combination-resize.
1d00653d 8369 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8370
35c0bac8
GM
83712011-11-17 Glenn Morris <rgm@gnu.org>
8372
8373 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8374 Make bash entry derive from sh entry, not shell entry.
8375
d0c8fc8a
MA
83762011-11-16 Michael Albinus <michael.albinus@gmx.de>
8377
7262a87c
MA
8378 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8379 local file name.
8380
7877f373
JB
83812011-11-16 Juanma Barranquero <lekktu@gmail.com>
8382
8383 * menu-bar.el (menu-bar-file-menu):
8384 * printing.el (pr-ps-utility):
8385 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8386 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8387 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8388 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8389 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8390 (icalendar--convert-cyclic-to-ical)
8391 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8392 (icalendar--convert-ical-to-diary)
8393 (icalendar--convert-recurring-to-diary)
8394 (icalendar--convert-non-recurring-all-day-to-diary)
8395 (icalendar-import-format-sample):
8396 * progmodes/idlw-shell.el (idlwave-shell-mode):
8397 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8398 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8399 (vhdl-ps-print-init): Fix typos.
8400
10649b82
KM
84012011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8402
9d0cfcd6
GM
8403 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8404 FSF and collapse date sequence, obscure author/maintainer email address
8405 better, remove extra version line, track relocation of author's webpage.
10649b82 8406
9d0cfcd6
GM
8407 * progmodes/python.el (python-pdbtrack-input-prompt)
8408 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8409 regular python pdb prompts. Adjustments shamelessly taken exactly as
8410 suggested in EmacsWiki page (tiny change):
8411 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8412
58179cce
JB
84132011-11-16 Juanma Barranquero <lekktu@gmail.com>
8414
8415 * expand.el (expand-pos, expand-index, expand-point):
8416 Remove redundant info from docstring.
8417 (expand-add-abbrevs): Doc fix.
8418 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8419 (expand-sample-perl-mode-expand-list): Fix typos.
8420
8421 * net/dbus.el (dbus-event-member-name):
8422 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8423 * term/pc-win.el (msdos-create-frame-with-faces):
8424 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8425
b6f67890
MR
84262011-11-16 Martin Rudalics <rudalics@gmx.at>
8427
8428 * window.el (split-window, window-state-get-1)
8429 (window-state-put-1, window-state-put-2): Rename occurrences of
8430 window-nest to window-combination-limit.
1d00653d 8431 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8432
ce7ddba0
CY
84332011-11-16 Chong Yidong <cyd@gnu.org>
8434
8435 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8436 regexp (Bug#10033).
8437
3ae704f4
SM
84382011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8441 `completing-read' will remove *Completions* and will preserve
8442 current-buffer for us.
8443 (tmm-add-prompt): Users of *Completions* will always (re)set its
8444 major mode.
8445 (tmm-old-comp-map): Remove.
8446
6ad1cdde
GM
84472011-11-16 Glenn Morris <rgm@gnu.org>
8448
8449 * mail/rmailedit.el: Require rmailmm when compiling.
8450 (rmail-old-mime-state): New declaration.
8451 (rmail-edit-current-message): If editing a mime message,
8452 edit the "raw" message from the mbox buffer.
8453 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8454
d20faa20
GM
84552011-11-15 Glenn Morris <rgm@gnu.org>
8456
8457 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8458 which wasn't being used. Add optional arg to force given state.
8459 (rmail-mime): Add optional arg to force given state.
8460
c7015153
JB
84612011-11-15 Juanma Barranquero <lekktu@gmail.com>
8462
8463 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8464 * frame.el (display-mm-dimensions-alist):
8465 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8466 (outline-move-subtree-down):
8467 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8468 (newsticker--treeview-do-get-node):
8469 * net/quickurl.el (quickurl-list-buffer-name):
8470 * progmodes/dcl-mode.el (dcl-mode):
8471 * progmodes/gdb-mi.el (gdb-mapcar*):
8472 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8473
45261b50
GM
84742011-11-15 Glenn Morris <rgm@gnu.org>
8475
8476 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8477 in a boolean sense, so just make it a boolean, and fix the doc.
8478 (rmail-show-mime-function, rmail-mime-feature)
8479 (rmail-require-mime-maybe): Doc fixes.
8480 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8481
8482 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8483
0d26e0b6
JB
84842011-11-15 Juanma Barranquero <lekktu@gmail.com>
8485
8486 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8487 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8488 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8489 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8490
447f30f6
GM
84912011-11-15 Glenn Morris <rgm@gnu.org>
8492
672b871d
GM
8493 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8494 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8495 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8496 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8497 (rmail-mime, rmail-show-mime): Doc fixes.
8498
f6aa5bb1
GM
8499 * term/ns-win.el (mode-line-frame-identification):
8500 Leave it alone. (Bug#10051)
8501
947cd66b
GM
8502 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8503
447f30f6
GM
8504 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8505 Handle empty buffers. (Bug#9978)
8506
0b381c7e
JB
85072011-11-14 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * international/mule.el (define-charset):
8510 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8511 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8512 * progmodes/verilog-mode.el (verilog-backward-token):
8513 * textmodes/ispell.el (lookup-words):
8514 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8515
71e027ac
GM
85162011-11-14 Glenn Morris <rgm@gnu.org>
8517
56632ce4
GM
8518 * progmodes/executable.el
8519 (executable-make-buffer-file-executable-if-script-p):
8520 Handle file-modes returning nil.
8521
40500957
GM
8522 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8523 message - not necessary, and causes problems. (Bug#9831)
8524
071c2340
GM
8525 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8526
d3cfca60
GM
8527 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8528
71e027ac
GM
8529 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8530 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8531 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8532
89d61221
MR
85332011-11-12 Martin Rudalics <rudalics@gmx.at>
8534
8535 * window.el (window-resize, delete-window): Use window-splits
8536 variable instead of function.
8537 (window-state-get-1, window-state-put-2, window-state-put):
8538 Don't deal with windows' splits status.
8539
98282f6f
GM
85402011-11-12 Glenn Morris <rgm@gnu.org>
8541
8542 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8543 (apropos-documentation): Doc fixes.
8544
40a8bdf6
JB
85452011-11-11 Juanma Barranquero <lekktu@gmail.com>
8546
8547 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8548 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8549
65bd19ff
SM
85502011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * electric.el (electric-indent-post-self-insert-function): Make it
8553 possible for a char to only indent in some circumstances.
8554 (electric-indent-mode): Simplify.
8555
54f9154c
MR
85562011-11-11 Martin Rudalics <rudalics@gmx.at>
8557
8558 * window.el (windows-with-parameter): Remove unused function.
8559 (windows-at-side): Rename to window-at-side-list.
8560 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8561 (window-side-check, window-size-ignore, window-size-fixed-1)
8562 (window-in-direction-2): Prefix with "window--".
8563 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8564
68cbc58b
GM
85652011-11-11 Glenn Morris <rgm@gnu.org>
8566
8567 * subr.el (eval-after-load): If FILE is already loaded,
8568 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8569
b2621720
GM
85702011-11-10 Glenn Morris <rgm@gnu.org>
8571
9a4de110
GM
8572 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8573 Call svn via vc-svn-command rather than vc-do-command.
8574 (vc-svn-command): Add --non-interactive. (Bug#9993)
8575 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8576
b2621720
GM
8577 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8578 Add toggle-read-only. (Bug#7292)
8579 * files.el (toggle-read-only): Mention that it should only
8580 be used interactively. (Bug#10006)
8581
1dce7193
SM
85822011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8583
d9ac1a1e
SM
8584 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8585 Adjust regexp for OCaml warnings.
8586
0c325082
SM
8587 * electric.el (electric-pair-post-self-insert-function): Let user
8588 turn it off buffer-locally (bug#9932).
8589
90132c14
SM
8590 * progmodes/python.el (python-beginning-of-statement):
8591 Rewrite (bug#2703).
8592
1dce7193
SM
8593 * progmodes/compile.el: Better handle TABs (bug#9749).
8594 (compilation-internal-error-properties)
8595 (compilation-next-error-function): Obey the target buffer's
8596 compilation-error-screen-columns.
8597
c4e7c63a
JB
85982011-11-09 Juanma Barranquero <lekktu@gmail.com>
8599
8600 * progmodes/meta-mode.el: Remove obsolete comments.
8601 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8602 Fix typos in docstrings.
8603
2cffd681
MR
86042011-11-09 Martin Rudalics <rudalics@gmx.at>
8605
8606 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8607 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8608 (window--resizable): New function. Make all callers of
8609 window-resizable call window--resizable instead.
8610 (window-resizable): Rewrite in terms of window--resizable.
8611
0edcba87
GM
86122011-11-08 Glenn Morris <rgm@gnu.org>
8613
8614 * progmodes/delphi.el (delphi-mode-syntax-table):
8615 Let define-derived-mode define a proper syntax table. (Bug#9994)
8616
4b0d61e3
SM
86172011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8618
8619 * window.el: Stay away from defsubst.
8620 (window-list-no-nils): Remove.
8621 (window-state-get-1, window-state-get): Use backquote instead.
8622
cd394be1 86232011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8624
4b0d61e3 8625 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8626 Fix incorrect use of default argument in `completing-read'.
8627
e1c2c6f2
MR
86282011-11-08 Martin Rudalics <rudalics@gmx.at>
8629
8630 * window.el (display-buffer-function, special-display-function):
8631 Mention display-buffer-record-window but do not mention
8632 help-setup parameter in doc-strings.
b3f4a882 8633 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8634
105216ed
CY
86352011-11-08 Chong Yidong <cyd@gnu.org>
8636
8637 * window.el (window-total-height, window-total-width): Doc fix.
8638 (window-body-size): Move from C.
8639 (window-body-height, window-body-width): Move to C.
8640
0a9f9ab5
SM
86412011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8642
8643 * window.el: Make special-display like display-buffer-alist (bug#9532).
8644 (display-buffer--special-action): New function, morphed
8645 from display-buffer--special.
8646 (display-buffer): Use it to handle special-display-buffers at higher
8647 priority (just after display-buffer-alist).
8648 (display-buffer-fallback-action, display-buffer--other-frame-action)
8649 (pop-to-buffer-same-window): Remove display-buffer--special.
8650
a769dd15
GM
86512011-11-07 Glenn Morris <rgm@gnu.org>
8652
8653 * calendar/cal-menu.el (cal-menu-set-date-title):
8654 Do nothing if not in a calendar. (Bug#9976)
8655
05a61ee3
SM
86562011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8657
8658 * files.el (find-file): Always use selected-window.
8659
be7f5545
MR
86602011-11-07 Martin Rudalics <rudalics@gmx.at>
8661
8662 * window.el (window-combinations): Make WINDOW argument
8663 mandatory. Rewrite doc-string.
8664 (walk-window-subtree, window-atom-check, window-min-delta)
8665 (window-max-delta, window--resize-this-window)
8666 (window--resize-root-window-vertically, window-tree)
8667 (balance-windows, window-state-put): Rewrite doc-strings as to
8668 not mention the term "subwindow".
8669 (window--resize-subwindows-skip-p): Rename to
8670 window--resize-child-windows-skip-p.
8671 (window--resize-subwindows-normal): Rename to
8672 window--resize-child-windows-normal.
8673 (window--resize-subwindows): Rename to
8674 window--resize-child-windows.
8675 (window-or-subwindow-p): Rename to window--in-subtree-p.
8676
3c6702ef
ML
86772011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8678
8679 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8680 Ensure that mbox format messages end in two newlines (Bug#9974).
8681
49745b39
CY
86822011-11-06 Chong Yidong <cyd@gnu.org>
8683
8684 * window.el (window-combination-p): Function deleted; its
8685 side-effect is not used in any existing code.
8686 (window-combinations, window-combined-p): Call window-*-child
8687 directly.
8688
24300f5f
CY
86892011-11-05 Chong Yidong <cyd@gnu.org>
8690
8691 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8692 (window-size-ignore, window-state-get): Callers changed.
8693 (window-normalize-window): Rename from window-normalize-any-window.
8694 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8695 (window-normalize-live-window): Delete.
447f16b8
CY
8696 (window-combination-p, window-combined-p, window-combinations)
8697 (walk-window-subtree, window-atom-root, window-min-size)
8698 (window-sizable, window-sizable-p, window-size-fixed-p)
8699 (window-min-delta, window-max-delta, window-resizable)
8700 (window-resizable-p, window-full-height-p, window-full-width-p)
8701 (window-current-scroll-bars, window-point-1, set-window-point-1)
8702 (window-at-side-p, window-in-direction, window-resize)
8703 (adjust-window-trailing-edge, maximize-window, minimize-window)
8704 (window-deletable-p, delete-window, delete-other-windows)
8705 (record-window-buffer, unrecord-window-buffer)
8706 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8707 (quit-window, split-window, window-state-put)
8708 (set-window-text-height, fit-window-to-buffer)
8709 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8710
89bd5ee1
EZ
87112011-11-04 Eli Zaretskii <eliz@gnu.org>
8712
53479029
EZ
8713 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8714 rfc2047-decode-string.
8715 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8716 warnings.
8717
89bd5ee1
EZ
8718 * window.el (window-body-height, window-body-width): Mention in
8719 the doc string that the return values are in frame's canonical
8720 units. (Bug#9949)
8721
bd17fdee
AM
87222011-11-03 Alan Mackenzie <acm@muc.de>
8723
8724 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8725 change in cc-engine.el.
8726
acc825c5
SM
87272011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8728
8729 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8730
1885e5b8
MR
87312011-11-02 Martin Rudalics <rudalics@gmx.at>
8732
8733 * window.el (quit-window): Call unrecord-window-buffer after
8734 showing another buffer in the window. (Bug#9937)
acc825c5 8735 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8736
ebe06da9
JB
87372011-11-02 Juanma Barranquero <lekktu@gmail.com>
8738
8739 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8740 Accept status with more than 9 shelves. (Bug#9935)
8741 Reported by Colin D Bennett <colin@gibibit.com>.
8742
4ee88440
MR
87432011-11-01 Martin Rudalics <rudalics@gmx.at>
8744
8745 * help.el (with-help-window): Don't reference
8746 temp-buffer-show-specifiers in doc-string.
8747
08e1d82c
AS
87482011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8749
8750 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8751 menu-item.
8752
84bd6e9e
VJL
87532011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8754
8755 * whitespace.el: New version 13.2.2.
8756 (whitespace-newline-mode): Disable properly. Reported by Sarah
8757 <EmacsWiki>.
8758
dba0634a
UJ
87592011-10-30 Ulf Jasper <ulf.jasper@web.de>
8760
8761 * net/newst-treeview.el: Remove "Time-stamp".
8762 (newsticker--group-manage-orphan-feeds): Do not call
8763 newsticker--treeview-tree-update.
db22a3c2
JB
8764 (newsticker-treeview-update, newsticker-treeview):
8765 Call newsticker--treeview-tree-update if necessary.
dba0634a 8766
3d8daefe
MR
87672011-10-30 Martin Rudalics <rudalics@gmx.at>
8768
8769 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8770 (window-iso-combinations): Remove "iso-" infix.
8771 Suggested by Chong Yidong.
3d8daefe
MR
8772 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8773 (window-max-delta-1, window-resize, window--resize-siblings)
8774 (window--resize-this-window, adjust-window-trailing-edge)
8775 (split-window, balance-windows-1)
8776 (shrink-window-if-larger-than-buffer):
8777 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8778 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8779
1bc4c3ae
SM
87802011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8783 in place (bug#9907).
8784 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8785 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8786 (eshell-structure-basic-command, eshell-rewrite-while-command)
8787 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8788 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8789 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8790 (eshell-do-pipelines-synchronously, eshell-eval-command):
8791 Use backquotes and prefer setq to set.
8792 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8793 (eshell-macrop): Use functionp.
c1e2f5fa 8794 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8795
30b65d9c
CY
87962011-10-30 Chong Yidong <cyd@gnu.org>
8797
8798 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8799 instead of set-mark (Bug#9810).
8800
2d197ffb
CY
88012011-10-30 Chong Yidong <cyd@gnu.org>
8802
8803 * window.el (split-window-below, split-window-right): Rename from
8804 split-window-above-each-other and split-window-side-by-side
8805 respectively. All callers changed.
8806 (split-window-sensibly, split-window-sensibly): Use them.
8807 (split-window-keep-point): Doc fix.
8808
8809 * isearch.el: Add isearch-scroll property to split-window-below
8810 and split-window-right.
8811
8812 * follow.el (follow-mode):
8813 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8814 * progmodes/ada-xref.el (ada-gdb-application):
8815 * emulation/vip.el (vip-buffer-in-two-windows):
8816 * image-dired.el (image-dired-dired-with-window-configuration):
8817 * dired-x.el (dired-do-find-marked-files):
8818 * dired.el (dired-pop-to-buffer):
8819 * bs.el (bs--show-with-configuration):
8820 * vc/emerge.el (emerge-setup-windows):
8821 * textmodes/two-column.el (2C-two-columns):
8822 * textmodes/reftex-toc.el (reftex-toc):
8823 * progmodes/gdb-mi.el (gdb-setup-windows):
8824 * progmodes/fortran.el (fortran-window-create):
8825 * net/newst-treeview.el (newsticker--treeview-window-init):
8826 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8827 * emulation/tpu-edt.el (tpu-gold-map):
8828 * emulation/crisp.el (crisp-mode-map):
8829 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8830
38bb2ca8
CY
88312011-10-29 Chong Yidong <cyd@gnu.org>
8832
aa4de341
CY
8833 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8834
e1eb5385
CY
8835 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8836
5d2ece3c
CY
8837 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8838 forged Ispell output (Bug#7904).
8839
38bb2ca8
CY
8840 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8841
d0af9f77
SM
88422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * doc-view.el: Avoid ugly errors about not finding nil.
8845 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8846 (doc-view-dvipdf-program, doc-view-unoconv-program)
8847 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8848 Avoid nil or absolute file name as default value.
8849 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8850
52bedd34
AM
88512011-10-28 Alan Mackenzie <acm@muc.de>
8852
db22a3c2 8853 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8854
7e43cfa5
AM
88552011-10-28 Alan Mackenzie <acm@muc.de>
8856
8857 Amend the handling of c-beginning/end-of-defun in nested declaration
8858 scopes.
8859
52bedd34
AM
8860 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8861 cc-langs.el. Change it to a defcustom.
7e43cfa5 8862
52bedd34
AM
8863 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8864 cc-vars.el.
7e43cfa5 8865
d0af9f77
SM
8866 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8867 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8868
52bedd34 8869 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8870 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8871 (c-widen-to-enclosing-decl-scope): New function.
8872 (c-while-widening-to-decl-block): New macro.
8873 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8874 outward for defun boundaries, and correspondingly change symbol
8875 `respect-enclosure' to `go-outward'.
8876 (c-declaration-limits): Change algorithm to report only the "innermost"
8877 defun's boundaries.
8878
1a2ce9ee
DD
88792011-10-28 Deniz Dogan <deniz@dogan.se>
8880
8881 * net/rcirc.el (rcirc-mode): Use hard newlines.
8882
bc97a826
AM
88832011-10-28 Alan Mackenzie <acm@muc.de>
8884
8885 Amend to indent and fontify macros "which include their own semicolon"
8886 correctly, using the "virtual semicolon" mechanism.
8887
52bedd34 8888 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8889
d0af9f77 8890 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8891 Recode to scan one line at a time rather than having \n and \r
58179cce 8892 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8893 (c-forward-label): Amend for virtual semicolons.
58179cce 8894 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8895
52bedd34
AM
8896 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8897 of the new C macros.
bc97a826 8898
52bedd34 8899 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8900 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8901 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8902 (c-opt-cpp-macro-define): Make into a full language variable.
8903 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8904 AWK Mode (including \n, \r) removed, no longer needed.
8905
d0af9f77
SM
8906 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8907 Invoke c-make-macro-with-semi-re.
bc97a826 8908
52bedd34
AM
8909 * progmodes/cc-vars.el (c-macro-with-semi-re):
8910 (c-macro-names-with-semicolon): New variables.
58179cce 8911 (c-make-macro-with-semi-re): New function.
bc97a826 8912
7a6c0941
SM
89132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * vc/log-edit.el: Fill empty field rather than adding new one.
8916 (log-edit-add-field): New function.
8917 (log-edit-insert-changelog): Use it.
8918
b0c4cdcf
ML
89192011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8920
8921 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8922
ee1f1da9
SM
89232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8926 (gdb--check-interpreter): New function.
8927 (gdb): Use it.
8928
51bc5f8b
GM
89292011-10-27 Glenn Morris <rgm@gnu.org>
8930
416a2c45
GM
8931 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8932 (least-positive-float, least-negative-float)
8933 (least-positive-normalized-float, least-negative-normalized-float)
8934 (float-epsilon, float-negative-epsilon):
8935 Remove unnecessary declarations.
8936
8937 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8938 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8939 (least-positive-float, least-negative-float)
8940 (least-positive-normalized-float, least-negative-normalized-float)
8941 (float-epsilon, float-negative-epsilon): Add doc-strings,
8942 based on those in cl.texi.
8943
51bc5f8b
GM
8944 * files.el (set-visited-file-name): If the major-mode changed,
8945 reload the local variables. (Bug#9796)
8946
15de15c6
CY
89472011-10-27 Chong Yidong <cyd@gnu.org>
8948
8949 * subr.el (change-major-mode-after-body-hook): New hook.
8950 (run-mode-hooks): Run it.
8951
ee1f1da9
SM
8952 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8953 Use change-major-mode-before-body-hook.
15de15c6
CY
8954
8955 * simple.el (fundamental-mode):
8956 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8957 change introducing fundamental-mode-hook.
8958
5430d399
JB
89592011-10-26 Juanma Barranquero <lekktu@gmail.com>
8960
acc825c5 8961 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8962
ad74a69e
MA
89632011-10-26 Michael Albinus <michael.albinus@gmx.de>
8964
8965 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8966 tramp.el explicitly. (Bug#7583)
ad74a69e 8967
71d4c2a5
SM
89682011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8969
8970 * progmodes/octave-mod.el:
8971 * progmodes/octave-inf.el: Update maintainer.
8972
b1f6fa26
CY
89732011-10-26 Chong Yidong <cyd@gnu.org>
8974
8975 * subr.el (with-wrapper-hook): Rewrite doc.
8976
3f04efd6
MA
89772011-10-25 Michael Albinus <michael.albinus@gmx.de>
8978
8979 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8980 filenames "/method:foo:". (Bug#9793)
3f04efd6 8981
410488d3
SM
89822011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8985 (bug#9865).
8986
c1ebb47e
GM
89872011-10-24 Glenn Morris <rgm@gnu.org>
8988
8989 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8990
7f5c46c7
MA
89912011-10-24 Michael Albinus <michael.albinus@gmx.de>
8992
8993 * notifications.el: Add the requirement of a running D-Bus session
8994 bus to the Commentary.
8995
db2440b6
JL
89962011-10-24 Juri Linkov <juri@jurta.org>
8997
8998 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8999 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9000 (Bug#9364)
9001
feecf435
JL
90022011-10-24 Juri Linkov <juri@jurta.org>
9003
9004 * info.el (Info-following-node-name-re): Add newline to the list
9005 of allowed characters for leading space. (Bug#9824)
9006
a3839de2
SM
90072011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9008
acc825c5
SM
9009 * progmodes/octave-inf.el (inferior-octave-mode-map):
9010 Fix C-c C-h binding.
a3839de2
SM
9011 * progmodes/octave-mod.el (octave-help): Remove.
9012
09388e76
MA
90132011-10-23 Michael Albinus <michael.albinus@gmx.de>
9014
9015 Sync with Tramp 2.2.3.
9016
9017 * net/tramp-cache.el (top): Pacify byte-compiler using
9018 `init-file-user' and `site-run-file'.
9019
9020 * net/trampver.el: Update release number.
9021
86c60681
CY
90222011-10-23 Chong Yidong <cyd@gnu.org>
9023
9024 * files.el (toggle-read-only): Remove obsolete comment about
9025 version control.
9026
9027 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9028 for toggle-read-only. Note that this hasn't called vc-next-action
9029 since 2008-05-02, though it wasn't documented at the time.
9030
a3839de2
SM
9031 * vc/ediff-init.el (ediff-toggle-read-only-function):
9032 Use toggle-read-only.
86c60681 9033
cd5495ff
AM
90342011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9035
9036 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9037 of c-parse-state.
9038
00b77525 9039 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9040 correct faulty logical expression.
cd5495ff
AM
9041 (c-parse-state-state, c-record-parse-state-state):
9042 (c-replay-parse-state-state): New defvar/defuns.
9043 (c-debug-parse-state): Use new functions.
9044
42ee24ed
MR
90452011-10-22 Martin Rudalics <rudalics@gmx.at>
9046
9047 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9048 last fix. Use window-in-direction correctly.
42ee24ed 9049
a7dee7e7
CY
90502011-10-21 Chong Yidong <cyd@gnu.org>
9051
9052 * progmodes/idlwave.el (idlwave-mode):
9053 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9054 require-final-newline; that's done in prog-mode.
9055 Suggested by Stefan Monnier.
a7dee7e7 9056
e07b9a6d
MR
90572011-10-21 Martin Rudalics <rudalics@gmx.at>
9058
9059 * mouse.el (mouse-drag-window-above)
9060 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9061 (mouse-drag-mode-line-1, mouse-drag-header-line)
9062 (mouse-drag-vertical-line-rightward-window): Remove.
9063 (mouse-drag-line): New function.
9064 (mouse-drag-mode-line, mouse-drag-header-line)
9065 (mouse-drag-vertical-line): Call mouse-drag-line.
9066 * window.el (window-at-side-p, windows-at-side): New functions.
9067
7e1361d9
UM
90682011-10-21 Ulrich Mueller <ulm@gentoo.org>
9069
9070 * tar-mode.el (tar-grind-file-mode):
9071 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9072
30fcaf3a
CY
90732011-10-21 Chong Yidong <cyd@gnu.org>
9074
9075 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9076 * progmodes/vera-mode.el (vera-mode):
9077 Use mode-require-final-newline.
30fcaf3a 9078
516eddb0
GM
90792011-10-20 Glenn Morris <rgm@gnu.org>
9080
db22a3c2 9081 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9082
10d5f513
CS
90832011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9084
9085 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9086
ac6c8639
CY
90872011-10-20 Chong Yidong <cyd@gnu.org>
9088
9089 * emulation/cua-base.el (cua-mode):
9090 * mail/footnote.el (footnote-mode):
9091 * mail/mailabbrev.el (mail-abbrevs-mode):
9092 * net/xesam.el (xesam-minor-mode):
9093 * progmodes/bug-reference.el (bug-reference-mode):
9094 * progmodes/cap-words.el (capitalized-words-mode):
9095 * progmodes/compile.el (compilation-minor-mode)
9096 (compilation-shell-minor-mode):
9097 * progmodes/gud.el (gud-tooltip-mode):
9098 * progmodes/hideif.el (hide-ifdef-mode):
9099 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9100 * progmodes/subword.el (subword-mode):
9101 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9102 * progmodes/which-func.el (which-function-mode):
9103 * term/tvi970.el (tvi970-set-keypad-mode):
9104 * term/vt100.el (vt100-wide-mode):
9105 * textmodes/flyspell.el (flyspell-mode):
9106 * textmodes/ispell.el (ispell-minor-mode):
9107 * textmodes/nroff-mode.el (nroff-electric-mode):
9108 * textmodes/paragraphs.el (use-hard-newlines):
9109 * textmodes/refill.el (refill-mode):
9110 * textmodes/reftex.el (reftex-mode):
9111 * textmodes/rst.el (rst-minor-mode):
9112 * textmodes/sgml-mode.el (html-autoview-mode)
9113 (sgml-electric-tag-pair-mode):
9114 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9115 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9116 * emulation/crisp.el (crisp-mode):
9117 * emacs-lisp/eldoc.el (eldoc-mode):
9118 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9119 minor mode behavior.
9120
aa42ab43
JL
91212011-10-19 Juri Linkov <juri@jurta.org>
9122
9123 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9124 the list of hard-coded chars with escape-glyph face.
9125
89400f1d
SM
91262011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9129
305c07f6
MA
91302011-10-19 Michael Albinus <michael.albinus@gmx.de>
9131
9132 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9133 running process.
9134
13754b54
GM
91352011-10-19 Glenn Morris <rgm@gnu.org>
9136
9137 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9138 Ignore ignored files. (Bug#9726)
9139
06e21633
CY
91402011-10-19 Chong Yidong <cyd@gnu.org>
9141
9142 Doc fix for minor modes, stating that an omitted argument enables
9143 the mode unconditionally when called from Lisp.
9144
9145 * abbrev.el (abbrev-mode):
9146 * allout.el (allout-mode):
9147 * autoinsert.el (auto-insert-mode):
9148 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9149 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9150 (global-auto-revert-mode):
9151 * battery.el (display-battery-mode):
9152 * composite.el (global-auto-composition-mode)
9153 (auto-composition-mode):
9154 * delsel.el (delete-selection-mode):
9155 * desktop.el (desktop-save-mode):
9156 * dired-x.el (dired-omit-mode):
9157 * dirtrack.el (dirtrack-mode):
9158 * doc-view.el (doc-view-minor-mode):
9159 * double.el (double-mode):
9160 * electric.el (electric-indent-mode, electric-pair-mode):
9161 * emacs-lock.el (emacs-lock-mode):
9162 * epa-hook.el (auto-encryption-mode):
9163 * follow.el (follow-mode):
9164 * font-core.el (font-lock-mode):
9165 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9166 * help.el (temp-buffer-resize-mode):
9167 * hilit-chg.el (highlight-changes-mode)
9168 (highlight-changes-visible-mode):
9169 * hi-lock.el (hi-lock-mode):
9170 * hl-line.el (hl-line-mode, global-hl-line-mode):
9171 * icomplete.el (icomplete-mode):
9172 * ido.el (ido-everywhere):
9173 * image-file.el (auto-image-file-mode):
9174 * image-mode.el (image-minor-mode):
9175 * iswitchb.el (iswitchb-mode):
9176 * jka-cmpr-hook.el (auto-compression-mode):
9177 * linum.el (linum-mode):
9178 * longlines.el (longlines-mode):
9179 * master.el (master-mode):
9180 * mb-depth.el (minibuffer-depth-indicate-mode):
9181 * menu-bar.el (menu-bar-mode):
9182 * minibuf-eldef.el (minibuffer-electric-default-mode):
9183 * mouse-sel.el (mouse-sel-mode):
9184 * msb.el (msb-mode):
9185 * mwheel.el (mouse-wheel-mode):
9186 * outline.el (outline-minor-mode):
9187 * paren.el (show-paren-mode):
9188 * recentf.el (recentf-mode):
9189 * reveal.el (reveal-mode, global-reveal-mode):
9190 * rfn-eshadow.el (file-name-shadow-mode):
9191 * ruler-mode.el (ruler-mode):
9192 * savehist.el (savehist-mode):
9193 * scroll-all.el (scroll-all-mode):
9194 * scroll-bar.el (scroll-bar-mode):
9195 * server.el (server-mode):
9196 * shell.el (shell-dirtrack-mode):
9197 * simple.el (auto-fill-mode, transient-mark-mode)
9198 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9199 (line-number-mode, column-number-mode, size-indication-mode)
9200 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9201 * strokes.el (strokes-mode):
9202 * time.el (display-time-mode):
9203 * t-mouse.el (gpm-mouse-mode):
9204 * tool-bar.el (tool-bar-mode):
9205 * tooltip.el (tooltip-mode):
9206 * type-break.el (type-break-mode-line-message-mode)
9207 (type-break-query-mode):
9208 * view.el (view-mode):
9209 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9210 (global-whitespace-mode, global-whitespace-newline-mode):
9211 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9212
a3839de2
SM
9213 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9214 Fix autogenerated docstring.
06e21633 9215
5214e501
JL
92162011-10-19 Juri Linkov <juri@jurta.org>
9217
9218 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9219 by checking environment variables "DESKTOP_SESSION" and
9220 "XDG_CURRENT_DESKTOP". (Bug#9779)
9221
195f8db9
JL
92222011-10-19 Juri Linkov <juri@jurta.org>
9223
9224 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9225 (browse-url-chromium-program, browse-url-chromium-arguments):
9226 New defcustoms.
9227 (browse-url-default-browser): Check for `browse-url-chromium' and
9228 call `browse-url-chromium-program'.
9229 (browse-url-chromium): New command. (Bug#9779)
9230
343a34ff
JB
92312011-10-18 Juanma Barranquero <lekktu@gmail.com>
9232
9233 * facemenu.el (list-colors-duplicates): On Windows, detect more
9234 duplicates by assuming that only colors matching "^System" are
9235 special "system colors". (Bug#9722)
9236
6978a151
SM
92372011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9240 to distinguish the author from the committer.
9241
6a80b297
MA
92422011-10-18 Michael Albinus <michael.albinus@gmx.de>
9243
9244 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9245
b31a5677
JK
92462011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9247
9248 * international/mule.el (sgml-html-meta-auto-coding-function):
9249 Add support for detecting encoding in HTML5 specified only as
9250 <meta charset="UTF-8">. Implementation just makes http-equiv and
9251 content-type parts from HTML4 encoding string optional. (Bug#9716)
9252
80c6d77f
GM
92532011-10-18 Glenn Morris <rgm@gnu.org>
9254
9255 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9256
08b0fee8
CY
92572011-10-18 Chong Yidong <cyd@gnu.org>
9258
9259 * faces.el (cursor): Doc fix.
9260
67e729a5
CY
92612011-10-17 Chong Yidong <cyd@gnu.org>
9262
9263 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9264
343a34ff 92652011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9266
9267 * dirtrack.el (dirtrack): Support shell buffers with path
9268 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9269
0bc06380
TZ
92702011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9271
9272 * json.el: Bump version to 1.3 and note change in History.
9273 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9274
8b79f3e0
SM
92752011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9276
5a7c536b
SM
9277 * comint.el (comint-insert-input, comint-send-input)
9278 (comint-get-old-input-default, comint-backward-matching-input)
9279 (comint-next-prompt): Use nil instead of `input' for field property of
9280 past user input (bug#114).
9281
96a8a0df
SM
9282 * minibuffer.el (completion--replace): Inherit surrounding properties
9283 (bug#114).
9284 (minibuffer-complete-and-exit): Use it.
9285
8b79f3e0
SM
9286 * comint.el (comint--table-subvert): Quote the all-completions output
9287 (bug#9160).
9288
b8f7ff0d
MR
92892011-10-17 Martin Rudalics <rudalics@gmx.at>
9290
8b79f3e0 9291 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9292
b8f7ff0d 9293 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9294 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9295 entries and separate them from frame entries.
9296
c235b555
GM
92972011-10-15 Glenn Morris <rgm@gnu.org>
9298
9299 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9300 Doc fixes.
9301
6bbfa6e1
CY
93022011-10-15 Chong Yidong <cyd@stupidchicken.com>
9303
8b79f3e0
SM
9304 * net/network-stream.el (network-stream-open-starttls):
9305 Improve detection of failure due to lack of TLS support.
ec5c990d 9306
6bbfa6e1
CY
9307 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9308 putting the input text in front and in bold.
9309
98488977
SM
93102011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9311
3d1337be
SM
9312 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9313
ee0b45e4
SM
9314 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9315 empty buffer.
9316
98488977
SM
9317 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9318 unread-command-events rather than pushing yet-another event.
9319
186f4720
EZ
93202011-10-14 Eli Zaretskii <eliz@gnu.org>
9321
9322 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9323 the explanation of the possible choices. Make the options passed
9324 to completing-read shorter.
9325
8b7a997c
AM
93262011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9327
9328 * textmodes/flyspell.el (flyspell-large-region): Make sure
9329 extended character mode is used if defined (Bug#1339).
9330
12587bbb
EZ
93312011-10-13 Eli Zaretskii <eliz@gnu.org>
9332
9333 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9334 character info for LRE, LRO, RLE, and RLO characters by appending
9335 an invisible PDF.
12587bbb 9336
bad41229
SM
93372011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9340 even in case of error; add debug spec; simplify data flow.
9341 (with-timeout-handler): Remove.
9342
28dbc92f
MA
93432011-10-12 Michael Albinus <michael.albinus@gmx.de>
9344
9345 Fix Bug#6019, Bug#9315.
9346
9347 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9348 complete `buffer-file-name', the local file name part could look
9349 remotely (for example on VMS).
9350
9351 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9352 `tramp-run-real-handler'.
9353 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9354 already quoted by '"'.
9355
9356 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9357 Let `file-name-handler-alist' be nil, the local file name part
9358 could look remotely (for example on VMS).
9359
e1b0b23a
SM
93602011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9363 from here...
9364 (flyspell-post-command-hook): ...to here.
9365
a120bde9
SM
93662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9369 if not needed.
9370 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9371 using completion. Protect against "slow" callers.
9372 Remove the "message hack".
9373
7ce7717b
JL
93742011-10-11 Juri Linkov <juri@jurta.org>
9375
9376 * isearch.el (isearch-lazy-highlight-word): New variable.
9377 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9378 Use it. (Bug#9727)
9379
c02ee9d6
GM
93802011-10-11 Glenn Morris <rgm@gnu.org>
9381
9382 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9383 like f90-previous-statement does.
9384
93e616fd 93852011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9386
1f190e73 9387 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9388 only in interactive use, to avoid error.
9389
af7b6078
SM
93902011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * minibuffer.el (completion-file-name-table): Fix last change,
9393 i.e. ignore normal errors but not the other ones.
9394
0563dae9
MR
93952011-10-10 Martin Rudalics <rudalics@gmx.at>
9396
9397 * window.el (special-display-buffer-names)
9398 (special-display-regexps): Remove some remnants of earlier
9399 changes from doc-strings.
366ca7f3
MR
9400 (quit-windows-on): New function.
9401
9402 * vc/vc.el (vc-revert, vc-rollback):
9403 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9404 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9405 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9406
49677495
MR
94072011-10-09 Martin Rudalics <rudalics@gmx.at>
9408
9409 * window.el (frame-auto-hide-function): Add version tag.
9410 (Bug#9699)
9411
56f2d1e1
MA
94122011-10-09 Michael Albinus <michael.albinus@gmx.de>
9413
9414 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9415 condition.
9416
112a6592
LL
94172011-10-09 Leo Liu <sdl.web@gmail.com>
9418
9419 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9420 (Bug#9701)
9421
0812589b
GM
94222011-10-08 Glenn Morris <rgm@gnu.org>
9423
9424 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9425 before the first code statement zero indent. (Bug#9690)
9426
b2b0776e
CY
94272011-10-08 Chong Yidong <cyd@stupidchicken.com>
9428
9429 * simple.el (count-words-region): Always count in the region.
9430 Report the number of lines and characters too.
9431 (count-words): New command, which counts in the buffer if the
9432 region is inactive, as count-words-region used to.
9433 (count-words--message): New function. Handle plurals.
9434 (count-lines-region): Make it an alias for count-words-region.
9435
9436 * bindings.el (esc-map): Replace count-lines-region with
9437 count-words-region.
9438
c557cd6b
MR
94392011-10-08 Martin Rudalics <rudalics@gmx.at>
9440
9441 * window.el (window--delete): Delete dedicated frame
9442 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9443 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9444
61a57ef4 94452011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9446
3a7d293b 9447 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9448
c3833279
CY
94492011-10-07 Chong Yidong <cyd@stupidchicken.com>
9450
9451 * bindings.el ([M-left],[M-right]): Bind to left-word and
9452 right-word respectively.
9453
21ce8245
GM
94542011-10-07 Glenn Morris <rgm@gnu.org>
9455
9456 * cus-start.el (debug-on-quit): Fix custom type.
9457
6d823bb2
LMI
94582011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9459
0181e193
LMI
9460 * subr.el (define-key-after): Clarify that the function is not
9461 useful for non-menu keymaps.
9462
6d823bb2
LMI
9463 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9464
8e3459ce 94652011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9466
21ce8245 9467 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9468 in current minibuffer (Fix bug with recursive minibuffers).
9469
a1c2d21e
CY
94702011-10-06 Chong Yidong <cyd@stupidchicken.com>
9471
9472 * progmodes/gdb-mi.el (gdb): Doc fix.
9473
5a4cf282
MR
94742011-10-05 Martin Rudalics <rudalics@gmx.at>
9475
9476 * window.el (frame-auto-hide-function): New option replacing
9477 frame-auto-delete. Suggested by Stefan Monnier.
9478 (window--delete): Call frame-auto-hide-function instead of
9479 investigating frame-auto-delete.
c96111ea
MR
9480 (window-point-1, set-window-point-1): New functions.
9481 (window-in-direction, record-window-buffer, window-state-get-1)
9482 (display-buffer-record-window): Use window-point-1 instead of
9483 window-point.
9484 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9485
9854542e
SM
94862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9489
8943cfb0
GM
94902011-10-05 Glenn Morris <rgm@gnu.org>
9491
9492 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9493 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9494
647ab967
LL
94952011-10-05 Leo Liu <sdl.web@gmail.com>
9496
9497 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9498 works with buffer object.
9499
3ddfbced
SM
95002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * mpc.el (mpc-tool-bar-map): Add labels.
9503
bdfa5dd2
GM
95042011-10-04 Glenn Morris <rgm@gnu.org>
9505
9506 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9507
0e2070b5
MR
95082011-10-04 Martin Rudalics <rudalics@gmx.at>
9509
9510 * window.el (window--delete): New function.
9511 (frame-auto-delete): Resuscitate option.
9512 (bury-buffer, replace-buffer-in-windows)
9513 (quit-window): Rewrite using window--delete.
9514 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9515 Pass display-buffer-mark-dedicated to window--display-buffer-2
9516 (Bug#9639).
9517
3dc61a09
SM
95182011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9519
915a9b64
SM
9520 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9521 returns a list (bug#9554). Add remote file name completion.
9522 * comint.el (comint--table-subvert): Curry and get quote&unquote
9523 functions as arguments.
9524 (comint--complete-file-name-data): Adjust call accordingly.
9525 * pcomplete.el (pcomplete--table-subvert): Remove.
9526 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9527
3dc61a09
SM
9528 * minibuffer.el (completion-table-case-fold): Use currying.
9529 (completion--styles-type, completion--cycling-threshold-type):
9530 New constants.
9531 (completion-styles, completion-category-overrides)
9532 (completion-cycle-threshold): Use them.
9533 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9534 completion-table-case-fold.
9535
8ea0a993
SB
95362011-10-03 Stephen Berman <stephen.berman@gmx.net>
9537
9538 * minibuffer.el (completion-category-overrides): Fix type of styles
9539 and add more user friendly tags (bug#9660).
9540
8c24b7f6
SM
95412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9542
9543 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9544 (mule-input-method-string): New widget.
9545 (default-input-method, language-info-custom-alist): Use it.
9546
428fe61a
SM
95472011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9548
32c1fffd
SM
9549 * pcomplete.el: Require comint.
9550 (pcomplete--common-suffix): Remove.
9551 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9552 (pcomplete--table-subvert): Sync with comint--table-subvert.
9553 (pcomplete--entries): Use comint-completion-file-name-table.
9554 * comint.el (comint-unquote-filename): Simplify.
9555 (comint-completion-file-name-table): New function (bug#9616).
9556 (comint--complete-file-name-data): Use it.
9557
428fe61a
SM
9558 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9559 (pcmpl-gnu-tar-buffer): Remove.
9560 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9561 around. Make sure pcomplete-suffix-list is only changed temporarily.
9562 Don't look inside the tar's file if it's too large.
428fe61a 9563
04c52e2f
CY
95642011-10-01 Chong Yidong <cyd@stupidchicken.com>
9565
ce3cefcc
CY
9566 * cus-edit.el (custom-mode-map):
9567 * epa.el (epa-key-list-mode-map):
9568 * man.el (Man-mode-map):
9569 * startup.el (splash-screen-keymap):
9570 * simple.el (special-mode-map): Use scroll-up-command and
9571 scroll-down-command.
9572
9573 * progmodes/idlw-help.el (idlwave-help-mode-map):
9574 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9575 * net/newst-plainview.el (newsticker-mode-map):
9576 * emulation/ws-mode.el (wordstar-mode-map):
9577 * emulation/vi.el (vi-com-map):
9578 * calc/calc-graph.el (calc-graph-show-dumb):
9579 * term/sun.el (terminal-init-sun):
9580 * term/ns-win.el (global-map):
9581 * progmodes/grep.el (grep-mode-map):
9582 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9583 * mail/rmail.el (rmail-mode-map):
9584 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9585
04c52e2f
CY
9586 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9587 custom-safe-themes as special.
9588
79adf8c8
JD
95892011-10-01 Julien Danjou <julien@danjou.info>
9590
9591 * notifications.el (notifications-notify): Fix docstring.
9592
63bd50d3
PS
95932011-10-01 Per Starbäck <per@starback.se>
9594
9595 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9596
199e4c7e
MR
95972011-09-30 Martin Rudalics <rudalics@gmx.at>
9598
9599 * startup.el (command-line-1): Fix last fix by inserting
9600 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9601 (Bug#9605) and (Bug#9636)
199e4c7e 9602
fe5f08dd
EZ
96032011-09-29 Eli Zaretskii <eliz@gnu.org>
9604
9605 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9606 window is hscrolled, move by logical lines. (Bug#9607)
9607 (line-move-visual): Update the doc string to the above effect.
9608
b5516bbd
MR
96092011-09-29 Martin Rudalics <rudalics@gmx.at>
9610
ccee00c0
MR
9611 * window.el (display-buffer-record-window): When WINDOW is the
9612 selected window use `point' instead of `window-point'. (Bug#9626)
9613
b5516bbd
MR
9614 * startup.el (command-line-1): Use insert-before-markers when
9615 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9616
b5516bbd
MR
9617 * help.el (help-window): Remove variable.
9618
52aa0014
GM
96192011-09-29 Glenn Morris <rgm@gnu.org>
9620
9621 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9622
df9a7357
JB
96232011-09-29 Juanma Barranquero <lekktu@gmail.com>
9624
9625 * descr-text.el (describe-char-categories): Accept category
9626 descriptions more than one line long.
9627
a8406c20
SM
96282011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9629
88d9610c
SM
9630 * simple.el (delete-trailing-whitespace): Fix last change.
9631
a5daf810
SM
9632 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9633 Don't confuse "y => 3" as the beginning of a `y' operation.
9634
a8406c20
SM
9635 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9636 object has more than 4 slots (bug#9613).
9637
a239d4e9
JB
96382011-09-28 Juanma Barranquero <lekktu@gmail.com>
9639
9640 * subr.el (with-output-to-temp-buffer):
9641 * net/quickurl.el (quickurl, quickurl-browse-url):
9642 Fix typos in docstrings.
9643
693fbdb6
EZ
96442011-09-27 Eli Zaretskii <eliz@gnu.org>
9645
9646 * minibuffer.el (completion-styles)
9647 (completion-category-overrides): Cross reference each other in doc
9648 strings.
9649
8b457e28
GM
96502011-09-27 Glenn Morris <rgm@gnu.org>
9651
9652 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9653 to split-string. (Bug#9606)
9654
85a16208
LMI
96552011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9656
9657 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9658 (bug#9615).
9659
502f9ebd
CY
96602011-09-27 Chong Yidong <cyd@stupidchicken.com>
9661
9662 * emacs-lisp/package.el (list-packages): Fix echo area message.
9663
7690bdea
LL
96642011-09-27 Leo Liu <sdl.web@gmail.com>
9665
9666 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9667
e2ee6f30
MA
96682011-09-25 Michael Albinus <michael.albinus@gmx.de>
9669
9670 * net/dbus.el (dbus-unregister-object): Don't release services for
9671 registered signals. (Bug#9581)
9672
f3f98342
TZ
96732011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9674
9675 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9676 function that picks between cfengine 2 and 3 support
9677 automatically. Update docs accordingly.
9678
dd7aa8dd
KH
96792011-09-22 Kenichi Handa <handa@m17n.org>
9680
9681 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9682 ZERO.
9683 (indian-itrans-v5-table-for-tamil): New variable.
9684 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9685
3f2b07f8
KM
96862011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9687
9688 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9689 that's true if the current command involved collapsing of text.
9690 It's reset to false at the beginning of the next command.
9691 (allout-post-command-business): Move the cursor to the beginning
9692 of entry if the cursor is hidden and collapsing activity just
9693 happened.
9694
371d6a61
CY
96952011-09-24 Chong Yidong <cyd@stupidchicken.com>
9696
9697 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9698 tracking (Bug#9541).
9699
2ac2721a
UJ
97002011-09-24 Ulf Jasper <ulf.jasper@web.de>
9701
9702 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9703 (newsticker-show-news): Automatically load html rendering package
9704 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9705 because w3m-fill-column is let-bound" and the error "Symbol's value
9706 as variable is void: w3m-fill-column".
2ac2721a 9707
fac7ae53
MA
97082011-09-24 Michael Albinus <michael.albinus@gmx.de>
9709
9710 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9711 Release services only if they are defined. (Bug#9581)
9712
e08b633b
RS
97132011-09-23 Richard Stallman <rms@gnu.org>
9714
e488d29c
RS
9715 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9716 distinguish start of paragraph from start of its text.
9717
19c38752
RS
9718 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9719
e08b633b
RS
9720 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9721 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9722 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9723
0a39f27e
AS
97242011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9725
9726 * international/mule-diag.el (mule-diag): Insert a newline after
9727 each fontset description.
9728
db4e950d
SM
97292011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * simple.el (delete-trailing-whitespace):
9732 Document last change; simplify.
9733
eca3f3ea
PW
97342011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9735
d68e189a
PW
9736 * simple.el (delete-trailing-whitespace): Also delete
9737 extra newlines at the end of the buffer.
9738
eca3f3ea
PW
9739 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9740 (picture-newline): Use forward-line so as to ignore fields.
9741
01c157cc
SM
97422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9743
9744 * subr.el (with-wrapper-hook): Fix edebug spec.
9745
022de23e
LMI
97462011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9747
9748 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9749 (bug#4538).
9750
91683089
MA
97512011-09-23 Michael Albinus <michael.albinus@gmx.de>
9752
eca3f3ea
PW
9753 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9754 Fix nasty bug using wrong cached values.
91683089 9755
5bdd6fa4
AM
97562011-09-23 Alan Mackenzie <acm@muc.de>
9757
9758 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9759
97adfb97
CY
97602011-09-23 Chong Yidong <cyd@stupidchicken.com>
9761
9762 * window.el (pop-to-buffer): Ensure right window is selected if we
9763 chose another frame.
9764
d4ef2b50
EZ
97652011-09-22 Eli Zaretskii <eliz@gnu.org>
9766
9767 * simple.el (what-cursor-position): Use get-char-property-change
9768 and next-single-char-property-change, to be able to show display
9769 properties that come from overlays as well as text properties.
9770
72258fe5
CY
97712011-09-22 Chong Yidong <cyd@stupidchicken.com>
9772
9773 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9774
9775 * cmuscheme.el (run-scheme, switch-to-scheme):
9776 * cus-edit.el (customize-group, custom-buffer-create)
9777 (customize-browse):
9778 * info.el (info):
9779 * shell.el (shell):
9780 * mail/sendmail.el (mail):
9781 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9782
8f098516
RS
97832011-09-22 Richard Stallman <rms@gnu.org>
9784
9785 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9786 move back only to line beg, don't move back over blank lines.
9787
e74f1bb6
MA
97882011-09-22 Michael Albinus <michael.albinus@gmx.de>
9789
9790 * files.el (copy-directory): Set directory attributes only in case
9791 they could be retrieved from the source directory. (Bug#9565)
9792
bfeef8b6
DK
97932011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9794
9795 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9796 (hs-find-block-beginning, hs-hide-level-recursive):
9797 Ignore strings as well as comments. (Bug#9502)
9798
7e423bb8
AS
97992011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9800
9801 * progmodes/sql.el (sql-comint-postgres):
9802 Convert port number to a string. (Bug#9566)
9803
b4d72fcf
MR
98042011-09-22 Martin Rudalics <rudalics@gmx.at>
9805
9806 * window.el (quit-window): Undedicate window when switching to
9807 previous buffer. Reported by Thierry Volpiatto
9808 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9809 (special-display-popup-frame): When popping up a new frame reset
9810 its previous buffers to nil. Simplify code.
b4d72fcf 9811
a7b88dc6
MA
98122011-09-21 Michael Albinus <michael.albinus@gmx.de>
9813
9814 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9815 and process filter, as done also in `shell-command'.
9816
cf4eacfd
MR
98172011-09-21 Martin Rudalics <rudalics@gmx.at>
9818
eca3f3ea 9819 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9820 Call set-window-start with NOFORCE argument t.
9821 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9822 (quit-window): Reword doc-string. Handle new format of
9823 quit-restore parameter. Don't delete window if it has a
9824 previous buffer we can show instead of the present one.
9825 (display-buffer-record-window): Rewrite using a new format for
9826 the quit-restore window parameter
9827 (special-display-popup-frame, display-buffer-same-window)
9828 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9829 (display-buffer-pop-up-window, display-buffer-use-some-window):
9830 Adapt symbol passed to display-buffer-record-window.
9831 * help.el (help-window-setup): Handle new format of quit-restore
9832 parameter.
9833
8d28cb95
SM
98342011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9835
94ab793f
SM
9836 * faces.el (face-list): Fix docstring (bug#9564).
9837
8d28cb95
SM
9838 * window.el (display-buffer--action-function-custom-type):
9839 Don't include internal functions in the Custom interface.
9840
3820edeb
JL
98412011-09-20 Juri Linkov <juri@jurta.org>
9842
9843 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9844 (Info-forward-node, Info-backward-node, Info-next-preorder)
9845 (Info-last-preorder): Use it. (Bug#9528)
9846
5147931d
JL
98472011-09-20 Juri Linkov <juri@jurta.org>
9848
9849 * info.el (Info-last-preorder): Visit last menu item only when
9850 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9851
cf499a1a
JD
98522011-09-20 Julien Danjou <julien@danjou.info>
9853
9854 * password-cache.el (password-cache-remove): Remove entries even if the
9855 value is nil, so that password with a nil value (negative caching) is
9856 possible to invalidate.
9857
f84e2fe2
LM
98582011-09-20 Lawrence Mitchell <wence@gmx.li>
9859
9860 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9861 all whitespace around breakpoint. (Bug#9553)
9862 (f90-find-breakpoint): Only break at whitespace inside a comment.
9863
78054a46
SM
98642011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9866 * minibuffer.el (completion-file-name-table): Keep track of errors.
9867 (completion-table-with-predicate): Handle the case where pred1 is nil.
9868 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9869
345083b2
SM
98702011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9871
e24e27be
SM
9872 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9873 (debugger-return-value): Signal an error if the debugging context does
9874 not await any return value.
9875
345083b2
SM
9876 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9877 * image-mode.el (image-toggle-display-text)
9878 (image-toggle-display-image): Stay away from evil `intangible'.
9879
08d355e3
LL
98802011-09-19 Leo Liu <sdl.web@gmail.com>
9881
9882 * replace.el (occur-revert-arguments): Make it permanent-local.
9883 (occur-mode): Don't call font-lock-defontify.
9884
f01da43f
CY
98852011-09-19 Chong Yidong <cyd@stupidchicken.com>
9886
9887 * net/ldap.el (ldap-search-internal): Don't push empty search
9888 result (Bug#9508).
9889
b6072fa6
SM
98902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9893
443d6696
MA
98942011-09-19 Michael Albinus <michael.albinus@gmx.de>
9895
9896 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9897 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9898
7cc6e154
JL
98992011-09-18 Juri Linkov <juri@jurta.org>
9900
9901 * buff-menu.el (Buffer-menu-mode-map):
9902 * dired.el (dired-mode-map):
9903 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9904 (lisp-interaction-mode-map):
9905 * emacs-lisp/package.el (package-menu-mode-map):
9906 * epa.el (epa-key-list-mode-map):
9907 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9908 (menu-bar-options-menu):
9909 * outline.el (outline-mode-menu-bar-map):
9910 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9911 * vc/vc-dir.el (vc-dir-menu-map):
9912 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9913 Capitalize non-function content words in menu item strings.
9914
9915 * dired.el (dired-mode-map): Add menu item for
9916 `image-dired-dired-toggle-marked-thumbs'.
9917
80302a81
JL
99182011-09-18 Juri Linkov <juri@jurta.org>
9919
9920 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9921 to `isearch-case-fold-search' and restore its original value
9922 after the `isearch-mode' call.
9923
46c5cf66
JL
99242011-09-18 Juri Linkov <juri@jurta.org>
9925
9926 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9927 because `zgrep' returns 1 for successful matches (bug#9226).
9928
d18b513b
JL
99292011-09-18 Juri Linkov <juri@jurta.org>
9930
9931 * info.el (Info-extract-menu-node-name): Check the second match
9932 for empty string (second test-case of bug#9528).
9933 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9934 intermediate nodes to the history (first test-case of bug#9528).
9935
72753f87
JL
99362011-09-18 Juri Linkov <juri@jurta.org>
9937
9938 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9939 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9940
c9384295
JL
99412011-09-18 Juri Linkov <juri@jurta.org>
9942
1154d12e
JB
9943 * info.el (Info-file-supports-index-cookies):
9944 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9945 outputs one more line for long file names (bug#4142).
c9384295 9946
d473dce8
CY
99472011-09-18 Chong Yidong <cyd@stupidchicken.com>
9948
9949 * newcomment.el (comment-normalize-vars): If prompting for
9950 comment-start, set comment-start-skip too (Bug#8424).
9951
2176854d
JB
99522011-09-18 Johan Bockgård <bojohan@gnu.org>
9953
9954 * icomplete.el: Fix previous fix of Bug#5849.
9955 (icomplete-mode): Don't set completion-show-inline-help.
9956 (icomplete-minibuffer-setup): Set completion-show-inline-help
9957 locally during icompletion.
9958
3aace4e4
CY
99592011-09-18 Chong Yidong <cyd@stupidchicken.com>
9960
c940224f
CY
9961 * woman.el (woman2-process-escapes): Don't delete unrecognized
9962 escapes (Bug#7843).
9963
3aace4e4
CY
9964 * files.el (inhibit-first-line-modes-regexps): Add image files.
9965 (hack-local-variables-prop-line): Return nil for malformed
9966 prop-lines (Bug#9044).
9967
710dec63
MA
99682011-09-18 Michael Albinus <michael.albinus@gmx.de>
9969
9970 * net/tramp.el (top): Don't require 'shell.
9971 (tramp-methods): Fix docstring.
9972 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9973 Return complete remote file name. Handle "smb" case.
9974 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9975 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9976
9977 * net/tramp-compat.el (top): Require 'shell.
9978
9979 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9980 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9981 `tramp-current-host'.
9982 (tramp-get-remote-tmpdir): Remove.
9983
9984 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9985 `tramp-tmpdir' entries.
9986 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9987 (tramp-smb-handle-file-attributes): Ignore errors.
9988 (tramp-smb-wait-for-output): Check also for process end.
9989
5d5ac8ec
LMI
99902011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9991
9992 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9993 when sending QUIT (bug#9312).
9994
8c0f49f0
CY
99952011-09-17 Chong Yidong <cyd@stupidchicken.com>
9996
9997 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9998 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9999 occur-mode-display-occurrence.
10000 (occur-edit-mode): Add usage message.
10001 (occur-cease-edit): New command.
10002 (occur-after-change-function): Use text properties to find the
10003 position of the prefix text.
10004 (occur-engine): Set stickiness of prefix text properties.
10005
8f1383f7
GM
100062011-09-17 Glenn Morris <rgm@gnu.org>
10007
10008 * progmodes/etags.el (complete-tag):
10009 Fix call to completion-in-region. (Bug#9526)
10010
744ba0e3
JL
100112011-09-17 Juri Linkov <juri@jurta.org>
10012
10013 * textmodes/ispell.el (ispell-word): Add to the error message
10014 the word, ispell program name and current dictionary (bug#9121).
10015 (ispell-tex-arg-end): Capitalize "error" in the error message.
10016
d9bbf400
AS
100172011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10018
10019 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10020 check. (Bug#4251)
10021
8da11505
JL
100222011-09-17 Juri Linkov <juri@jurta.org>
10023
10024 * window.el (window-safe-min-height, window-safe-min-width):
10025 Fix typos (followup to bug#9522).
10026
a91adc7e
SJ
100272011-09-17 Sven Joachim <svenjoac@gmx.de>
10028
10029 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10030
064f328a
EZ
100312011-09-16 Eli Zaretskii <eliz@gnu.org>
10032
10033 * simple.el (line-move): If goal-column is set, move by logical
10034 lines, not by display lines. (Bug#971)
10035 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10036 to reflect the above change.
10037
e69df516
SM
100382011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * image.el (imagemagick-register-types): Use regexp-opt.
10041
cbb0f9ab
CY
100422011-09-15 Chong Yidong <cyd@stupidchicken.com>
10043
10044 * window.el (display-buffer-base-action): Rename from
10045 display-buffer-default-action. Make default value empty.
10046 (display-buffer-overriding-action): Convert to defvar.
10047 (display-buffer-fallback-action): New var.
10048
25322144
CY
100492011-09-15 Chong Yidong <cyd@stupidchicken.com>
10050
10051 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10052 declaration.
10053 (package--add-to-archive-contents): If there is a duplicate entry
10054 with an older version, remove it.
10055 (package-menu-mark-delete, package-menu-mark-install)
10056 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10057 (package-menu-mark-obsolete-for-deletion):
10058 Use package-menu-get-status instead of a regexp search.
25322144
CY
10059 (package-menu-get-status): Use tabulated-list-entry.
10060 (package-menu-mark-upgrades): New command.
d770725a 10061 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10062 (package-menu-execute): Do installation before deletion.
10063 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10064 instead of checking major-mode.
10065 (package-menu--find-upgrades): New function.
10066
7520339c
LMI
100672011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10068
10069 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10070 passwords in the log buffer.
65a046c4
LMI
10071 (smtpmail-process-filter): Update the process marker so that the
10072 "broken by peer" status message is inserted in the right place.
7520339c 10073
d3c30954
SM
100742011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10075
3fe48822
SM
10076 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10077 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10078 bibtex-completion-at-point-function.
10079 (bibtex-completion-at-point-function): Use them.
10080
1b8b3954
SM
10081 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10082
d3c30954
SM
10083 * mpc.el (mpc-constraints-tag-lookup): New function.
10084 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10085 also to browser "album|playlist".
10086
72779976
JL
100872011-09-14 Juri Linkov <juri@jurta.org>
10088
10089 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10090 (isearch-edit-string): Use length of `isearch-string' when
10091 `isearch-fail-pos' returns nil.
10092 (isearch-message): Remove duplicate code and call
10093 `isearch-fail-pos' with arg `t'.
10094
a0bf2bcd
CY
100952011-09-14 Chong Yidong <cyd@stupidchicken.com>
10096
17bb0a2d
CY
10097 * replace.el (occur-mode-goto-occurrence): Don't force using other
10098 window (Bug#9499).
10099
a0bf2bcd
CY
10100 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10101
f678e0b6
MR
101022011-09-14 Martin Rudalics <rudalics@gmx.at>
10103
10104 * window.el (display-buffer-window): Remove.
10105 (display-buffer-record-window): Use help-setup window parameter
10106 instead of variable display-buffer-window.
10107 (display-buffer-function, special-display-buffer-names)
10108 (special-display-function): Mention help-setup parameter instead
10109 of display-buffer-window in doc-string.
d3c30954
SM
10110 * help.el (help-window-setup): New argument help-window.
10111 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10112 Reword some messages.
10113 (with-help-window): Pass window used for displaying the buffer
10114 to help-window-setup. Don't set display-buffer-window.
10115
8e39b2e8
GM
101162011-09-13 Glenn Morris <rgm@gnu.org>
10117
10118 * emacs-lisp/debug.el (debugger-make-xrefs):
10119 Preserve point. (Bug#9462)
10120
85e9c04b
CY
101212011-09-13 Chong Yidong <cyd@stupidchicken.com>
10122
10123 * window.el (window-deletable-p): Use next-frame.
10124
1b36ed6a
MR
101252011-09-13 Martin Rudalics <rudalics@gmx.at>
10126
10127 * window.el (window-auto-delete): Remove.
10128 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10129 dedication and previous buffers.
1b36ed6a
MR
10130 (switch-to-prev-buffer): Don't delete window.
10131 (delete-windows-on): Delete a window's frame if and only if the
10132 window is dedicated.
10133 (replace-buffer-in-windows): Delete buffer's window or frame if
10134 and only if window is dedicated.
10135 (quit-window): Handle quit-restore as before last change.
4d61f28d 10136 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10137
ef8ef9fb
CY
101382011-09-13 Chong Yidong <cyd@stupidchicken.com>
10139
10140 * window.el (window-deletable-p): Never delete the last frame on a
10141 given terminal.
10142
b2cba41e
GM
101432011-09-13 Glenn Morris <rgm@gnu.org>
10144
10145 * help.el (describe-key-briefly): Copy previous standard-output change.
10146
51553db6 101472011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10148
10149 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10150
b7556719
GM
101512011-09-13 Glenn Morris <rgm@gnu.org>
10152
10153 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10154 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10155
64b51947
CY
101562011-09-12 Chong Yidong <cyd@stupidchicken.com>
10157
10158 * dired-aux.el (dired-mark-read-string): Don't return default
10159 value on empty input (Bug#9361).
10160 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10161 Omit initial minibuffer contents.
10162 (dired-do-chmod): Signal an error on empty input.
10163 (dired-mark-read-string): Don't return default on empty input.
10164
10165 * files.el (file-modes-symbolic-to-number): Doc fix.
10166
393a301e
SM
101672011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10168
10169 * international/mule-cmds.el (ucs-completions): Remove.
10170 (read-char-by-name): Use complete-with-action instead; add metadata.
10171
fa5660f9
CY
101722011-09-11 Chong Yidong <cyd@stupidchicken.com>
10173
10174 * window.el (display-buffer--action-function-custom-type)
10175 (display-buffer--action-custom-type): New vars.
10176 (display-buffer-alist, display-buffer-default-action)
10177 (display-buffer-overriding-action): Add defcustom types.
10178
4a592f66
CY
10179 * frame.el (delete-other-frames): Doc fix (Bug#276).
10180
73d56dbd
LMI
101812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10182
10183 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10184
37ac18a3
CY
101852011-09-11 Chong Yidong <cyd@stupidchicken.com>
10186
10187 Change modes that used same-window-* vars to use switch-to-buffer.
10188
10189 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10190 Use switch-to-buffer.
10191
10192 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10193 (customize-browse, custom-buffer-create-other-window):
10194 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10195
10196 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10197 (Info-prev, Info-up, Info-speedbar-goto-node)
10198 (info-display-manual): Use switch-to-buffer.
10199 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10200
10201 * mail/sendmail.el (mail): Use switch-to-buffer.
10202 (mail-recover): Use switch-to-buffer-other-window.
10203
10204 * cmuscheme.el (run-scheme, switch-to-scheme):
10205 * ielm.el (ielm):
10206 * shell.el (shell):
10207 * net/rlogin.el (rlogin):
10208 * net/telnet.el (telnet, rsh):
10209 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10210
10195bd6
AS
102112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10212
10213 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10214
b322f63a
LMI
102152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10216
39d7fed6
LMI
10217 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10218 so don't mention it (bug#9301).
ba5a81f1 10219 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10220
ee0e9f11
LMI
10221 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10222 match `x', `w32' and `ns', like the manual says (bug#9029).
10223
0b1c89c1 10224 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10225 (process-kill-buffer-query-function): Mention the buffer name in
10226 the query.
0b1c89c1 10227
77549ea8
LMI
10228 * image-mode.el (image-next-line): The line parameter is mandatory
10229 (bug#9258).
10230
803ef892
LMI
10231 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10232 which can be useful (bug#9301).
10233
12980837
LMI
10234 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10235
91054f8f
LMI
10236 * subr.el (match-string): Mention that the current buffer should
10237 be the same as the search was done in (bug#9282).
10238
b322f63a
LMI
10239 * facemenu.el: Disable the remove-* commands if the mark isn't
10240 active (bug#9162).
10241
3199b96f
CY
102422011-09-10 Chong Yidong <cyd@stupidchicken.com>
10243
10244 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10245 of display-buffer.
10246 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10247
10248 * replace.el (occur-mode-goto-occurrence)
10249 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10250 and display-buffer.
10251
10252 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10253 display-buffer.
10254
10255 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10256 special-display and same-window variables.
10257 (mail-other-window): Use switch-to-buffer-other-window.
10258 (mail-other-frame): USe switch-to-buffer-other-frame.
10259
393a301e
SM
10260 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10261 Use display-buffer-other-frame.
3199b96f
CY
10262 (gdb-display-gdb-buffer): Use pop-to-buffer.
10263
10264 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10265
10266 * progmodes/python.el: Don't set same-window-buffer-names.
10267
10268 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10269
10270 * window.el (display-buffer-alist): Add *Python*.
10271
8319e0bf
CY
102722011-09-10 Chong Yidong <cyd@stupidchicken.com>
10273
10274 * window.el (display-buffer-alist): Add entry for buffers
10275 previously handled same-window-*.
10276 (display-buffer-alist, display-buffer-default-action)
10277 (display-buffer-overriding-action): Mark as risky.
10278 (display-buffer-alist): Document action function changes.
10279 (display-buffer--same-window-action)
10280 (display-buffer--other-frame-action): New variables.
10281 (switch-to-buffer, display-buffer-other-frame): Use them.
10282 (display-buffer): Rename reuse-frame entry to reusable-frames.
10283 (display-buffer-reuse-selected-window): Function deleted.
10284 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10285 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10286 (display-buffer-special): New function.
10287 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10288 display-buffer-reuse-or-pop-window. Split off special-display
10289 part into display-buffer-special.
10290 (display-buffer-use-some-window): Don't perform any special
10291 pop-up-frames handling.
10292 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10293 (display-buffer--maybe-same-window): Rename from
0d3ff375 10294 display-buffer-maybe-same-window.
8319e0bf 10295
919a69aa
CY
10296 * info.el: Don't set same-window-regexps.
10297 (info-setup): New function.
10298 (info-other-window, info): Call it.
10299
10300 * cus-edit.el: Don't set same-window-regexps.
10301 (customize-group): New argument.
10302 (customize-group-other-window): Use it.
10303 (customize-face, customize-face-other-window): Likewise.
10304 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10305
8319e0bf
CY
10306 * net/rlogin.el:
10307 * net/telnet.el:
10308 * progmodes/gud.el: Don't set same-window-regexps.
10309
10310 * cmuscheme.el:
10311 * ielm.el:
10312 * shell.el:
10313 * mail/sendmail.el:
10314 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10315
25173000
JL
103162011-09-10 Juri Linkov <juri@jurta.org>
10317
10318 * isearch.el (isearch-edit-string): Remove obsolete mention of
10319 `C-w' (`isearch-yank-word-or-char') from docstring.
10320 (isearch-query-replace): Fix typo in docstring (bug#9466).
10321
056e44ef
JL
103222011-09-10 Juri Linkov <juri@jurta.org>
10323
10324 * paren.el (show-paren-function): Don't show escaped parens.
10325 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10326
c3760c17
EZ
103272011-09-10 Eli Zaretskii <eliz@gnu.org>
10328
10329 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10330 (mm-default-file-encoding): Remove autoload forms, they are
10331 replaced with autoload cookies in mml.el and mm-encode.el.
10332 (mail-add-attachment): New command.
10333 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10334 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10335 the doc string.
10336 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10337
fece895e
RT
103382011-09-10 Reuben Thomas <rrt@sc3d.org>
10339
e69df516
SM
10340 * simple.el (count-words-region): Use buffer if there's no region
10341 (bug#9429).
fece895e 10342
5e68ce4a
JL
103432011-09-09 Juri Linkov <juri@jurta.org>
10344
10345 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10346 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10347 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10348
0a6b9622
AM
103492011-09-09 Alan Mackenzie <acm@muc.de>
10350
10351 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10352 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10353
14a29deb
EZ
103542011-09-09 Eli Zaretskii <eliz@gnu.org>
10355
10356 Fix for Savannah bug#9392.
10357 * simple.el (mail-encode-mml): New defvar.
10358
10359 * mail/rmail.el (mail-encode-mml): Add a defvar.
10360 (rmail-enable-mime-composing): Default to t.
10361 (rmail-forward): Use MIME method of forwarding only if both
10362 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10363 Set mail-encode-mml non-nil if the MIME method was used.
10364
10365 * mail/sendmail.el (mml-to-mime): Add autoload form.
10366 (mail-encode-mml): Add a defvar.
10367 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10368 to nil.
10369 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10370 message through mml-to-mime, and reset mail-encode-mml to nil.
10371
28c45130
GM
103722011-09-09 Glenn Morris <rgm@gnu.org>
10373
10374 * woman.el (woman-if-body): When processing an .el block,
10375 do not delete the next .el block as well. (Bug#9447)
69f4b618 10376 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10377
9b1c252e
MR
103782011-09-08 Martin Rudalics <rudalics@gmx.at>
10379
10380 * window.el (window-deletable-p): Make sure window is live before
10381 invoking window-prev-buffers.
10382
567457e3
LL
103832011-09-08 Leo Liu <sdl.web@gmail.com>
10384
10385 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10386
97f05794
JL
103872011-09-08 Juri Linkov <juri@jurta.org>
10388
10389 * progmodes/compile.el (compilation-environment): Make it
10390 a defcustom (bug#8340).
10391
8b0874b5
MR
103922011-09-08 Martin Rudalics <rudalics@gmx.at>
10393
10394 * window.el (frame-auto-delete): Rename to window-auto-delete.
10395 Make it control auto-deletion of windows and/or frames.
10396 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10397 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10398 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10399 Rewrite handling of case when window/frame can be deleted.
10400 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10401 argument t. (Bug#9456)
8b0874b5 10402
4feb6e73
CY
104032011-09-07 Chong Yidong <cyd@stupidchicken.com>
10404
10405 * help-mode.el (help-mode): Restore autoload.
10406
91ab9c13
JL
104072011-09-07 Juri Linkov <juri@jurta.org>
10408
10409 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10410 `compilation-environment'. Set buffer-local
10411 `compilation-environment' to `thisenv' later after (funcall mode).
10412 (Bug#8340)
10413
10414 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10415 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10416 instead of replacing its value. (Bug#8340)
10417
0527e251
JL
104182011-09-07 Juri Linkov <juri@jurta.org>
10419
10420 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10421 based on text properties put by `grep-filter' instead of matching
10422 escape sequences.
10423 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10424 to the value of `grep-error-screen-columns' (bug#9438).
10425
249f792c
JL
104262011-09-07 Juri Linkov <juri@jurta.org>
10427
10428 * simple.el (next-error-highlight, next-error-highlight-no-select):
10429 Doc fix (bug#9432).
10430
ff7271b9
OT
104312011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10432
10433 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10434 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10435
183fc730
LL
104362011-09-07 Leo Liu <sdl.web@gmail.com>
10437
10438 * net/rcirc.el (rcirc-mode): Conditionally initialize
10439 rcirc-input-ring.
10440
77694924
SM
104412011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10442
10443 * emacs-lisp/find-func.el (find-function-C-source): Only set
10444 find-function-C-source-directory after checking that we found a source
10445 file there (bug#9440).
10446
d809b8eb
AM
104472011-09-06 Alan Mackenzie <acm@muc.de>
10448
10449 * isearch.el (isearch-other-meta-char): Wherever a key list is
10450 unread, "unread" the prefix arg, too. This fixes bug #8901.
10451
453de99f
OG
104522011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10453
10454 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10455
90439906
JL
104562011-09-05 Juri Linkov <juri@jurta.org>
10457
10458 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10459
f62bd846
JL
104602011-09-05 Juri Linkov <juri@jurta.org>
10461
10462 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10463 keeping point where processing of grep matches begins, and
10464 continue to delete remaining escape sequences from the same point.
10465 (grep-filter): Make leading zero optional in "0?1;31m" because
10466 git-grep emits "\033[1;31m" escape sequences unlike expected
10467 "\033[01;31m" as GNU Grep does (bug#9408).
10468 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10469
045820ec
JL
104702011-09-05 Juri Linkov <juri@jurta.org>
10471
10472 * subr.el (y-or-n-p): Capitalize "yes".
10473
f5e29b9b
MA
104742011-09-04 Michael Albinus <michael.albinus@gmx.de>
10475
10476 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10477 `tramp-cache-unload-hook' where appropriate.
10478 (tramp-methods): Rename `tramp-remote-sh' to
10479 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10480 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10481
10482 * net/tramp-sh.el (top): Don't require 'shell.
10483 (tramp-methods): Add `tramp-remote-shell' and
10484 `tramp-remote-shell-args' entries.
10485 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10486 (tramp-sh-handle-shell-command): Remove.
10487 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10488 Use `tramp-remote-shell'.
10489
2784c434
CY
104902011-09-03 Chong Yidong <cyd@stupidchicken.com>
10491
393a301e 10492 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10493 (sendmail-query-once): Save directly to send-mail-function.
10494 Update message-send-mail-function too.
10495
10496 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10497
464cdf56
CS
104982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10499
10500 * progmodes/python.el (python-mode-map): Use correct function to
10501 start python interpreter from menu-bar (as reported by Geert
10502 Kloosterman).
10503 (inferior-python-mode-map): Fix typo.
393a301e 10504 (python-shell-map): Remove.
464cdf56 10505
d37e5c87
DD
105062011-09-03 Deniz Dogan <deniz@dogan.se>
10507
10508 * net/rcirc.el (rcirc-print): Simplify code for
10509 rcirc-scroll-show-maximum-output. There is no need to walk
10510 through all windows to find the right one.
10511
f3ada0ee
CS
105122011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10513
10514 * help.el (help-return-method): Doc fix.
10515
1f3c99ca
MR
105162011-09-03 Martin Rudalics <rudalics@gmx.at>
10517
10518 * window.el (window-deletable-p): Don't return a non-nil value
10519 when there's a buffer that was shown in the window before.
10520 (Bug#9419)
393a301e
SM
10521 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10522 Set window's previous buffers to nil.
1f3c99ca 10523
a3cf097f
EZ
105242011-09-03 Eli Zaretskii <eliz@gnu.org>
10525
10526 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10527 newline before and after the tag line, so it doesn't interfere
10528 with determining the paragraph direction of bidirectional text.
10529
3d03de90
LL
105302011-09-03 Leo Liu <sdl.web@gmail.com>
10531
10532 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10533
c3313451
CY
105342011-09-02 Chong Yidong <cyd@stupidchicken.com>
10535
393a301e 10536 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10537 (pop-to-buffer): Change interactive spec. Pass second argument
10538 directly to display-buffer.
10539 (display-buffer): Fix interactive spec. Use functionp to
10540 distinguish between a function and a list of functions.
10541
10542 * abbrev.el (edit-abbrevs):
10543 * arc-mode.el (archive-extract):
10544 * autoinsert.el (auto-insert):
10545 * bookmark.el (bookmark-bmenu-list):
10546 * files.el (find-file):
10547 * view.el (view-buffer):
10548 * progmodes/compile.el (compilation-goto-locus):
10549 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10550
89894cd8
CY
105512011-09-02 Chong Yidong <cyd@stupidchicken.com>
10552
10553 * window.el (display-buffer-alist): Doc fix.
10554 (display-buffer): Add docstring. Don't treat
10555 display-buffer-default specially.
10556 (display-buffer-reuse-selected-window)
10557 (display-buffer-same-window, display-buffer-maybe-same-window)
10558 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10559 (display-buffer-pop-up-window)
10560 (display-buffer-reuse-or-pop-window)
10561 (display-buffer-use-some-window): New functions.
10562 (display-buffer-default-action): Use them.
393a301e 10563 (display-buffer-default): Delete.
89894cd8
CY
10564 (pop-to-buffer-1): Fix choice of actions.
10565
ae0bc9fb
SM
105662011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 * minibuffer.el (completion--insert-strings): Don't get confused by
10569 completion entries that end with an LF char.
10570
e9d90883
EZ
105712011-09-01 Eli Zaretskii <eliz@gnu.org>
10572
10573 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10574
437014c8
CY
105752011-09-01 Chong Yidong <cyd@stupidchicken.com>
10576
10577 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10578 (display-buffer-same-window, display-buffer-other-window):
10579 New functions.
437014c8
CY
10580 (pop-to-buffer-1): New function. Use the above.
10581 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10582 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10583
10584 * view.el (view-buffer-other-window, view-buffer-other-frame):
10585 Just use pop-to-buffer.
10586
a5e063d5
TV
105872011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10588
10589 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10590
793d32bb
WH
105912011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10592
10593 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10594
d65e4c15
RS
105952011-08-31 Richard Stallman <rms@gnu.org>
10596
10597 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10598 of the separation of rmail-view-buffer from rmail-buffer.
10599 If you say no to "replace original", the decrypt is in the
10600 view buffer. If you say yes, the decrypt goes into the
10601 rmail buffer also.
10602
f818cd2a
MR
106032011-08-31 Martin Rudalics <rudalics@gmx.at>
10604
10605 * window.el (display-buffer-window): Rewrite doc-string.
10606 (display-buffer-record-window): New function.
10607 (display-buffer-macro-specifiers)
10608 (display-buffer-even-window-sizes, display-buffer-set-height)
10609 (display-buffer-set-width, display-buffer-in-window)
10610 (display-buffer-reuse-window, display-buffer-split-specifiers)
10611 (display-buffer-side-specifiers, display-buffer-split-window-1)
10612 (display-buffer-split-window, display-buffer-split-atom-window)
10613 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10614 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10615 (display-buffer-other-window-means-other-frame)
10616 (display-buffer-normalize-special)
10617 (display-buffer-normalize-default)
10618 (display-buffer-normalize-argument)
10619 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10620 (display-buffer-normalize-specifiers, display-buffer-frame)
10621 (display-buffer-same-window, display-buffer-same-frame)
10622 (display-buffer-other-window)
10623 (display-buffer-same-frame-other-window)
10624 (display-buffer-other-frame, pop-to-buffer-same-window)
10625 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10626 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10627 (switch-to-buffer-same-frame)
10628 (switch-to-buffer-other-window-same-frame)
10629 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10630 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10631 (display-buffer-alist-set): Remove.
10632 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10633 (special-display-regexps, special-display-function):
10634 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10635 parameter.
10636 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10637 (special-display-frame-alist, special-display-popup-frame)
10638 (same-window-buffer-names, same-window-regexps, same-window-p)
10639 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10640 (split-window-preferred-function, split-height-threshold)
10641 (split-width-threshold, window-splittable-p)
10642 (split-window-sensibly, window--try-to-split-window)
10643 (window--frame-usable-p, even-window-heights)
10644 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10645 (window--display-buffer-2, display-buffer-other-frame):
10646 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10647 (display-buffer-default, display-buffer-assq-regexp): New functions.
10648 (display-buffer-alist): Rewrite doc-string.
10649 (display-buffer-default-action)
10650 (display-buffer-overriding-action): New variables.
10651 (display-buffer, switch-to-buffer): Rewrite.
10652 (pop-to-buffer): Restore Emacs 23 behavior but use
10653 window-normalize-buffer-to-display.
10654 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10655 Restore Emacs 23 behavior but use
10656 window-normalize-buffer-to-switch-to.
10657 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10658 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10659 Rewrite using Emacs 23 options.
f818cd2a 10660
5bc3b51d
MA
106612011-08-31 Michael Albinus <michael.albinus@gmx.de>
10662
10663 * net/tramp.el (tramp-root-regexp): Remove.
10664 (tramp-completion-file-name-regexp-unified)
10665 (tramp-completion-file-name-regexp-separate)
10666 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10667 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10668 (tramp-drop-volume-letter): Simplify definition.
10669 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10670
b1a4f8e1
SM
106712011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10672
10673 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10674 (bug#9356).
10675
5664fa7b
RT
106762011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10677
b1a4f8e1 10678 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10679
9a45d6c3
JL
106802011-08-29 Juri Linkov <juri@jurta.org>
10681
10682 * isearch.el (isearch-done): Don't display message "Mark saved"
10683 when arg `edit' is non-nil to prevent its flicker in the echo area.
10684
fb87e0fb
CY
106852011-08-28 Chong Yidong <cyd@stupidchicken.com>
10686
10687 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10688 obsolete packages for deletion.
10689
09ac1c2a
CS
106902011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10691
10692 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10693 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10694 view-mode from help-mode.
10695 (help-xref-override-view-map): Remove.
10696 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10697 view-mode is not used anymore.
10698
7a1ff57f
CY
106992011-08-28 Chong Yidong <cyd@stupidchicken.com>
10700
10701 * server.el (server-port): Doc fix.
10702
b9696605
CY
10703 * cus-theme.el (custom-theme-choose-mode): Inherit from
10704 special-mode (Bug#9124).
10705 (custom-theme-choose-mode-map): Add special-mode to parent.
10706
ef8cdf8c
AM
107072011-08-28 Alan Mackenzie <acm@muc.de>
10708
10709 * progmodes/cc-fonts.el
10710 (c-make-font-lock-BO-decl-search-function): New function.
10711 (c-basic-matchers-after - "Fontify the clauses after various
10712 keywords"): Extract the three keyword lists for the 3 erroneous
10713 constructs from the list of four, and use the new function above
10714 in place of an old one.
10715
27de4e20
DD
107162011-08-28 Deniz Dogan <deniz@dogan.se>
10717
10718 * net/rcirc.el (rcirc-insert-prev-input)
10719 (rcirc-insert-next-input): Remove unused argument.
10720
356a3681
SM
107212011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10724
3fc9b218
AM
107252011-08-27 Alan Mackenzie <acm@muc.de>
10726
10727 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10728 handle function pointer parameters properly.
10729
538a061c
MR
107302011-08-27 Martin Rudalics <rudalics@gmx.at>
10731
10732 * window.el (display-buffer-reuse-window): Fix case where
10733 selected window was reused with non-nil OTHER-WINDOW argument.
10734 (Bug#9381)
10735
35b1c40c
DD
107362011-08-27 Deniz Dogan <deniz@dogan.se>
10737
10738 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10739 oftc's NickServ messages.
10740
2f6a3e79
GM
107412011-08-27 Glenn Morris <rgm@gnu.org>
10742
10743 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10744
7254299e
CY
107452011-08-26 Chong Yidong <cyd@stupidchicken.com>
10746
10747 * emacs-lisp/package.el (package-install): Call package-initialize
10748 if called interactively.
10749
f8ccf167
LL
107502011-08-26 Leo Liu <sdl.web@gmail.com>
10751
10752 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10753
3e8cd5ce
JL
107542011-08-25 Juri Linkov <juri@jurta.org>
10755
10756 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10757 `search-whitespace-regexp' (bug#9364).
10758
93eb7113
JL
107592011-08-25 Juri Linkov <juri@jurta.org>
10760
10761 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10762 `regexp-search-ring' to their global values to protect from
10763 updating by `read-from-minibuffer' (bug#9185).
10764
f65d1611
JL
107652011-08-25 Juri Linkov <juri@jurta.org>
10766
10767 * textmodes/ispell.el (ispell-command-loop): Add newline
10768 at the end of the "Use option `i'..." line.
10769
f1cf7a31
JL
107702011-08-25 Juri Linkov <juri@jurta.org>
10771
10772 * battery.el (display-battery-mode): If `battery-status-function'
10773 or `battery-mode-line-format' is nil, display the message and set
10774 `display-battery-mode' to nil (bug#9363).
10775
0c95fcf7
EZ
107762011-08-25 Eli Zaretskii <eliz@gnu.org>
10777
10778 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10779 bidi-string-mark-left-to-right; they are unnecessary now.
10780
a2ebe600
DD
107812011-08-25 Deniz Dogan <deniz@dogan.se>
10782
10783 * net/quickurl.el: Documentation typo fixes.
10784
e4ed06f1
CY
107852011-08-25 Chong Yidong <cyd@stupidchicken.com>
10786
10787 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10788
e5f1c99e
GM
107892011-08-25 Glenn Morris <rgm@gnu.org>
10790
b2948976
GM
10791 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10792
e5f1c99e
GM
10793 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10794 (smtpmail-via-smtp): Handle nil response from smtp.
10795
f22f4808
JL
107962011-08-24 Juri Linkov <juri@jurta.org>
10797
10798 * proced.el (proced-marked): Inherit from `error' instead of
10799 `font-lock-warning-face'.
10800
10801 * ibuffer.el (ibuffer-marked-face): Change default face from
10802 `font-lock-warning-face' to `warning'.
10803 (ibuffer-deletion-face): Change default face from
10804 `font-lock-type-face' to `error'.
10805
10806 * battery.el (battery-update): Use the face `error' instead of
10807 `font-lock-warning-face' (bug#6117).
10808
6a93965e
JL
108092011-08-24 Juri Linkov <juri@jurta.org>
10810
10811 * faces.el (success): Change face color from "Green3" to
10812 "ForestGreen" on light background (bug#9353).
10813
1ed43b09
CY
108142011-08-24 Chong Yidong <cyd@stupidchicken.com>
10815
5664fa7b
RT
10816 * window.el (quit-window): Rename from quit-restore-window.
10817 Use same arglist as old quit-window.
1ed43b09
CY
10818 (frame-auto-delete): Doc fix.
10819
10820 * view.el (view-mode-exit): Use quit-window.
10821
11dcdbb2
JL
108222011-08-24 Juri Linkov <juri@jurta.org>
10823
10824 * isearch.el (isearch-ring-adjust1): Start visiting previous
10825 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10826 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10827 for empty search string (when the last search string is reused
10828 automatically) to adjust the isearch ring to the last element and
10829 prepare the correct index for further M-p commands (bug#9185).
10830
de62b4df
KH
108312011-08-24 Kenichi Handa <handa@m17n.org>
10832
10833 * international/ucs-normalize.el: If decomposition property of
10834 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10835 nil.
10836 (nfd, nfkd): Likewise.
10837
963b492b
SM
108382011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10841 from process filters aren't reliably transmitted to the surrounding
10842 accept-process-output.
10843 (mpc-proc-check): New function.
10844 (mpc-proc-sync): Use it (bug#8293)
10845
93b6b5e1
SM
108462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10847
10848 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10849 Add compatibility functions (bug#9313).
10850
bca633fb
EZ
108512011-08-23 Eli Zaretskii <eliz@gnu.org>
10852
b177498a
EZ
10853 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10854
6df6ae42 10855 * international/uni-bidi.el: Regenerate.
bca633fb 10856
0902a04e
KH
108572011-08-23 Kenichi Handa <handa@m17n.org>
10858
10859 * international/charprop.el:
10860 * international/uni-bidi.el:
10861 * international/uni-category.el:
10862 * international/uni-combining.el:
10863 * international/uni-comment.el:
10864 * international/uni-decimal.el:
10865 * international/uni-decomposition.el:
10866 * international/uni-digit.el:
10867 * international/uni-lowercase.el:
10868 * international/uni-mirrored.el:
10869 * international/uni-name.el:
10870 * international/uni-numeric.el:
10871 * international/uni-old-name.el:
10872 * international/uni-titlecase.el:
10873 * international/uni-uppercase.el: Regenerate.
10874
3bbf23bc
MR
108752011-08-23 Martin Rudalics <rudalics@gmx.at>
10876
10877 * help.el (help-window-setup): Fix message displayed when other
10878 window is reused. (Bug#9341)
10879
b3fd59bd
SM
108802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10881
1802e444
SM
10882 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10883 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10884
b3fd59bd
SM
10885 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10886 Mark obsolete.
10887 * shell.el (shell-parse-pcomplete-arguments): New function.
10888 (shell-completion-vars): Use it instead (bug#9160).
10889
4eb61348
SM
108902011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10891
867cab74
SM
10892 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10893 strings and comments (bug#9333).
10894
4eb61348
SM
10895 * emacs-lisp/debug.el (debug-arglist): New function.
10896 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10897 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10898
262a1439
JL
108992011-08-22 Juri Linkov <juri@jurta.org>
10900
56ee679c
JL
10901 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10902 Revert regexp that highlights output switches to its old
10903 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10904
262a1439
JL
10905 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10906 to check for empty output (bug#9226).
10907
f13f86fb
CY
109082011-08-22 Chong Yidong <cyd@stupidchicken.com>
10909
10910 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10911 symbol-constituent as the default, as that stops font-lock from
10912 working properly (Bug#8843).
10913
c65c9622
LMI
109142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10915
10916 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10917 `coding-system-for-*' around the process open call to avoid
10918 auth-source side effects.
e7f2c178 10919 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10920 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10921 probe hangs.
c65c9622 10922
23a8a5ab
CY
109232011-08-21 Chong Yidong <cyd@stupidchicken.com>
10924
ff98b2dd
CY
10925 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10926
23a8a5ab
CY
10927 * emacs-lisp/find-func.el (find-function-noselect): New arg
10928 lisp-only.
10929
10930 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10931 signal an error for built-in functions (Bug#6664).
10932
f5e3c598
LMI
109332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10934
10935 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10936 (smtpmail-try-auth-methods): Use it.
10937
a3f2468a
CY
109382011-08-21 Chong Yidong <cyd@stupidchicken.com>
10939
2c34e8da
CY
10940 * font-lock.el (font-lock-fontify-region)
10941 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10942 (font-lock-default-unfontify-buffer)
10943 (font-lock-default-fontify-region)
10944 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10945
b3fd59bd
SM
10946 * progmodes/compile.el (compilation-error-properties):
10947 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10948 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10949 `ant' regexp.
ee31aabc 10950
a3f2468a
CY
10951 * net/browse-url.el (browse-url-firefox): Don't call
10952 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10953
8e999f70
GM
109542011-08-20 Glenn Morris <rgm@gnu.org>
10955
c21a496a
GM
10956 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10957
59ee0542
GM
10958 * tutorial.el (tutorial--default-keys): Update some default bindings.
10959
8e999f70
GM
10960 * files.el (hack-local-variables): Fully ignore case for "mode:".
10961
e3715033
AM
109622011-08-20 Alan Mackenzie <acm@muc.de>
10963
10964 Resolve invalid use of a regexp in regexp-opt.
10965
4d61f28d
JB
10966 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10967 detection for a java annotation.
e3715033 10968
4d61f28d 10969 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10970 detection for a java annotation.
10971
4d61f28d
JB
10972 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10973 handling for java.
e3715033
AM
10974 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10975
04ed2e9c
CY
109762011-08-20 Chong Yidong <cyd@stupidchicken.com>
10977
10978 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10979 (Bug#9274).
10980
826cee64
AM
109812011-08-20 Alan Mackenzie <acm@muc.de>
10982
58179cce 10983 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10984 such a construct. Mainly for when jit-lock etc. starts a chunk
10985 here.
10986
58179cce 10987 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10988 variable.
58179cce 10989 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10990 c-make-font-lock-search-function.
10991 (c-make-font-lock-search-function): Use the above function.
10992 (c-make-font-lock-context-search-function): New function.
10993 (c-cpp-matchers): Enhance the preprocessor expression case with
10994 the above function
10995 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10996 which takes an expression.
10997
10998 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10999
13009bd8
MR
110002011-08-20 Martin Rudalics <rudalics@gmx.at>
11001
11002 * window.el (display-buffer-reuse-window)
11003 (display-buffer-pop-up-window): Don't reuse or split a side
11004 window.
11005
9234ff7f
GM
110062011-08-19 Glenn Morris <rgm@gnu.org>
11007
11008 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11009 Downcase "Mode:". (Bug#9331)
9234ff7f 11010
f635daa1
CY
110112011-08-18 Chong Yidong <cyd@stupidchicken.com>
11012
11013 * international/characters.el: Add L and R categories.
11014
11015 * subr.el (bidi-string-mark-left-to-right): Rename from
11016 string-mark-left-to-right. Use category search.
11017
11018 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11019
bc987f8b
JL
110202011-08-18 Juri Linkov <juri@jurta.org>
11021
11022 * faces.el (error, warning, success): New faces with definitions
11023 copied from old default values of `font-lock-warning-face',
11024 `compilation-warning', `compilation-info' (bug#6117).
11025
11026 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11027
11028 * progmodes/compile.el (compilation-error): Inherit from `error'.
11029 (compilation-warning): Inherit from `warning'.
11030 (compilation-info): Inherit from `success'.
11031
11032 * dired.el (dired-marked): Inherit from `warning'.
11033 (dired-flagged): Inherit from `error'.
11034
57173b96
LMI
110352011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11036
3e79eb87
LMI
11037 * mail/smtpmail.el (auth-source): Require to avoid problems with
11038 binding variables (bug#9298). Also clean up some unused
11039 autoloads.
11040
b3fd59bd
SM
11041 * net/network-stream.el (network-stream-open-starttls):
11042 Support using starttls.el without using gnutls-cli.
57173b96 11043
02b404de
JL
110442011-08-17 Juri Linkov <juri@jurta.org>
11045
11046 * progmodes/grep.el (rgrep): Handle the case when
11047 `grep-find-command' is a cons cell (bug#9278).
11048
8c9177f2
MR
110492011-08-17 Martin Rudalics <rudalics@gmx.at>
11050
11051 * window.el (display-buffer-pop-up-frame): Run frame creation
11052 function with BUFFER current (as special-display-popup-frame
11053 does). Reported by Drew Adams.
11054
3644a0ab
DU
110552011-08-17 Daiki Ueno <ueno@unixuser.org>
11056
11057 * epa-mail.el: Simplify GnuPG group expansion using
11058 epg-expand-group.
11059 (epa-mail-group-alist, epa-mail-group-modtime)
11060 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11061 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11062 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11063 Remove.
11064
5e617bc2 110652011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11066
11067 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11068
9c4aeabf
AM
110692011-08-16 Alan Mackenzie <acm@muc.de>
11070
11071 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11072 Correct, to avoid the inside of macros.
11073
3a99bf64
RS
110742011-08-16 Richard Stallman <rms@gnu.org>
11075
04963aa8
RS
11076 * epa-mail.el: Handle GnuPG group definitions.
11077 (epa-mail-group-alist, epa-mail-group-modtime)
11078 (epa-mail-gnupg-conf-file): New variables.
11079 (epa-mail-parse-groups, epa-mail-sync-groups)
11080 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11081 (epa-mail-expand-recipients): New functions.
11082 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11083
177549d0
RS
11084 * mail/rmail.el (rmail-epa-decrypt): New command.
11085
fe38beef
RS
11086 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11087 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11088 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11089 (epa-decrypt-armor-in-region): Make error message clearer.
11090
934eacb9
SM
110912011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11094 and "a2b" to "ab" for `prefix'.
11095
d024fb4e
CY
110962011-08-14 Chong Yidong <cyd@stupidchicken.com>
11097
11098 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11099 filter groups.
de148fee
CY
11100 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11101 Fourquet (Bug#8804).
d024fb4e 11102
62f1ca49
JB
111032011-08-12 Juanma Barranquero <lekktu@gmail.com>
11104
11105 * startup.el (argi): Declare as global variable (bug#9275).
11106
9ccaaa4b
CY
111072011-08-12 Chong Yidong <cyd@stupidchicken.com>
11108
11109 * subr.el (string-mark-left-to-right): Search the entire string
11110 for RTL script, not just the terminating character. Doc fix.
11111
a3dae87a
SM
111122011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11113
6cd18349
SM
11114 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11115 New function.
11116 (js--regexp-literal, js-syntax-propertize-function): Remove.
11117 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11118 (js-mode-map): Don't rebind electric keys.
11119 (js-insert-and-indent): Remove.
11120 (js-mode): Setup electric-layout and electric-indent instead.
11121
a3dae87a
SM
11122 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11123
9d5cb631
DU
111242011-08-12 Daiki Ueno <ueno@unixuser.org>
11125
11126 * epa.el (epa-progress-callback-function): Fix the logic of
11127 displaying progress.
11128 * epa-file.el (epa-file-insert-file-contents): Make progress
11129 display more user-friendly.
11130 (epa-file-write-region): Ditto.
11131
3e26a4a2
CY
111322011-08-10 Chong Yidong <cyd@stupidchicken.com>
11133
11134 * subr.el (string-mark-left-to-right): New function.
11135
11136 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11137 Use string-mark-left-to-right.
11138 (list-buffers-noselect): Caller changed.
11139
a3dae87a
SM
11140 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11141 Use string-mark-left-to-right.
3e26a4a2
CY
11142 (tabulated-list-print): Recenter after moving point.
11143
ac8cf6e6
JL
111442011-08-10 Juri Linkov <juri@jurta.org>
11145
11146 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11147 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11148 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11149
8d96c9a4
CY
111502011-08-09 Chong Yidong <cyd@stupidchicken.com>
11151
11152 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11153 (Bug#7554).
11154
7be1c708 111552011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11156
11157 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11158 character. (Bug#6594)
11159
37e11a63
CY
111602011-08-08 Chong Yidong <cyd@stupidchicken.com>
11161
839dde57
CY
11162 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11163 (image-dired--with-db-file): New macro.
11164 (image-dired-write-tags, image-dired-remove-tag)
11165 (image-dired-create-gallery-lists, image-dired-write-comments)
11166 (image-dired-get-comment, image-dired-mark-tagged-files)
11167 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11168 (image-dired-gallery-generate): Use insert-file-contents.
11169
37e11a63
CY
11170 * time.el (display-time-world-list, display-time-world-display):
11171 * time-stamp.el (time-stamp-string):
11172 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11173 set-time-zone-rule (Bug#7337).
11174
0b4946c4
DU
111752011-08-08 Daiki Ueno <ueno@unixuser.org>
11176
11177 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11178 (epg-error-to-string, epg-errors-to-string): New function.
11179 (epg-wait-for-completion): Reverse errors list.
11180 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11181 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11182 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11183 (epg-sign-keys, epg-generate-key-from-file)
11184 (epg-generate-key-from-string): Format errors by using
11185 epg-errors-to-string (bug#9255).
11186 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11187
75bfc667
JL
111882011-08-07 Juri Linkov <juri@jurta.org>
11189
11190 * faces.el (list-faces-display): Remove extra angle bracket
11191 from `help-mode-map'.
11192
11193 * info.el (Info-history-toc-nodes): Doc fix.
11194
11195 * longlines.el (longlines-mode): Doc fix.
11196
673e08bb
SM
111972011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11198
4640dd88
SM
11199 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11200 of statements and in a few more cases (bug#9183).
11201
673e08bb
SM
11202 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11203 New functions.
11204 (cl-transform-lambda): Use them (bug#9239).
11205
89b3f019
MR
112062011-08-05 Martin Rudalics <rudalics@gmx.at>
11207
11208 * window.el (display-buffer-same-window)
11209 (display-buffer-same-frame, display-buffer-other-window)
11210 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11211 (pop-to-buffer-other-window)
11212 (pop-to-buffer-same-frame-other-window)
11213 (pop-to-buffer-other-frame): Make them defuns.
11214 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11215
640c8776
SM
112162011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * subr.el (make-composed-keymap): Move from C. Change calling
11219 convention, and improve docstring to bring attention to a subtle point.
11220 * minibuffer.el (completing-read-default): Adjust accordingly.
11221
63648a95
MA
112222011-08-03 Michael Albinus <michael.albinus@gmx.de>
11223
11224 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11225 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11226
11227 * net/trampver.el: Update release number.
11228
b796c9b7
SM
112292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11230
11231 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11232 "in" (bug#9190).
11233
2239d7d5
LMI
112342011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11235
e07dd7c3
LMI
11236 * mail/sendmail.el (sendmail-query-once): Restore the current
11237 buffer after querying (bug#9074).
11238
0e6a2bd7
LMI
11239 * dired.el (dired-flagged): Use different faces for marked and
11240 flagged files (bug#6117).
11241
ce887515
LMI
11242 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11243 (bug#4433).
11244
92f2affc
LMI
11245 * ido.el (ido-mode): Switch off the message if called
11246 non-interactively.
11247
57d5aff0
LMI
11248 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11249 before 587, since it appears that that's more likely to work for
11250 more people.
11251
98cd6c18 11252 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11253 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11254 exist.
11255
b96dec83
LMI
11256 * info.el: Remove the `Info-beginning-of-buffer' function
11257 (bug#8325).
11258
b796c9b7
SM
11259 * net/network-stream.el (network-stream-open-starttls):
11260 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11261
d90e2ea0
MR
112622011-08-01 Martin Rudalics <rudalics@gmx.at>
11263
11264 * window.el (display-buffer-in-window): Don't set dedicated status
11265 of window here (Bug#9215).
11266 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11267 (display-buffer-pop-up-side-window)
b796c9b7 11268 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11269
cca09170
SM
112702011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11273 before binding generated-autoload-file.
11274
027b979c
DD
112752011-08-01 Deniz Dogan <deniz@dogan.se>
11276
11277 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11278
3c7ee4f3
MA
112792011-07-30 Michael Albinus <michael.albinus@gmx.de>
11280
11281 Sync with Tramp 2.2.2.
11282
11283 * net/trampver.el: Update release number.
11284
2cc8e51a
JL
112852011-07-30 Juri Linkov <juri@jurta.org>
11286
11287 * dired-aux.el (dired-touch-initial): Remove function.
11288 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11289 current time, and `default' to the last modification time of the
11290 current marked file (bug#6887).
11291
a514d856
JM
112922011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11293
11294 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11295 numeric argument to read-number (bug#9163).
a514d856 11296
8a7eddd7
MA
112972011-07-27 Michael Albinus <michael.albinus@gmx.de>
11298
11299 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11300 connection process, it could be nil.
11301
1ddd96f5
LL
113022011-07-27 Leo Liu <sdl.web@gmail.com>
11303
11304 Simplify url handling in rcirc-mode.
11305
11306 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11307 (rcirc-browse-url-at-mouse): Remove.
11308 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11309
b248a85d
AM
113102011-07-26 Alan Mackenzie <acm@muc.de>
11311
11312 Fontify bitfield declarations properly.
11313
11314 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11315 (c-symbol-chars): Now exported as a lang variable.
11316 (c-not-primitive-type-keywords): New lang variable.
11317
11318 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11319 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11320 parsed as a bitfield declaration.
b248a85d 11321
b796c9b7
SM
11322 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11323 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11324 (c-punctuation-in): New function.
11325 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11326 declarations properly.
11327
68575ab0
UJ
113282011-07-26 Ulf Jasper <ulf.jasper@web.de>
11329
11330 * calendar/icalendar.el (icalendar--all-events): Take care of
11331 multiple vcalendars in a single file.
b796c9b7 11332 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11333
0f0a88b9
DD
113342011-07-25 Deniz Dogan <deniz@dogan.se>
11335
11336 * image.el (insert-image): Clarifying docstring.
11337
0b3f36df
MA
113382011-07-24 Michael Albinus <michael.albinus@gmx.de>
11339
11340 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11341 `tramp-send-command-and-check' if there is no error.
11342 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11343
a9901f61
AM
113442011-07-22 Alan Mackenzie <acm@muc.de>
11345
11346 Prevent cc-langs.elc being loaded at run time.
11347
11348 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11349 cc-langs.
11350
4d61f28d 11351 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11352 "(require 'cc-langs)". Quote a form so it will evaluate at
11353 (cc-mode's) compilation time.
11354
11d074b2
MA
113552011-07-22 Michael Albinus <michael.albinus@gmx.de>
11356
11357 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11358 loading. (Bug#9114)
11359
938b94c8
MR
113602011-07-21 Martin Rudalics <rudalics@gmx.at>
11361
11362 * window.el (display-buffer-pop-up-window)
11363 (display-buffer-pop-up-side-window)
11364 (display-buffer-in-side-window): Call display-buffer-set-height
11365 and display-buffer-set-width after setting the new window's
b796c9b7 11366 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11367
bfa4f190
SS
113682011-07-20 Sam Steingold <sds@gnu.org>
11369
11370 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11371 (etags-tags-included-tables): Call `convert-standard-filename' on
11372 the file names contained in TAGS so that windows Emacs can handle
11373 TAGS files created by cygwin ctags.
11374
8ca42262
LMI
113752011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11376
11377 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11378 which apparently didn't work.
11379
5db2afd2 113802011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11381
5db2afd2
RW
11382 * proced.el (proced-send-signal): For *Marked Processes* buffer
11383 put point at beginning of buffer.
11384
92e15d10
SB
113852011-07-19 Stephen Berman <stephen.berman@gmx.net>
11386
11387 * proced.el (proced-format): Make header lines align with the text
11388 (bug#1779).
11389
1bfd59e5
LMI
113902011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11391
11392 * view.el (view-buffer): Allow running in `special' modes if we're
11393 visiting a file (bug#8615).
11394
f5aae37c
MR
113952011-07-19 Martin Rudalics <rudalics@gmx.at>
11396
11397 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11398 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11399 New functions.
f5aae37c
MR
11400 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11401 more accurately.
11402
bf2c1571
AM
114032011-07-18 Alan Mackenzie <acm@muc.de>
11404
11405 Fontify declarators properly when, e.g., a jit-lock chunk begins
11406 inside a declaration.
11407
11408 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11409
b796c9b7
SM
11410 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11411 New function.
bf2c1571
AM
11412 (c-complex-decl-matchers): Insert reference to
11413 c-font-lock-enclosing-decls.
11414
11415 * progmodes/cc-engine.el (c-backward-single-comment):
11416 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11417 to nil around calls to (forward-comment -1).
11418
4e190b80
LMI
114192011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11420
12dc863d
LMI
11421 * image.el (put-image): Doc typo fix.
11422
a762e966
LMI
11423 * progmodes/etags.el (tags-search): Doc typo fix.
11424
4e190b80
LMI
11425 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11426 password if we get errors 550 to 554.
11427
f019fb21
LMI
114282011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11429
b796c9b7 11430 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11431
81746738
LMI
11432 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11433 indentation character (bug#6380).
11434
3ee3a1b5
LMI
11435 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11436
c82f64de
LMI
11437 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11438 to clarify what the problem is (bug#4291).
11439
f019fb21
LMI
11440 * simple.el (current-kill): Clarify what
11441 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11442 (auto-fill-mode): Document `auto-fill-function' in relation to
11443 `auto-fill-mode' (bug#2470).
f019fb21 11444
0794775d
LM
114452011-07-16 Lawrence Mitchell <wence@gmx.li>
11446
11447 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11448 method if slot is read-only (bug#9035).
11449
be39b8cc
MR
114502011-07-16 Martin Rudalics <rudalics@gmx.at>
11451
b796c9b7 11452 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11453 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11454 selected before, see discussion of (Bug#8615), (Bug#6954).
11455 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11456
6ccf7859
GM
114572011-07-15 Glenn Morris <rgm@gnu.org>
11458
11459 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11460 Respect help-form.
6ccf7859 11461
87e86684
LM
114622011-07-09 Lawrence Mitchell <wence@gmx.li>
11463
11464 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11465 (gnutls-negotiate): Use it.
11466
d6066239
LMI
114672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11468
b796c9b7
SM
11469 * net/gnutls.el (gnutls-negotiate):
11470 Upcase `gnutls-algorithm-priority'.
d6066239 11471
bd23ebc0
GM
114722011-07-15 Glenn Morris <rgm@gnu.org>
11473
c65bca65
GM
11474 * jka-compr.el (jka-compr-verbose): Move from here...
11475 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11476 Add missing :version tag.
11477 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11478
478615cc
LMI
114792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11480
7b41decb
LMI
11481 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11482 (gnutls-negotiate): Use it.
11483
dbc44fcd
LMI
11484 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11485
06789f97
LMI
11486 * info.el (Info-beginning-of-buffer): New command.
11487 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11488 announcing `b' as the key (bug#8325).
ab896c37 11489 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11490
c39da690
LMI
11491 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11492
3aa5f34b
LMI
11493 * international/mule-cmds.el
11494 (describe-specified-language-support): Make the error message
11495 clearer (bug#8905).
11496
4bf0979f
LMI
11497 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11498
478615cc
LMI
11499 * isearch.el (isearch-barrier): Add a doc string, since it's
11500 mentioned in a function doc string (bug#8678).
11501
75c68aa1
MR
115022011-07-15 Martin Rudalics <rudalics@gmx.at>
11503
11504 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11505 buffer argument (Bug#9083) and self-identifying label argument.
11506
a7c33da2
GM
115072011-07-15 Glenn Morris <rgm@gnu.org>
11508
11509 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11510
2f5c6024
LMI
115112011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11512
11513 * man.el (Man-fontify-manpage): Fix message when formatting the
11514 man page (bug#7929).
11515
0bb23927 115162011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11517
11518 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11519 argument LRM; if non-nil, append an invisible LRM character to the
11520 buffer name.
11521 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11522 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11523 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11524 paragraph direction.
cce4b0a7 11525
621ef9ab
LMI
115262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11527
d1583c48
LMI
11528 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11529 the man page name (bug#7929).
11530
6a57fb5f
LMI
11531 * image.el (put-image): Mention the `put-image' overlay property
11532 (bug#7834).
11533
d7956b14
LMI
11534 * scroll-bar.el (set-scroll-bar-mode): Mention that
11535 `scroll-bar-mode' lists the values (bug#7772).
11536
5b2d4a66
LMI
11537 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11538 command (bug#7729).
11539
7509a874
LMI
11540 * rect.el (apply-on-rectangle): Return the point after the last
11541 operation.
11542 (string-rectangle): Go to the point after the last operation
11543 (bug#7522).
11544
4fe74b19
LMI
11545 * printing.el (pr-toggle-region): Clarify the documentation
11546 slightly (bug#7493).
11547
b796c9b7
SM
11548 * time.el (display-time-update):
11549 Allow `display-time-mail-function' to return nil (bug#7158).
11550 Fix suggested by Detlev Zundel.
ab283561 11551
fc233c9d
LMI
11552 * vc/diff.el (diff): Clarify the order the file names are read
11553 (bug#7111).
11554
43f5740b
LMI
11555 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11556 the doc string (bug#7015).
11557
f2182a76
LMI
11558 * font-lock.el (font-lock-maximum-decoration): Mention what
11559 numeric levels mean (bug#6935).
11560
621ef9ab
LMI
11561 * startup.el (initial-buffer-choice): Don't mention the `none'
11562 selection, which is against policy.
11563
adc47434
MR
115642011-07-14 Martin Rudalics <rudalics@gmx.at>
11565
b796c9b7
SM
11566 * window.el (display-buffer-normalize-special):
11567 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11568
7e5bfb8f
EZ
115692011-07-14 Eli Zaretskii <eliz@gnu.org>
11570
11571 * subr.el (version<, version<=, version=): Mention "-CVS" and
11572 "-12345" alpha version numbers.
11573
27fa387a
CY
115742011-07-14 Chong Yidong <cyd@stupidchicken.com>
11575
11576 * bindings.el: Add advertised binding for set-mark-command
11577 (Bug#5772).
11578
8bdfa064
CY
115792011-07-14 Chong Yidong <cyd@stupidchicken.com>
11580
11581 * bindings.el (mode-line-other-buffer):
11582 * bookmark.el (bookmark-bmenu-2-window):
11583 * bs.el (bs-cycle-next, bs-cycle-previous):
11584 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11585 switch-to-buffer.
11586
11587 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11588 Delete.
8bdfa064 11589
5eba16a3
JB
115902011-07-14 Juanma Barranquero <lekktu@gmail.com>
11591
11592 * follow.el (follow-debug-message, follow-redisplay):
11593 * jka-cmpr-hook.el (with-auto-compression-mode):
11594 Fix typos in docstrings.
11595
15853710
LMI
115962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11597
a28e4607
LMI
11598 * subr.el (with-silent-modifications): Clarify somewhat what the
11599 macro inhibits (bug#6525).
11600
15853710
LMI
11601 * simple.el (eval-expression): Note what it does if called
11602 interactively (bug#6495).
11603
bee0fcef
CY
116042011-07-13 Chong Yidong <cyd@stupidchicken.com>
11605
b796c9b7
SM
11606 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11607 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11608
11609 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11610 Remove switch-to-buffer.
11611
58274504
LMI
116122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11613
bd2fcc8d
LMI
11614 * files.el (make-directory): Clarify that an error will be raised
11615 if there's an error (bug#6397).
11616
0f04b32c
LMI
11617 * startup.el (initial-buffer-choice): Add `none' as a choice
11618 (bug#6234).
11619
465c5fc8
LMI
11620 * subr.el (add-hook): Clarify section about buffer-local hooks
11621 (bug#6218).
11622
58274504
LMI
11623 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11624
bead9a43
JB
116252011-07-13 Juanma Barranquero <lekktu@gmail.com>
11626
11627 * tabify.el (untabify): Preserve the current column so that point
11628 doesn't move (bug#6032).
11629
3af98a7b
LMI
116302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11631
b796c9b7
SM
11632 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11633 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11634
6240145a
GM
116352011-07-13 Glenn Morris <rgm@gnu.org>
11636
11637 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11638 (dired-insert-directory): Give a message the first time
11639 if ls is found not to support --dired.
11640
1d8c2ccc
LMI
116412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11642
11643 * simple.el (toggle-truncate-lines): Clarify what is toggled
11644 (bug#5580). Text by Drew Adams.
11645
5fc4038e
CY
116462011-07-13 Chong Yidong <cyd@stupidchicken.com>
11647
11648 * simple.el (blink-matching-open): Make the error message from the
11649 last change less verbose.
11650
bf6012e5
DN
116512011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11652
11653 * font-lock.el (font-lock-comment-face): Use the high contrast
11654 "yellow" color for font-lock-comment-face on low color terminals
11655 using a dark background color (bug#4221).
11656
343c3b5a
LMI
116572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11658
7e9505c5
LMI
11659 * dired.el (dired-insert-set-properties): Make the doc string
11660 reflect what it does now (bug#5325).
11661
c26fdcf5
LMI
11662 * simple.el (blink-matching-open): Say that we were unable to find
11663 the match within the limit, if we're limited (bug#5122).
11664
bb388cc5
LMI
11665 * international/mule-cmds.el (prefer-coding-system): Add an
11666 example (bug#4869).
11667
343c3b5a
LMI
11668 * progmodes/etags.el (tags-search): Document `file-list-form'
11669 (bug#4731).
11670
2a517d45
LM
116712011-07-13 Lawrence Mitchell <wence@gmx.li>
11672
11673 * net/browse-url.el (browse-url-default-browser)
11674 (browse-url-browser-function): Make the default browser choice a
11675 bit more logical (bug#4300). Also clean up the doc string.
11676
b6c78ef2
JB
116772011-07-13 Juanma Barranquero <lekktu@gmail.com>
11678
11679 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11680 binary endings (bug#4440).
11681
1c4dd947
LMI
116822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11683
a2014063
LMI
11684 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11685 which can be pretty annoying (bug#8971).
11686
9c9c2d88
LMI
11687 * jka-compr.el (jka-compr-verbose): New variable, and use
11688 throughout (bug#8971).
11689
1c4dd947
LMI
11690 * info.el (Info-find-file): Fall back on the installation
11691 directory if we can't find the info node anywhere else.
11692
a1c9f41b
SO
116932011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11694
11695 * vc/vc.el (vc-revert-file):
11696 Don't set file time-stamp in the past. (Bug#5181)
11697
536f3d36
LMI
116982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11699
7152b011
LMI
11700 * files.el (after-find-file): Give a better error message when
11701 trying to find a symlink that points to a file that doesn't exist
11702 (bug#4398).
11703
536f3d36
LMI
11704 * progmodes/cc-vars.el: Remove (probably) misleading comment
11705 (bug#4396).
11706
460c0fba
JB
117072011-07-12 Johan Bockgård <bojohan@gnu.org>
11708
11709 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11710
7a6bda45
CY
117112011-07-12 Chong Yidong <cyd@stupidchicken.com>
11712
11713 * mouse-sel.el: Hack restoring functionality, while keeping
11714 compatibility with 2010-07-03 changes to mouse selection.
11715 (mouse-sel-primary-overlay): New var.
11716 (mouse-sel-selection-alist): Use it.
11717 (mouse-sel-mode): Doc fix; remove points that are default features
11718 of mouse.el.
11719
c79598ef
JB
117202011-07-12 Johan Bockgård <bojohan@gnu.org>
11721
11722 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11723 Fix previous fix (bug#2490).
11724
ff8be6ef
RW
117252011-07-12 Roland Winkler <winkler@gnu.org>
11726
b796c9b7
SM
11727 * textmodes/bibtex.el (bibtex-initialize):
11728 Use pop-to-buffer-same-window.
ff8be6ef
RW
11729 (bibtex-search-entries): Fix interactive call.
11730
296ba3ee
LMI
117312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11732
f5242a02 11733 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11734 Fontise bytecomp Error lines more correctly (bug#2490).
11735 Fix suggested by Johan Bockgård.
f5242a02 11736
296ba3ee
LMI
11737 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11738
11739 * dired-x.el (dired-guess-default): Use `delete-dups'.
11740
f69fd0d2
CY
117412011-07-12 Chong Yidong <cyd@stupidchicken.com>
11742
11743 * dired.el (dired-mark-prompt):
11744 * dired-aux.el (dired-read-shell-command): Doc fix.
11745
eab5dc07
LMI
117462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11747
b796c9b7
SM
11748 * mail/sendmail.el (sendmail-query-once):
11749 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11750 emacs -Q.
11751
11752 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11753
eab5dc07
LMI
11754 * cus-edit.el (custom-file): Take an optional no-error variable.
11755 (customize-save-variable): Set the variable, and give a warning if
11756 running under "emacs -q".
11757
a1e65d42
JB
117582011-07-11 Juanma Barranquero <lekktu@gmail.com>
11759
11760 * loadhist.el (unload-feature-special-hooks):
11761 Add `auto-coding-functions', `fill-nobreak-predicate' and
11762 `find-directory-functions' (bug#5327).
11763
1d52da10
LMI
117642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11765
be958f1d
LMI
11766 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11767
5bedb26c
LMI
11768 * cus-edit.el (custom-guess-name-alist): -alist variables should
11769 use the `alist' type (bug#3120). Suggested by Drew Adams.
11770
1d52da10
LMI
11771 * printing.el: Add documentation to all the `pr-toggle-' commands.
11772
cd394be1 117732011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11774
11775 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11776 backends where it makes sense (bug#2623).
11777
dcc88d8a
LMI
117782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11779
c3de9feb
LMI
11780 * dired-x.el (dired-guess-default): Remove duplicate shell command
11781 entries (bug#2028).
8a93078b 11782 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11783 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11784
dcc88d8a
LMI
11785 * subr.el (remove-duplicates): New conveniency function.
11786
505e3645
LMI
117872011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11788
11789 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11790 (bug#1526).
11791
117922011-07-10 Martin Rudalics <rudalics@gmx.at>
11793
11794 * window.el (display-buffer-normalize-default): Don't invert
11795 meaning of even-window-heights. Reported by Eli Zaretskii
11796 <eliz@gnu.org>.
11797
455e4fa1
BR
117982011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11799
11800 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11801
8e0bc3e9
CY
118022011-07-10 Chong Yidong <cyd@stupidchicken.com>
11803
11804 * window.el (display-buffer): Fix arguments to
11805 display-buffer-reuse-window in last change.
11806
fa7c3228
CY
11807 * faces.el (link): Use a less saturated blue on light backgrounds.
11808
11809 * startup.el (fancy-startup-text, fancy-about-text)
11810 (fancy-startup-tail): Use font-lock faces, for background safety.
11811
c0a7f300
BN
118122011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11813
b796c9b7
SM
11814 * emulation/viper-cmd.el (viper-change-state-to-vi):
11815 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11816
4dc2a129
MR
118172011-07-09 Martin Rudalics <rudalics@gmx.at>
11818
11819 * window.el (display-buffer-default-specifiers): Remove.
11820 (display-buffer-macro-specifiers): Remove default specifiers.
11821 (display-buffer-alist): Default to nil.
b796c9b7 11822 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11823 (display-buffer-pop-up-window): Allow splitting internal
11824 windows. Check whether a live window was created.
11825 (display-buffer-other-window-means-other-frame)
11826 (display-buffer-normalize-arguments): Rename to
11827 display-buffer-normalize-argument and rewrite. Set the
11828 other-window specifier.
11829 (display-buffer-normalize-special): New function.
11830 (display-buffer-normalize-options): Rename to
11831 display-buffer-normalize-default and rewrite.
11832 (display-buffer-normalize-options-inhibit): Remove.
11833 (display-buffer-normalize-specifiers): Rewrite.
11834 (display-buffer): Process other-window specifier and call
11835 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11836 more faithfully.
b796c9b7 11837 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11838 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11839 (display-buffer-in-window, display-buffer-alist-set):
11840 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11841 <tassilo@member.fsf.org>.
11842
2d43b8c9
LL
118432011-07-09 Leo Liu <sdl.web@gmail.com>
11844
11845 * register.el (insert-register): Restore accidental change on
11846 2011-06-26. (Bug#9028)
11847
7f9b7c53
GM
118482011-07-09 Glenn Morris <rgm@gnu.org>
11849
11850 * subr.el (remq): Handle the empty list. (Bug#9024)
11851
f042cfd8
AS
118522011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11853
11854 * mail/sendmail.el (send-mail-function): No longer delay custom
11855 initialization.
11856 * custom.el (custom-initialize-delay): Doc fix.
11857
856b2f11
SM
118582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11859
11860 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11861
afae1d68
MA
118622011-07-08 Michael Albinus <michael.albinus@gmx.de>
11863
11864 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11865 human-friendly prompt.
11866
0757af94
SM
118672011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11868
11869 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11870 provided by a particular plugin.
11871
d760b731
LMI
118722011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11873
11874 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11875 save customizations (with "emacs -Q"), just set the variable
11876 instead of erroring out.
11877
11878 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11879
cd79ce90
JL
118802011-07-08 Juri Linkov <juri@jurta.org>
11881
11882 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11883 (archive-zip-update-case): Use 7z if found by `executable-find'.
11884 The order of searching the available programs is the same as in
11885 `archive-zip-extract' (bug#8968).
11886
14cc04aa
CY
118872011-07-07 Chong Yidong <cyd@stupidchicken.com>
11888
11889 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11890 (menu-bar-options-menu): Tweak descriptions.
11891
0a1848ec
LMI
118922011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11893
11894 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11895 menu items into verb phrases (bug#1421). Also refill to fit under
11896 80 columns.
11897
f5bd0689
CY
118982011-07-07 Chong Yidong <cyd@stupidchicken.com>
11899
538e85c6
CY
11900 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11901 (Info-read-node-name): Doc fix (Bug#1084).
11902
f5bd0689
CY
11903 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11904 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11905 (end-of-sexp, beginning-of-sexp)
11906 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11907 (forward-symbol, forward-same-syntax, word-at-point)
11908 (sentence-at-point): Doc fix (Bug#1144).
11909
56ec5115
LMI
119102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11911
f3f8e37f
LMI
11912 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11913 should cover it (bug#1281).
11914
0757af94 11915 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11916
e9fce1ac 11917 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11918 negotiation fails, then possibly try again with a non-encrypted
11919 connection (bug#9017).
11920
56ec5115
LMI
11921 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11922 be used.
11923
c2f9aec8
RS
119242011-07-07 Richard Stallman <rms@gnu.org>
11925
11926 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11927 property, and handle its changed format.
11928 Look for the correct line number.
11929 Use file's line contents (but not past first =) to find
11930 correct line in message.
11931
ef7b981d 119322011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11933
11934 * international/characters.el (build-unicode-category-table):
11935 Delete it.
0757af94 11936 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11937
0757af94 11938 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11939 to src/chartab.c.
11940 (get-char-code-property): Call unicode-property-table-internal to
11941 load a file. Call get-unicode-property-internal where necessary.
11942 (put-char-code-property): Call unicode-property-table-internal to
11943 load a file. Call put-unicode-property-internal where necessary.
11944 put-unicode-property-internal where necessary.
0757af94
SM
11945 (char-code-property-description):
11946 Call unicode-property-table-internal to load a file.
c805dec0
KH
11947
11948 * international/charprop.el:
11949 * international/uni-bidi.el:
11950 * international/uni-category.el:
11951 * international/uni-combining.el:
11952 * international/uni-comment.el:
11953 * international/uni-decimal.el:
11954 * international/uni-decomposition.el:
11955 * international/uni-digit.el:
11956 * international/uni-lowercase.el:
11957 * international/uni-mirrored.el:
11958 * international/uni-name.el:
11959 * international/uni-numeric.el:
11960 * international/uni-old-name.el:
11961 * international/uni-titlecase.el:
11962 * international/uni-uppercase.el: Regenerate.
11963
11964 * loadup.el: Load international/charprop.el before
11965 international/characters.
11966
e14b388a
CY
119672011-07-07 Chong Yidong <cyd@stupidchicken.com>
11968
11969 * window.el (next-buffer, previous-buffer): Signal an error if
11970 called from a minibuffer window.
11971
11972 * bindings.el: Revert 2011-07-04 change.
11973
354cf0ba
RS
119742011-07-06 Richard Stallman <rms@gnu.org>
11975
11976 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11977 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11978 Treat markers like ints.
11979 (rmail-mime-entity): Doc fix.
11980
a48868a7
LMI
119812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11982
4906cd3d
LMI
11983 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11984 defcustom again for backwards compatibility.
11985
e0457abe
LMI
11986 * simple.el (shell-command-on-region): Fill.
11987
d67f7e1f
LMI
11988 * dired-aux.el (dired-kill-line): Add a doc string.
11989
fe204702
LMI
11990 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11991 to "\\sw\\|\\s_" (bug#358).
11992
a48868a7
LMI
11993 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11994 (dired-unmark-backward): Ditto.
11995 (dired-flag-backup-files): Ditto.
11996
11997 * dired-x.el (dired-mark-sexp): Ditto.
11998
aa8a705c
RS
119992011-07-06 Richard Stallman <rms@gnu.org>
12000
12001 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12002 (rmail-mime-entity): New arg TRUNCATED.
12003 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12004 New functions.
12005 (rmail-mime-save): Warn if entity is truncated.
12006 (rmail-mime-toggle-hidden): Likewise, for showing.
12007 (rmail-mime-process-multipart): Record when an entity is truncated.
12008
a9a936b9
RS
12009 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12010 if ENTITY is a string.
12011
1f2b92cb
LMI
120122011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12013
f4f73198 12014 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12015 of faces when `M-C-x'-ing their definitions (bug#8378).
12016 Also clean up the code slightly.
f4f73198 12017
12b16734 12018 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12019 because that makes the colors go away.
12b16734 12020
f0691d22
LMI
12021 * mail/sendmail.el (send-mail-function): Change the default to
12022 `sendmail-query-once'.
9e87df06 12023 (sendmail-query-once): Add an autoload cookie.
f0691d22 12024
1f2b92cb
LMI
12025 * net/network-stream.el (network-stream-open-starttls): Try using
12026 a plain connection even if the server offered STARTTLS, and we
12027 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12028 capability. This should make smtpmail.el work in slightly more
12029 configurations.
12030
1cdd2a1b
MA
120312011-07-06 Michael Albinus <michael.albinus@gmx.de>
12032
12033 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12034 New defun.
12035 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12036
fbcc67e2
MM
120372011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12038
12039 * progmodes/sql.el: Version 3.0
0757af94 12040 (sql-product-alist): Add product :completion-object,
fbcc67e2 12041 :completion-column, and :statement attributes.
0757af94 12042 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12043 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12044 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12045 ansi keywords.
12046 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12047 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12048 (sql-oracle-show-reserved-words): New function for development.
12049 (sql-product-font-lock): Simplify for source code buffers.
12050 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12051 New functions.
12052 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12053 (sql-mode-map): Add statement movement functions.
12054 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12055 New variable.
fbcc67e2
MM
12056 (sql-statement-regexp, sql-beginning-of-statement)
12057 (sql-end-of-statement, sql-signum): New functions.
0757af94 12058 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12059 (sql-show-sqli-buffer): Bug fix.
12060 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12061 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12062 with sql-interactive-mode.
12063 (sql-save-connection): Save buffer local settings.
0757af94 12064 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12065 (sql-product-interactive): Bug fix.
12066 (sql-preoutput-hold): New variable.
12067 (sql-interactive-remove-continuation-prompt): Bug fixes.
12068 (sql-debug-redirect): New variable.
12069 (sql-str-literal): New function.
12070 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12071 Redesign.
fbcc67e2
MM
12072 (sql-oracle-save-settings, sql-oracle-restore-settings)
12073 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12074 (sql-completion-object, sql-completion-column)
12075 (sql-completion-sqlbuf): New variables.
12076 (sql-build-completions-1, sql-build-completions)
12077 (sql-try-completion): New functions.
12078 (sql-read-table-name): Use them.
12079 (sql-contains-names): New buffer local variable.
12080 (sql-list-all, sql-list-table): Use it.
12081 (sql-oracle-completion-types): New variable.
12082 (sql-oracle-completion-object, sql-sqlite-completion-object)
12083 (sql-postgres-completion-object): New functions.
12084
d4eaeab1
GM
120852011-07-06 Glenn Morris <rgm@gnu.org>
12086
12087 * window.el (pop-to-buffer): Doc fix.
12088
322b7dab 120892011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12090
12091 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12092
322b7dab 120932011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12094
322b7dab 12095 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12096
322b7dab 12097 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12098
605dd5bf
CY
120992011-07-05 Chong Yidong <cyd@stupidchicken.com>
12100
12101 * button.el (button): Inherit from link face. Suggested by Dan
12102 Nicolaescu.
12103
7dbfa719
SM
121042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12105
3db614b0
SM
12106 * progmodes/gdb-mi.el: Fit in 80 columns.
12107 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12108 switch-to-buffer.
12109
7dbfa719
SM
12110 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12111 if imenu is simply not configured (bug#8941).
12112
919d884a
KM
121132011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12114
12115 * allout.el (allout-post-undo-hook): New allout outline-change
12116 event hook to signal undo activity.
12117 (allout-post-command-business): Run allout-post-undo-hook if an
12118 undo just occurred.
7dbfa719
SM
12119 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12120 * allout-widgets.el (allout-widgets-after-undo-function):
12121 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12122 in the vicinity of an undo.
12123 (allout-widgets-mode): Include allout-widgets-after-undo-function
12124 on the new allout-post-undo-hook.
12125
450a0f09
SM
121262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12129 Let define-derived-mode define it.
12130 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12131 cycles of abbrev-table inheritance (bug#8998).
12132
2de69e00
RW
121332011-07-05 Roland Winkler <winkler@gnu.org>
12134
12135 * textmodes/bibtex.el: Add support for biblatex.
12136 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12137 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12138 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12139 (bibtex-entry-alist, bibtex-field-alist): New variables.
12140 (bibtex-entry-field-alist): Obsolete alias for
12141 bibtex-BibTeX-entry-alist.
12142 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12143 (bibtex-set-dialect): New command.
12144 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12145 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12146 Bind via bibtex-set-dialect.
2de69e00
RW
12147 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12148 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12149 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12150 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12151 Define via bibtex-set-dialect.
450a0f09
SM
12152 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12153 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12154 (bibtex-vec-push, bibtex-vec-incr): New functions.
12155 (bibtex-format-entry, bibtex-field-list)
12156 (bibtex-print-help-message, bibtex-validate)
12157 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12158
2dcdbdd9
SM
121592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12160
12161 * progmodes/compile.el (compilation-goto-locus):
12162 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12163 * bs.el (bs-cycle-next, bs-cycle-previous):
12164 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12165 * bindings.el (mode-line-other-buffer):
12166 * autoinsert.el (auto-insert):
12167 * arc-mode.el (archive-extract):
12168 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12169
b27640fe
JB
121702011-07-05 Juanma Barranquero <lekktu@gmail.com>
12171
12172 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12173 Fix check of `emacs-lock-unlockable-modes'.
12174 Coerce true values of `emacs-lock--try-unlocking' to t.
12175
53bbe3ad
JB
121762011-07-05 Juanma Barranquero <lekktu@gmail.com>
12177
12178 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12179 * emacs-lock.el: New file.
12180
1d3cdbc7
JD
121812011-07-05 Julien Danjou <julien@danjou.info>
12182
12183 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12184 than `boundp' to check if face is set.
12185
9173deec
JB
121862011-07-05 Juanma Barranquero <lekktu@gmail.com>
12187
12188 * register.el (registerv-make):
12189 * window.el (window-min-height): Fix typos in docstrings.
12190
869795d6
JD
121912011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12192
9173deec 12193 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12194 Update doc string.
12195
b768cdcd
JB
121962011-07-04 Juanma Barranquero <lekktu@gmail.com>
12197
12198 * server.el (server-execute): Catch quit and call
12199 `server-return-error' to pass the error back to emacsclient and
12200 close the connection (bug#8942).
12201
13aa217b
KM
122022011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12203
12204 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12205 insecure exception for current topic. Also note that auto-saves
12206 are handled differently.
12207
5d3385a0 12208 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12209 State variables for tracking auto-save inhibition situation.
12210
12211 (allout-write-contents-hook-handler): Rename from
12212 'allout-write-file-hook-handler', and describe how it depends on
12213 write-contents-functions sensitivity to non-nil value to prevent
12214 file write.
12215
12216 (allout-auto-save-hook-handler): Remove. auto-save does not check
12217 this in individual buffers, only in the starting buffer, so this
12218 is not the right way for us to inhibit auto-save in a buffer
12219 according to its condition.
12220
12221 (allout-mode): Use new allout-write-contents-hook-handler, and
12222 only with write-contents-functions. Remove auto-save provisions -
12223 they're implemented elsewhere.
12224
12225 (allout-before-change-handler): If undo is in progress, note that
12226 for attention of allout-post-command-business.
12227
12228 (allout-post-command-business): If the command we're following was
12229 an undo, check for change in the status of encrypted items and
12230 adjust auto-save inhibitions accordingly.
12231
12232 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12233 according to whether there are or aren't any plain-text topics
12234 pending encryption.
12235
2dcdbdd9 12236 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12237 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12238 if there are plain-text topics pending encryption.
13aa217b
KM
12239
12240 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12241 buffer-saved-size and some allout state to not inhibit auto-saves
12242 if there are no longer any plain-text topics pending encryption.
12243
0757af94
SM
12244 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12245 No longer provide for exemption of the current topic.
13aa217b 12246
ac89b32c
JL
122472011-07-04 Juri Linkov <juri@jurta.org>
12248
12249 Add 7z operations to delete and save changed members (bug#8968).
12250 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12251 New defcustoms.
12252 (archive-7z-write-file-member): New function.
12253 (archive-7z-summarize): Fix the number of dashes in the
12254 listing output.
12255
8fa39615
SM
122562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12259 (bug#8958).
12260
2f11b3f1
CY
122612011-07-04 Chong Yidong <cyd@stupidchicken.com>
12262
d66fef2b
CY
12263 * bindings.el: Ignore next-buffer and previous-buffer in
12264 minibuffer-local-map.
12265
2f11b3f1
CY
12266 * font-lock.el (font-lock-builtin-face): Change light background
12267 color to dark slate blue (Bug#6693).
12268
f932a347
WD
122692011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12270
12271 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12272
c8af70e1
SM
122732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12274
12275 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12276 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12277 Add switch-to-buffer.
12278
f158badc
LMI
122792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12280
12281 * isearch.el (isearch-search-fun-function): Clarify further the
12282 meaning of the function returned.
12283
6d95bd46
MA
122842011-07-04 Michael Albinus <michael.albinus@gmx.de>
12285
12286 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12287
12288 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12289 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12290 Use it.
12291 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12292 `tramp-default-remote-path' does not exist.
12293 (tramp-send-command-and-read): New optional argument NOERROR.
12294 (tramp-open-connection-setup-interactive-shell)
12295 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12296 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12297 (tramp-process-sentinel): Flush also process' connection property.
12298 (tramp-sh-handle-start-file-process): Do not set process
12299 sentinel. It is done now ...
12300 (tramp-maybe-open-connection): ... here. (Bug#8929)
12301
909e6b67
MK
123022011-07-04 MON KEY <monkey@sandpframing.com>
12303
12304 * play/animate.el (animate-string): Doc fixes and allow changing
12305 the buffer name (bug#5417).
12306
123072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12308
c8af70e1 12309 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12310
f34755dc
PE
123112011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12312
396cec72
PE
12313 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12314 This is simpler and helps future-proof the code.
12315 (timer-until): Use time-subtract and float-time.
08235028 12316 (timer--time-less-p): Use time-less-p.
f34755dc 12317
56e6cc31
JB
123182011-07-04 Juanma Barranquero <lekktu@gmail.com>
12319
3abb79e5
JB
12320 * type-break.el (timep): Use the value of `float-time' to avoid a
12321 byte-compiler warning.
12322
56e6cc31
JB
12323 * server.el (server-eval-and-print): Return any result, even nil.
12324
7b9430b4
PE
123252011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12326
12327 * type-break.el: Accept time formats that the builtins accept.
12328 (timep, type-break-time-difference): Accept any format that
12329 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12330 This is simpler and helps future-proof the code.
12331 (type-break-time-difference): Round rather than ignoring
12332 subseconds components.
12333
3034e9e7
LMI
123342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12335
12336 * info.el (Info-apropos-matches): Make non-interactive, since it
12337 doesn't seem to do anything useful as a command (bug#8829).
12338
1485f4c0
CY
123392011-07-03 Chong Yidong <cyd@stupidchicken.com>
12340
12341 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12342 Move from faces.el.
1485f4c0
CY
12343 (frame-default-terminal-background): New function.
12344
12345 * custom.el (custom-push-theme): Don't record faces in `changed'
12346 theme; this doesn't work correctly for per-frame face settings.
12347 (disable-theme): Use face-set-after-frame-default to reset faces.
12348 (custom--frame-color-default): New function.
12349
9fa3dd45
LMI
123502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12351
c8af70e1 12352 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12353 (bug#8769).
12354
6cbbc20c
KR
123552011-03-29 Kevin Ryde <user42@zip.com.au>
12356
12357 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12358 `perl-Test2' extend to match possible "fail #N" rep count
12359 (bug#8377).
12360
c7f98048
LMI
123612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12362
65676592
LMI
12363 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12364 `smtpmail-via-smtp' now returns the error instead of nil.
12365
c7f98048
LMI
12366 * isearch.el (isearch-search-fun-function): Clarify the doc string
12367 (bug#8101).
12368
56e6cc31 123692011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12370
12371 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12372 unnecessary spaces (bug#8987).
12373
2b216704
LMI
123742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12375
12376 * net/network-stream.el (open-network-stream): Use the
12377 :end-of-capability command thoughout.
12378
123792011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12380
12381 * net/network-stream.el (open-network-stream): Add the
12382 :end-of-capability command parameter, used by pop3.el.
12383
36adf6ce
LMI
123842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12385
1ca0da0e
LMI
12386 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12387
fc00f69c
LMI
12388 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12389 for list)" (bug#6475).
12390
28fd8759 12391 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12392 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12393 an error (bug#6297).
12394
0dd8b6da
LMI
12395 * man.el (Man-reference-regexp): Allow matching possible
12396 word-wrapped references (bug#6289).
12397
ce1438d6
LMI
12398 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12399 for consistency with the other vc buffers (bug#6197).
12400 (vc-checkin): Ditto.
12401
12402 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12403
36adf6ce
LMI
12404 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12405
e83cc1f7
LMI
124062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12407
8a20ca4c
LMI
12408 * custom.el (defcustom): Clarify that :set is only used in the
12409 Customize user interface (bug#6089).
12410
83319045
LMI
12411 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12412 associated with a file, refuse to run instead of erroring out
12413 (bug#6084).
12414
a8392169
LMI
12415 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12416 the doc string, since it appears that using `fill-column' always
12417 controls the width (bug#7845).
12418
e83cc1f7
LMI
12419 * simple.el (shell-command-on-region): Say where the error output
12420 went if `shell-command-default-error-buffer' is set (bug#6857).
12421
e47ca23b
KM
124222011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12423
12424 * allout.el (allout-yank-processing): Adjust cursor position for
12425 backwards-deleted space.
12426
12427 (allout-rebullet-heading): Register changes with
12428 allout-exposure-changed-hook, so the modified topic is properly
12429 decorated.
12430
5cf56143
LMI
124312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12432
08549772
LMI
12433 * minibuffer.el (completion-in-region): Document PREDICATE
12434 (bug#7136).
12435
48e96771
LMI
12436 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12437 of keyword/argument pairs (bug#6904).
12438
c8af70e1
SM
12439 * replace.el (multi-occur):
12440 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12441
e17d05e2
LMI
124422011-07-02 Drew Adams <drew.adams@oracle.com>
12443
12444 * dired.el (dired-mark-if): Make the message about whether it's
12445 marking or unmarking clearer (bug#8523).
12446
063b0e45
LMI
124472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12448
12449 * disp-table.el (display-table-print-array): New function.
12450 (describe-display-table): Use it to print the vectors more pretty
12451 (Bug#8859).
12452
28545e04
MR
124532011-07-02 Martin Rudalics <rudalics@gmx.at>
12454
12455 * window.el (window-state-get-1): Don't assign clone numbers.
12456 Add clone-of item to list of window parameters.
12457 (window-state-put-2): Don't process clone numbers.
12458 (display-buffer-alist): Fix doc-string.
12459
3349e122
SM
124602011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12461
12462 * subr.el (remq): Don't allocate if it's not needed.
12463 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12464 (keymap--merge-bindings): New functions.
12465 (keymap-canonicalize): Use them to refine the canonicalization.
12466 * minibuffer.el (minibuffer-local-completion-map)
12467 (minibuffer-local-must-match-map): Move initialization from C.
12468 (minibuffer-local-filename-completion-map): Move initialization from C;
12469 don't inherit from anything here.
12470 (minibuffer-local-filename-must-match-map): Make obsolete.
12471 (completing-read-default): Use make-composed-keymap to combine
12472 minibuffer-local-filename-completion-map with either
12473 minibuffer-local-must-match-map or
12474 minibuffer-local-filename-completion-map.
12475
d224ac83
GM
124762011-07-01 Glenn Morris <rgm@gnu.org>
12477
3de63bf8
GM
12478 * type-break.el (type-break-time-sum): Use dolist.
12479
d224ac83
GM
12480 * textmodes/flyspell.el (flyspell-word-search-backward):
12481 Replace CL function.
12482
1a1e3f32
SM
124832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12484
fe3f64d5
SM
12485 * mouse.el (mouse--strip-first-event): New function.
12486 (function-key-map): Use it to map fringe clicks to normal clicks
12487 by default.
12488
eb604e34
SM
12489 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12490 (vc-bzr-revision-completion-table): Add support for annotate and date.
12491
1a1e3f32
SM
12492 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12493 inherit from parent.
12494
5bd35902
LMI
124952011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12496
ace6c69c 12497 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12498 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12499
191e2bed
LMI
12500 * dired.el (dired-mode): Fix up the doc string as suggested by
12501 Drew Adams (bug#8817).
12502
5bd35902
LMI
12503 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12504 cookie, since the manual says that it should be possible to add
12505 this function to `find-file-hook' (bug#8709).
12506
eee8207a
TZ
125072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12508
12509 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12510 here. Noted Ted Zlatanov as the maintainer.
12511 (cfengine-common-settings, cfengine-common-syntax): New functions
12512 to set up common things between `cfengine-mode' and
12513 `cfengine3-mode'.
12514 (cfengine3-mode): New mode.
12515 (cfengine3-defuns cfengine3-defuns-regex
12516 (cfengine3-class-selector-regex cfengine3-category-regex)
12517 (cfengine3-vartypes cfengine3-font-lock-keywords)
12518 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12519 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12520
36b148cf
MA
125212011-07-01 Michael Albinus <michael.albinus@gmx.de>
12522
12523 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12524
12525 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12526
0bf4ba9a
MR
125272011-07-01 Martin Rudalics <rudalics@gmx.at>
12528
12529 * window.el (same-window-buffer-names, same-window-regexps)
12530 (same-window-p, special-display-frame-alist)
12531 (special-display-popup-frame, special-display-function)
12532 (special-display-buffer-names, special-display-regexps)
12533 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12534 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12535 (split-window-preferred-function, split-height-threshold)
12536 (split-width-threshold, even-window-heights)
12537 (display-buffer-mark-dedicated, window-splittable-p)
12538 (split-window-sensibly, window-safely-shrinkable-p):
12539 Un-obsolete.
12540 (display-buffer): Don't spread args with function specifier
12541 because special-display-popup-frame won't like it.
12542
35837f51
PE
125432011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12544
d0672f86
PE
12545 Time-stamp simplifications and fixes.
12546 These improve accuracy slightly, and future-proof the code
12547 against some potential changes to current-time format.
12548
b9444d97
PE
12549 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12550 by using time-since and float-time.
12551
0ef923dc
PE
12552 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12553 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12554 + NNN microseconds".
12555
2f81380d
PE
12556 * type-break.el (type-break-time-sum): Rewrite using time-add.
12557
845b5c3e
PE
12558 * play/hanoi.el (hanoi-current-time-float): Remove.
12559 All uses replaced by float-time.
12560
ee6f1be0
PE
12561 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12562 This yields a more-accurate answer.
12563 (rng-time-to-float): Remove; no longer needed.
12564
fe955043
PE
12565 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12566
5777162a
PE
12567 * calendar/timeclock.el (timeclock-seconds-to-time):
12568 Defalias to seconds-to-time, since they're the same thing.
12569
3103f8b6 12570 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12571 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12572 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12573
0e61a35f
SM
125742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12575
12576 * window.el (bury-buffer): Don't iconify the only frame.
12577 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12578 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12579
ddd63a1e
CY
125802011-07-01 Chong Yidong <cyd@stupidchicken.com>
12581
0e61a35f
SM
12582 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12583 Add mouse-yank-primary.
ddd63a1e 12584
055f4923
TZ
125852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12586
12587 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12588
6a2fb145
SM
125892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12590
12591 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12592 (find-library-name): Use it to find relative load names when provided
12593 absolute file name (bug#8803).
12594
fd4983f2
LMI
125952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12596
887d14ad
LMI
12597 * textmodes/flyspell.el (flyspell-word): Consider words that
12598 differ only in case as potential doublons (bug#5687).
12599
c53dc7fc
LMI
12600 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12601 Remove two rather uninteresting debugging-like messages to make
12602 debbugs.el more silent.
12603
fd4983f2
LMI
12604 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12605 a password-like phrase.
12606
7a71b18d 126072011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12608
12609 * progmodes/cc-guess.el: New file.
12610
6a2fb145 12611 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12612
12613 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12614 derived from `c-basic-common-init'.
12615
12616 * progmodes/cc-mode.el (top-level): Require cc-guess.
12617 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12618
1fa280a3
LM
126192011-06-30 Lawrence Mitchell <wence@gmx.li>
12620
12621 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12622
e6597158
AM
126232011-06-30 Alan Mackenzie <acm@muc.de>
12624
1fa280a3
LM
12625 * progmodes/cc-engine.el (c-guess-continued-construct):
12626 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12627 lock is disabled. Name this case as "CASE G".
12628
68ba37fb
KM
126292011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12630
12631 * allout.el (allout-yank-processing): Fix injection of extra space
12632 between bullet and non-whitespace character in first topic when
12633 pasting, ensuring that the actual spacing in the pasted topic
12634 following the bullet char is preserved. This extra space was
12635 causing pasted encrypted topics to get a decrypted status even
12636 when the content was actually still encrypted. Now the decryption
12637 status from before the paste is preserved.
12638
12639 (allout-flag-region): Set all allout overlays so they evaporate
12640 when reduced to zero length (evanescent), to prevent overlay
12641 leakage.
12642
887a0b34
GM
126432011-06-30 Glenn Morris <rgm@gnu.org>
12644
94b9acce
GM
12645 * w32-fns.el (w32-charset-info-alist): Declare.
12646
1d9b46d4
GM
12647 * find-dired.el (find-grep-options): Simplify.
12648
cc232200
GM
12649 * term/ns-win.el (ns-set-resource): Declare.
12650
28e77c46
GM
12651 * ses.el (row, col): Declare dynamic variables honestly.
12652
887a0b34
GM
12653 * textmodes/reftex-parse.el (index-tags): Declare.
12654
658d8eb8
CY
126552011-06-30 Chong Yidong <cyd@stupidchicken.com>
12656
12657 * cus-edit.el (customize-push-and-save): New function.
12658
12659 * files.el (hack-local-variables-confirm): Use it.
12660
1fa280a3
LM
12661 * custom.el (load-theme): New arg NO-CONFIRM.
12662 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12663 (custom-enabled-themes): Doc fix.
12664
12665 * cus-theme.el (customize-create-theme)
12666 (custom-theme-merge-theme): Callers to load-theme changed.
12667
bb617717
LMI
126682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12669
d61bdd5d
LMI
12670 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12671 short URLs have at least one dot in them (bug #7614).
12672
bb617717
LMI
12673 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12674 nil, because using a pty is apparently too slow (bug #895).
12675
2f31f37a
LMI
126762011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12677
12678 * mail/sendmail.el (sendmail-query-once): New function.
12679 (sendmail-query-once-function): New variable.
12680
3076b24e
GM
126812011-06-29 Glenn Morris <rgm@gnu.org>
12682
faf2a174
GM
12683 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12684
3076b24e
GM
12685 * ses.el (top-level): Require cl when compiling.
12686 (ses-set-localvars): Fix error statement.
12687 Call it at compile time to silence a storm of warnings.
12688
5386012d
MR
126892011-06-29 Martin Rudalics <rudalics@gmx.at>
12690
12691 * window.el (normalize-live-buffer): Rename to
12692 window-normalize-buffer.
12693 (normalize-live-frame): Rename to window-normalize-frame.
12694 (normalize-any-window): Rename to window-normalize-any-window.
12695 (normalize-live-window): Rename to window-normalize-live-window.
12696 (make-window-atom): Rename to window-make-atom.
12697 (window-resize-reset): Rename to window--resize-reset.
12698 (window-resize-reset-1): Rename to window--resize-reset-1.
12699 (resize-mini-window): Rename to window--resize-mini-window.
12700 (resize-subwindows-skip-p): Rename to
12701 window--resize-subwindows-skip-p.
12702 (resize-subwindows-normal): Rename to
12703 window--resize-subwindows-normal.
12704 (resize-subwindows): Rename to window--resize-subwindows.
12705 (resize-other-windows): Rename to window--resize-siblings.
12706 (resize-this-window): Rename to window--resize-this-window.
12707 (resize-root-window): Rename to window--resize-root-window.
12708 (resize-root-window-vertically): Rename to
12709 window--resize-root-window-vertically.
12710 (normalize-buffer-to-display): Rename to
12711 window-normalize-buffer-to-display.
12712 (normalize-buffer-to-switch-to): Rename to
12713 window-normalize-buffer-to-switch-to.
12714 Correspondingly update all callers of the functions listed
12715 above.
12716 (display-buffer-alist, display-buffer-normalize-arguments)
12717 (display-buffer-normalize-options, display-buffer)
12718 (display-buffer-alist-set): Use "function" instead of
12719 "fun-with-args".
12720
1176868d
CY
127212011-06-28 Chong Yidong <cyd@stupidchicken.com>
12722
12723 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12724 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12725 debbugs.gnu.org. Mention acknowledgment email.
12726
20a7a65f
LMI
127272011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12728
12729 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12730 buffer multibyteness, since it shouldn't matter.
12731
5f45cca5
MR
127322011-06-28 Martin Rudalics <rudalics@gmx.at>
12733
12734 * window.el (display-buffer-in-side-window): Handle dedicated
12735 windows as in display-buffer-reuse-window.
12736 (display-buffer-normalize-alist): Use value of override
12737 specifier.
12738 (display-buffer-normalize-specifiers): Use value of
12739 other-window-means-other-frame specifier.
12740 (display-buffer-alist): Rewrite some texts in widgets.
12741 (display-buffer): Spread arguments when calling function
12742 specified by fun-with-args.
12743
ad85fe1f
DD
127442011-06-28 Deniz Dogan <deniz@dogan.se>
12745
1fa280a3
LM
12746 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12747 Unnest `let'.
da68c4c8 12748
ad85fe1f
DD
12749 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12750 selectors (Bug#5732).
ec49bd31 12751 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12752
a08cc025
JA
127532011-06-27 Jari Aalto <jari.aalto@cante.net>
12754
12755 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12756 (eshell-ls-date-format): New defcustom.
12757 (eshell-ls-file): Use it.
12758
e2b551c5
SM
127592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12762
8982b231
KY
127632011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12764
12765 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12766 (ange-ftp-make-tmp-name): New arg.
12767 (ange-ftp-file-local-copy): Use it.
12768
36c9fa27
J
127692011-06-27 Jambunathan K <kjambunathan@gmail.com>
12770
12771 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12772 no-conversion (Bug#8870).
12773
d68443dc
MR
127742011-06-27 Martin Rudalics <rudalics@gmx.at>
12775
12776 * window.el (window-right, window-left, window-child)
12777 (window-child-count, window-last-child)
12778 (window-iso-combination-p, walk-window-tree-1)
12779 (window-atom-check-1, window-tree-1, delete-window)
12780 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12781 new naming conventions - window-vchild, window-hchild,
12782 window-next and window-prev are now called window-top-child,
12783 window-left-child, window-next-sibling and window-prev-sibling
12784 respectively.
d615d6d2
MR
12785 (resize-window-reset): Rename to window-resize-reset.
12786 (resize-window-reset-1): Rename to window-resize-reset-1.
12787 (resize-window): Rename to window-resize.
12788 (window-min-height, window-min-width)
12789 (resize-mini-window, resize-this-window, resize-root-window)
12790 (resize-root-window-vertically, adjust-window-trailing-edge)
12791 (enlarge-window, shrink-window, maximize-window)
12792 (minimize-window, delete-window, quit-restore-window)
12793 (split-window, balance-windows, balance-windows-area-adjust)
12794 (balance-windows-area, window-state-put-2)
12795 (display-buffer-even-window-sizes, display-buffer-set-height)
12796 (display-buffer-set-width, set-window-text-height)
12797 (fit-window-to-buffer): Rename all "resize-window" prefixed
12798 calls to use the "window-resize" prefix convention.
12799 (display-buffer-alist): Fix symbol for label specifier.
12800 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12801 corresponding specifier.
12802 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12803
b6458526
VB
128042011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12805
12806 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12807 convention.
12808 (ses-call-printer): Does not pass an empty string to formatter when the
12809 cell is empty to keep from barking printer Calc math-format-value.
12810
d31fd9ac
RS
128112011-06-27 Richard Stallman <rms@gnu.org>
12812
43d5bf84
RS
12813 * battery.el (battery-mode-line-limit): New variable.
12814 (battery-update): Handle it.
12815
d31fd9ac
RS
12816 * mail/rmailmm.el (rmail-mime-process-multipart):
12817 Handle truncated messages.
12818
819a6054
GM
128192011-06-27 Glenn Morris <rgm@gnu.org>
12820
12821 * progmodes/flymake.el (flymake-err-line-patterns):
12822 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12823
cedc73f2
VB
128242011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12825
819a6054 12826 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12827 (ses--clean-!, ses--clean-_): New functions.
12828 (ses-range): Add configurability of readout order, and conversion
12829 to Calc vector.
12830
5e5d49b6
VB
12831 * ses.el (ses-repair-cell-reference-all): New function.
12832 (ses-cell-symbol): Set macro as safe, so that it can be used in
12833 formulas.
12834
56e6cc31 12835 * ses.el: Update cycle detection algorithm.
90ca8b49 12836 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12837 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12838 (ses-set-localvars): New function.
12839 (ses-make-cell): Add property-list as a cell element.
12840 (ses-cell-property-get-fun, ses-cell-property-get)
12841 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12842 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12843 New functions.
90ca8b49
VB
12844 (ses-cell-property-set, ses-cell-property-pop)
12845 (ses-cell-property-get-handle): New macro.
12846 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12847 New aliases, used for code readability.
12848 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12849 cycle detection.
12850 (ses-self-reference-early-detection): New defcustom.
fac916bf 12851 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12852 (ses-mode): Use ses-set-localvars.
12853 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12854 before lauching the update processing.
12855 (ses-initialize-Dijkstra-attempt): New function.
12856 (ses-recalculate-cell): Update for cycle detection based on
12857 Dijkstra algorithm.
12858
2bb63e81
VB
12859 * ses.el: Fix commenting and indenting convention.
12860
c9d29fb8
SM
128612011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12862
12863 * bs.el (bs-cycle-next): Complete last change.
12864
d8e4b68b
JB
128652011-06-27 Drew Adams <drew.adams@oracle.com>
12866
12867 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12868
40098786
LMI
128692011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12870
c9d29fb8
SM
12871 * net/network-stream.el (network-stream-open-starttls):
12872 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12873 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12874
40098786
LMI
12875 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12876 to binary to possibly avoid line encoding issues on Windows (among
12877 other things).
12878
468d09d4
LMI
128792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12880
12881 * net/network-stream.el (open-network-stream): Return an :error
12882 saying what the problem was, if possible.
12883
12884 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12885 server.
12886
12887 * net/network-stream.el (network-stream-open-starttls): If we
12888 wanted to use STARTTLS, and the server offered it, but we weren't
12889 able to because we had no STARTTLS support, then close the connection.
12890 (open-network-stream): Return an :error element, if present.
12891
16f07dd7
CY
128922011-06-26 Chong Yidong <cyd@stupidchicken.com>
12893
88821ca0
CY
12894 * hl-line.el (hl-line-sticky-flag): Doc fix.
12895 (global-hl-line-sticky-flag): New option (Bug#8323).
12896 (global-hl-line-highlight): Obey it.
12897
16f07dd7
CY
12898 * vc/vc.el (vc-revert-show-diff): Default to t.
12899
6b5ccddf
KM
129002011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12901
c9d29fb8
SM
12902 * allout-widgets.el (allout-widgets-post-command-business):
12903 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12904 undecorated when an isearch is continued past, and isearch
12905 automatically collapses them. This leads to "widget leaks", where
12906 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12907 hidden widgets can slow down cursor travel, substantially.
12908 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12909 so we're doing without this nicety.
12910
12911 (allout-widgets-tally-string): Don't try to do a hash-table-count
12912 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12913 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12914 *Messages* when allout-widgets-maintain-tally is t.
12915
355f2e07
MR
129162011-06-26 Martin Rudalics <rudalics@gmx.at>
12917
12918 * window.el (display-buffer-normalize-argument): Rename to
12919 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12920 LABEL argument. Respect special-display-function when popping up
12921 a new frame. Fix code searching for a window showing the buffer
12922 on another frame.
c9d29fb8
SM
12923 (display-buffer-normalize-specifiers):
12924 Call display-buffer-normalize-arguments.
355f2e07
MR
12925 (display-buffer-in-window): Don't undedicate the window if its
12926 buffer remains the same.
12927 Reported by Drew Adams <drew.adams@oracle.com>.
12928 (display-buffer-alist): Add choice for same-window macro
12929 specfier.
12930 (display-buffer): Mention special meaning of LABEL argument in
12931 doc-string. Fix quoting. Don't pop up a new frame even as
12932 fallback.
12933
7ca8fc42
JB
129342011-06-26 Juanma Barranquero <lekktu@gmail.com>
12935
12936 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12937 avoid deleting the current window in some cases (bug#8911).
12938
bc312254
AS
129392011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12940
12941 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12942 (Bug#8934)
12943
2db18f3f
LMI
129442011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12945
c9d29fb8
SM
12946 * net/network-stream.el (network-stream-open-starttls):
12947 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12948 (network-stream-open-tls): Ditto.
12949
6302e0d3
LL
129502011-06-26 Leo Liu <sdl.web@gmail.com>
12951
12952 * register.el (registerv): New struct.
12953 (registerv-make): New function.
c9d29fb8
SM
12954 (jump-to-register, describe-register-1, insert-register):
12955 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12956 struct. (Bug#8415)
12957
5fdd4046
CY
129582011-06-26 Chong Yidong <cyd@stupidchicken.com>
12959
2afef60a
CY
12960 * vc/vc.el (vc-revert-show-diff): New defcustom.
12961 (vc-diff-internal): New arg specifying diff buffer.
12962 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12963 reuse an existing *vc-diff* buffer (Bug#8927).
12964
5fdd4046
CY
12965 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12966
e93db24a
GM
129672011-06-26 Glenn Morris <rgm@gnu.org>
12968
12969 * progmodes/f90.el (f90-critical-indent): New option.
12970 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12971 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12972 (f90-mode): Doc fix.
12973 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12974 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12975 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12976 (f90-match-end): Handle block, critical.
12977
eefff499
GM
129782011-06-25 Glenn Morris <rgm@gnu.org>
12979
f6ba4cc9
GM
12980 * calendar/diary-lib.el (diary-included-files): Doc fix.
12981 (diary-include-files): New function, extracted from
12982 diary-include-other-diary-files and diary-mark-included-diary-files.
12983 (diary-include-other-diary-files, diary-mark-included-diary-files):
12984 Just call diary-include-files.
12985 (diary-mark-entries): Reset diary-included-files on first call.
12986
16712304
GM
12987 * calendar/diary-lib.el (diary-mark-entries)
12988 (diary-mark-included-diary-files):
12989 Visit included diary-files in temp buffers.
12990
5d8e0d43
GM
12991 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12992 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12993 (f90-start-block-re, f90-imenu-generic-expression)
12994 (f90-looking-at-program-block-start, f90-no-block-limit):
12995 Add support for submodules.
12996
ccf7a5d5
GM
12997 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12998 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12999
11fdef7d 130002011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13001
13002 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13003 buffer-file-type before setting its value, to avoid disastrous
eefff499 13004 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13005
74f53697
JB
130062011-06-25 Juanma Barranquero <lekktu@gmail.com>
13007
13008 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13009
13010 * ses.el (ses-unload-function):
13011 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13012
13013 * proced.el (proced-unload-function):
13014 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13015
18a4ce5e
AR
130162011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13017
13018 * server.el (server-create-window-system-frame): Add parameters arg.
13019 (server-process-filter): Doc fix. Handle frame-parameters.
13020
519d22cc
JB
130212011-06-25 Juanma Barranquero <lekktu@gmail.com>
13022
13023 Fix bug#8730, bug#8781.
13024
13025 * loadhist.el (unload--set-major-mode): New function.
13026 (unload-feature): Use it.
13027
13028 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13029 (python-unload-function): New function.
13030
c206f5b0
SM
130312011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13032
13033 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13034
f9ad64f3
GS
130352011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13036
13037 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13038 the candidates list.
13039
7d0da90e
JB
130402011-06-24 Juanma Barranquero <lekktu@gmail.com>
13041
13042 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13043
14b4e83d
RS
130442011-06-23 Richard Stallman <rms@gnu.org>
13045
13046 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13047 (rmail-variables): Set next-error-move-function.
13048 (rmail-what-message): Take argument POS.
13049 (rmail-next-error-move): New function.
13050
273d2baf
SM
130512011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13054 messages for adjacent non-terminals.
13055
56c2cc9a
RS
130562011-06-23 Richard Stallman <rms@gnu.org>
13057
13058 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13059 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13060 (rmail-start-mail): Don't specify use of rmail-mail-return;
13061 that's done by mail-bury now.
13062 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13063
d59eb518
MA
130642011-06-23 Michael Albinus <michael.albinus@gmx.de>
13065
13066 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13067 SIZE is a number.
13068
02cfc6d6
MR
130692011-06-23 Martin Rudalics <rudalics@gmx.at>
13070
13071 * window.el (get-lru-window, get-mru-window)
13072 (get-largest-window): Never return a minibuffer window.
13073 (display-buffer-pop-up-window): Fix a bug that could lead to
13074 reusing the minibuffer window.
13075 (display-buffer): Pass original specifier argument to
13076 display-buffer-function instead of the normalized one.
13077 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13078
4e323265
LL
130792011-06-22 Leo Liu <sdl.web@gmail.com>
13080
13081 * minibuffer.el (completing-read-function)
13082 (completing-read-default): Move from minibuf.c
13083
7a70468f
RS
130842011-06-22 Richard Stallman <rms@gnu.org>
13085
50718fc2
RS
13086 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13087 to Rmail even if not started by a special Rmail command.
13088
7a70468f
RS
13089 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13090 Copy the buffer currently showing just one message.
13091
297dde5a
RW
130922011-06-22 Roland Winkler <winkler@gnu.org>
13093
13094 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13095 (bibtex-clean-entry): First delete the old key so that a
13096 customized algorithm for generating the new key does not get
13097 confused by the old key.
13098 (bibtex-url): Obey regexp of first step.
13099 (bibtex-search-entries): Do not use add-to-list with local
13100 list-var.
13101
97bb1093
LMI
131022011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13103
13104 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13105 stored a user name, then query for the password first, instead of
13106 waiting for SMTP to give an error message and the trying again.
13107
1c0f1a19
JD
131082011-06-22 Lawrence Mitchell <wence@gmx.li>
13109
13110 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13111 BUFFER in call-process.
13112
396f7c9d
LMI
131132011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13114
13115 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13116 QUIT twice.
ddb7ffee
LMI
13117 (smtpmail-try-auth-methods): Require user name and password from
13118 auth-source.
396f7c9d 13119
8998d1b3
MR
131202011-06-22 Martin Rudalics <rudalics@gmx.at>
13121
13122 * window.el (display-buffer-default-specifiers)
13123 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13124 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13125 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13126
13127 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13128 (special-display-frame-alist, special-display-popup-frame):
13129 Remove duplicate declarations. These are now in window.el.
13130
4ea31e07
LMI
131312011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13132
c9d29fb8
SM
13133 * mail/smtpmail.el (smtpmail-via-smtp):
13134 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13135 server supports it. SMTP servers that support STARTTLS commonly
13136 require it.
13137
13138 * net/network-stream.el (network-stream-open-starttls): Support
13139 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13140 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13141
95f41d9a
LMI
13142 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13143 upgrades with `open-network-stream', and rely solely on
13144 auth-source for all credentials. Big changes throughout the file,
13145 but in particular:
c9d29fb8
SM
13146 (smtpmail-auth-credentials): Remove.
13147 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13148 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13149 MAIL FROM, too.
95f41d9a 13150
c9d29fb8
SM
13151 * net/network-stream.el (network-stream-open-starttls):
13152 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13153 STARTTLS.
13154 (auth-source): Require.
13155 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13156 (network-stream-certificate): Change cert-cert to cert and
13157 cert-key to key.
4ea31e07 13158
065ec2c7
MA
131592011-06-21 Michael Albinus <michael.albinus@gmx.de>
13160
13161 * net/tramp-cache.el (top): Don't load the persistency file when
13162 "emacs -Q" has been called.
13163
cd93b359
DR
131642011-06-21 Tim Harper <timcharper@gmail.com>
13165
d8e4b68b
JB
13166 * term/ns-win.el (ns-initialize-window-system):
13167 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13168 resource to NO as it is not yet supported by the NS port.
13169
ae9c0411
JB
131702011-06-21 Juanma Barranquero <lekktu@gmail.com>
13171
13172 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13173 (list-dynamic-libraries): ...not here.
13174
7f3f739f
LL
131752011-06-21 Leo Liu <sdl.web@gmail.com>
13176
13177 * subr.el (sha1): Implement sha1 using secure-hash.
13178
327c8fb1
MR
131792011-06-21 Martin Rudalics <rudalics@gmx.at>
13180
13181 * window.el (display-buffer-alist): In default value do not
13182 enforce searching a window on any but the selected frame.
13183 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13184 (display-buffer-select-window): Remove function.
13185 (display-buffer-in-window): When a window on another frame gets
13186 reused, do not select it any more but just raise its frame if
13187 necessary (Bug#8851) and (Bug#8856).
13188 (display-buffer-normalize-options): Handle pop-up-frames related
13189 options more faithfully.
13190 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13191 window if it is on another frame.
c9d29fb8
SM
13192 (display-buffer-alist, display-buffer-default-specifiers):
13193 Don't make new frame unsplittable by default.
9e9de014
MR
13194 (display-buffer-normalize-argument): Fix doc-string typo and use
13195 'same-frame-other-window instead of 'other-window when associating
13196 with display-buffer-macro-specifiers.
327c8fb1 13197
7cf3f556
VB
131982011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13199
13200 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13201 New functions.
13202 (5x5-mode-map, 5x5-mode-menu): Bind them.
13203 (5x5-draw-grid): Tweak the solver's rendering.
13204
60a406cf
SM
132052011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13206
13207 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13208 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13209
d8e4b68b 132102011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13211
13212 * menu-bar.el: Use function variable instead of switch-to-buffer.
13213 (menu-bar-select-buffer-function): New variable.
60a406cf 13214 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13215
478d6f95
SM
132162011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13217
13218 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13219 variable's status.
13220
ca530739
JD
132212011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13222
13223 * x-dnd.el (x-dnd-version-from-flags)
13224 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13225 and long as number (Bug#8899).
13226 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13227
bcd70d97
SM
132282011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13229
60a406cf 13230 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13231 (completion-try-completion, completion-all-completions): Compute the
13232 metadata argument if it's missing; make it optional (bug#8795).
13233
60a406cf 13234 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13235 (widget-complete): Use new :completion-function property.
13236 (widget-completions-at-point): New function.
13237 (default): Use :completion-function instead of :complete.
60a406cf
SM
13238 (widget-default-completions): Rename from widget-default-complete;
13239 Rewrite.
bcd70d97
SM
13240 (widget-string-complete, widget-file-complete, widget-color-complete):
13241 Remove functions.
13242 (file, symbol, function, variable, coding-system, color):
13243 * international/mule-cmds.el (default-input-method, charset)
13244 (language-info-custom-alist):
13245 * cus-edit.el (face): Use new property :completions.
13246
13247 * progmodes/pascal.el (pascal-completions-at-point): New function.
13248 (pascal-mode): Use it.
13249 (pascal-mode-map): Use completion-at-point.
13250 (pascal-toggle-completions): Make obsolete.
13251 (pascal-complete-word, pascal-show-completions):
13252 * progmodes/octave-mod.el (octave-complete-symbol):
13253 Redefine as obsolete alias.
13254 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13255 Signal absence of completion info for old Octave,
13256 (inferior-octave-complete): Redefine as obsolete alias.
13257 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13258 (meta-completions-at-point): Rename from meta-complete-symbol and
13259 adapt it for use on completion-at-point-functions.
13260 (meta-common-mode): Use it.
13261 (meta-looking-at-backward, meta-match-buffer): Remove.
13262 (meta-complete-symbol): Redefine as obsolete alias.
13263 (meta-common-mode-map): Use completion-at-point.
13264 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13265 (makefile-mode-map): Use completion-at-point.
13266 (makefile-completions-at-point): Rename from makefile-complete and
13267 adapt it for use on completion-at-point-functions.
13268 (makefile-mode): Use it.
13269 (makefile-complete): Redefine as obsolete alias.
13270
aebf69c8
DD
132712011-06-20 Deniz Dogan <deniz@dogan.se>
13272
13273 * net/rcirc.el: Delete trailing whitespaces once and for all.
13274
bfbbb27d
DC
132752011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13276
13277 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13278
d264a46b
CY
132792011-06-19 Chong Yidong <cyd@stupidchicken.com>
13280
4ca009e5
CY
13281 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13282
d264a46b
CY
13283 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13284
fbf5b3ce
MR
132852011-06-19 Martin Rudalics <rudalics@gmx.at>
13286
13287 * window.el (display-buffer-other-window-means-other-frame):
13288 Call display-buffer-normalize-alist.
13289 (display-buffer-normalize-specifiers-1): Rename to
13290 display-buffer-normalize-argument. New argument other-frame.
13291 Rewrite.
13292 (display-buffer-normalize-specifiers-2): Rename to
13293 display-buffer-normalize-options.
13294 (display-buffer-normalize-alist-1): New function.
13295 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13296 display-buffer-normalize-alist.
13297 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13298 (display-buffer-normalize-options-inhibit): New variable.
13299 (display-buffer-normalize-specifiers): Rewrite calling
13300 display-buffer-normalize-alist,
13301 display-buffer-normalize-argument, and
13302 display-buffer-normalize-options. Don't call the latter if
13303 display-buffer-normalize-options-inhibit is non-nil.
13304 (frame-auto-delete): New option.
13305 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13306 (window-list-no-nils, window-state-ignored-parameters)
13307 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13308 (window-state-put-1, window-state-put-2, window-state-put):
13309 New functions.
9a028c23
MR
13310 (display-buffer-normalize-options): Move special-display-p group
13311 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13312
6d10d800
CY
133132011-06-18 Chong Yidong <cyd@stupidchicken.com>
13314
6420d28b
CY
13315 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13316 groups (Bug#8776).
13317 (rx-submatch-n): New function.
13318 (rx): Document it.
13319
ddb8b596
CY
13320 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13321 (Bug#8768).
13322
13323 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13324
77080289
CY
13325 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13326
61dfb316
CY
13327 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13328 anytime existing face settings are present (Bug#8889).
13329
6d10d800
CY
13330 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13331 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13332 Remove unused argument.
13333
be3fb2b8
MR
133342011-06-18 Martin Rudalics <rudalics@gmx.at>
13335
bcd70d97
SM
13336 * window.el (display-buffer-default-specifiers):
13337 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13338 pop-up-window-min-width, and another reuse-window specifier
13339 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13340 (display-buffer-normalize-specifiers-2):
13341 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13342 pop-up-windows is unset. Add a reuse-window specifier for the
13343 case popping up a new window fails.
13344 (special-display-popup-frame): Remove double quoting.
28dec25a 13345 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13346
1c6d8c76
SM
133472011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13348
13349 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13350 according to comint-completion-addsuffix.
13351
13352 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13353 (pcomplete-suffix-list): Mark as obsolete.
13354 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13355 pcomplete-seen in the closure.
13356 (pcomplete-comint-setup): Setup completion-at-point as well.
13357 (pcomplete--entries): New function.
13358 (pcomplete--env-regexp): New var.
13359 (pcomplete-entries): Rewrite to work with partial-completion and
13360 without relying on pcomplete-suffix-list.
13361 (pcomplete-pare-list): Remove, unused.
13362
25aef8b8
MR
133632011-06-17 Martin Rudalics <rudalics@gmx.at>
13364
13365 * window.el (display-buffer-alist): Set pop-up-window-min-height
13366 and pop-up-window-min-width in default value. Reported by
13367 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13368 other-window-means-other-frame.
13369 (display-buffer-macro-specifiers): Comment out entry for
13370 other-window specifier.
13371 (display-buffer-other-window-means-other-frame): New function.
13372 (display-buffer-normalize-specifiers-1): New arguments
13373 buffer-name and label. Treat other-window case specially.
13374 (display-buffer-normalize-specifiers-2): Treat other-window case
13375 specially.
13376 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13377 (display-buffer-normalize-specifiers):
13378 Call display-buffer-normalize-specifiers-3.
25aef8b8 13379
dbad4f69
MR
133802011-06-17 Martin Rudalics <rudalics@gmx.at>
13381
13382 * window.el (same-window-p): Fix two typos introduced when
13383 adding with-no-warnings.
d1067961
MR
13384 (display-buffer-normalize-specifiers-1): Don't check
13385 pop-up-frames for 'unset initialization.
13386 (display-buffer-normalize-specifiers-2): Major rewrite using
13387 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13388 (pop-up-frames, display-buffer-reuse-frames)
13389 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13390 Suggested by David Engster <deng@randomsample.de>.
13391 (even-window-heights): Initialize to 'unset.
13392 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13393 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13394 other window case.
dbad4f69 13395
9b9c9e3a
MR
133962011-06-16 Martin Rudalics <rudalics@gmx.at>
13397
bcd70d97
SM
13398 * window.el (display-buffer-normalize-specifiers-1):
13399 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13400 second argument of display-buffer (Bug#8865).
981d5c09
MR
13401 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13402 (switch-to-buffer-other-window-same-frame)
13403 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13404 Adams (Bug#8875).
9c2755e9
MR
13405 (display-buffer): Don't check noninteractive when calling
13406 display-buffer-pop-up-frame.
13407 (display-buffer-pop-up-frame): Never pop up a frame in
13408 noninteractive mode (Bug#8857).
67222e1d
MR
13409 (enlarge-window, shrink-window): Don't report an error when the
13410 window can't be resized as requested (Bug#8862).
9b9c9e3a 13411
2b75be67
SM
134122011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13413
9ffdd3ba
SM
13414 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13415
cb581a67
SM
13416 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13417
2b75be67
SM
13418 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13419
8c0e3589
AM
134202011-06-15 Alan Mackenzie <acm@muc.de>
13421
cb581a67
SM
13422 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13423 for declarators, disable knr checking to speed up for normal files.
13424 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13425
b96e6cde
LMI
134262011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13427
4bba86e6
LMI
13428 * net/network-stream.el (open-network-stream): Add the keyword
13429 :always-query-capabilities for the case where you want to force a
13430 `plain' network connection, but the protocol still requires the
13431 capabilitiy command (i.e., SMTP and EHLO).
13432
2b75be67 13433 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13434 consistency with other `-live-p' functions.
13435
efdcdbf8
SM
134362011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13437
13438 * window.el (same-window-buffer-names, same-window-regexps)
13439 (special-display-frame-alist, special-display-popup-frame)
13440 (special-display-function, special-display-buffer-names)
13441 (special-display-regexps, pop-up-frame-alist)
13442 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13443 (pop-up-windows, split-window-preferred-function)
13444 (split-height-threshold, split-width-threshold, even-window-heights)
13445 (display-buffer-mark-dedicated): Don't encourage the use of
13446 display-buffer-alist from Elisp code.
13447
c5cde042
DN
134482011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13449
13450 * progmodes/python.el (python-mode): Derive from prog-mode.
13451 * progmodes/ps-mode.el (ps-mode):
13452 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13453 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13454 * progmodes/ld-script.el (ld-script-mode): Likewise.
13455
baa1c9ab
MR
134562011-06-15 Martin Rudalics <rudalics@gmx.at>
13457
13458 * window.el (display-buffer-alist): Trim default value to avoid
13459 popping up a new frame (Bug#8857) or reusing an arbitrary window
13460 on another frame.
13461 (display-buffer): Do not fall back on popping up a new frame in
13462 batch mode (Bug#8857).
13463
c5dd5a51
CY
134642011-06-14 Chong Yidong <cyd@stupidchicken.com>
13465
13466 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13467 (custom-theme-summary): New function.
13468 (customize-themes): Use it.
13469
d647b7c4
GM
134702011-06-13 Glenn Morris <rgm@gnu.org>
13471
13472 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13473
9481c002
MR
134742011-06-13 Martin Rudalics <rudalics@gmx.at>
13475
357f93d2
MR
13476 * help.el (help-window): Remove variable.
13477 (help-window-point-marker, temp-buffer-max-height)
13478 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13479 (help-print-return-message): Don't set help-window.
13480 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13481 (help-window-setup-finish): Remove.
13482 (help-window-display-message, help-window-setup)
13483 (with-help-window): Major rewrite based on new
13484 display-buffer-window variable.
13485
13486 * help-mode.el (help-mode-finish): Remove help-window related
13487 code.
13488
13489 * view.el (view-exits-all-viewing-windows): Remove reference to
13490 view-return-to-alist in doc-string.
13491 (view-return-to-alist): Make obsolete.
13492 (view-buffer): Call pop-to-buffer-same-window and remove
13493 undo-window code.
13494 (view-buffer-other-window): Call pop-to-buffer-other-window and
13495 simplify code. Ignore second argument.
13496 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13497 simplify code. Ignore second argument.
13498 (view-return-to-alist-update): Make obsolete.
13499 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13500 Rewrite using quit-restore window parameters.
2b75be67
SM
13501 (view-mode-exit): Rename second argument to EXIT-ONLY.
13502 Rewrite using quit-restore-window.
357f93d2
MR
13503 (View-exit, View-exit-and-edit, View-leave, View-quit)
13504 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13505 appropriate arguments.
13506 (view-end-message): Use quit-restore window parameter.
13507
9481c002
MR
13508 * window.el (display-buffer-function): Rewrite doc-string.
13509 (display-buffer-window, display-buffer-alist): New variables.
13510 (display-buffer-split-specifiers)
13511 (display-buffer-side-specifiers)
13512 (display-buffer-macro-specifiers): New constants.
13513 (display-buffer-even-window-sizes, display-buffer-set-height)
13514 (display-buffer-set-width, display-buffer-select-window)
13515 (display-buffer-in-window, display-buffer-reuse-window)
13516 (display-buffer-split-window-1, display-buffer-split-window)
13517 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13518 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13519 (display-buffer-in-side-window, normalize-buffer-to-display)
13520 (display-buffer-normalize-specifiers-1)
13521 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13522 (display-buffer-normalize-specifiers, display-buffer-frame):
13523 New functions.
9481c002
MR
13524 (display-buffer): Major rewrite.
13525 (display-buffer-other-window, display-buffer-other-frame)
13526 (pop-to-buffer, switch-to-buffer-other-window)
13527 (switch-to-buffer-other-frame): Rewrite.
13528 (display-buffer-same-window, display-buffer-same-frame)
13529 (display-buffer-same-frame-other-window)
13530 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13531 (pop-to-buffer-other-window)
13532 (pop-to-buffer-same-frame-other-window)
13533 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13534 (switch-to-buffer-other-window-same-frame): New functions.
13535 (same-window-p, special-display-p): Rewrite disabling warnings.
13536 Make obsolete.
13537 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13538 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13539 Make obsolete
13540 (same-window-buffer-names, same-window-regexps)
13541 (special-display-frame-alist, special-display-popup-frame)
13542 (special-display-function, special-display-buffer-names)
13543 (special-display-regexps, pop-up-frame-alist)
13544 (pop-up-frame-function, split-window-preferred-function)
13545 (split-height-threshold, split-width-threshold)
13546 (even-window-heights): Make obsolete.
13547
9db51aca
GM
135482011-06-12 Glenn Morris <rgm@gnu.org>
13549
13550 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13551 Misc simplifications.
9db51aca 13552
39cffb44
MR
135532011-06-12 Martin Rudalics <rudalics@gmx.at>
13554
13555 * window.el (window-safely-shrinkable-p): Restore function which
13556 was inadvertently removed in change from 2011-06-11. Declare as
13557 obsolete.
13558
2b75be67
SM
13559 * calendar/calendar.el (calendar-generate-window):
13560 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13561 window-safely-shrinkable-p.
13562
a8955be7
GM
135632011-06-12 Glenn Morris <rgm@gnu.org>
13564
13565 * progmodes/fortran.el (fortran-mode-syntax-table):
13566 * progmodes/f90.el (f90-mode-syntax-table):
13567 Set % to punctuation. (Bug#8820)
13568 (f90-find-tag-default): Remove, no longer needed.
13569
f0d4059d
DC
135702011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13571
13572 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13573
1100a63c
CY
135742011-06-11 Chong Yidong <cyd@stupidchicken.com>
13575
13576 * image.el (image-animated-p): Return animation delay in seconds.
13577 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13578 (image-animate-timeout): Remove DELAY argument. Don't assume
13579 every subimage has the same delay; get it from image-animated-p.
13580 (image-animate): Caller changed.
13581
def722bf
MA
135822011-06-11 Michael Albinus <michael.albinus@gmx.de>
13583
13584 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13585 to ignored backtrace functions.
13586
0a2bb1a9
GM
135872011-06-11 Glenn Morris <rgm@gnu.org>
13588
13589 * calendar/appt.el (appt-disp-window-function): Doc fix.
13590 (appt-check): Handle overlapping appointments. (Bug#8337)
13591
6198ccd0
MR
135922011-06-11 Martin Rudalics <rudalics@gmx.at>
13593
13594 * window.el (window-tree-1, window-tree): New functions, moving
13595 the latter to window.el.
13596 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13597 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13598 (bw-refresh-edges): Remove.
13599 (balance-windows-1, balance-windows-2): New functions.
13600 (balance-windows): Rewrite in terms of window tree functions,
13601 balance-windows-1 and balance-windows-2.
13602 (bw-adjust-window): Remove.
13603 (balance-windows-area-adjust): New function with functionality of
13604 bw-adjust-window but using resize-window.
2b75be67
SM
13605 (set-window-text-height): Rewrite doc-string.
13606 Use normalize-live-window and resize-window.
13607 (enlarge-window-horizontally, shrink-window-horizontally):
13608 Rename argument to DELTA.
6198ccd0
MR
13609 (window-buffer-height): New function.
13610 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13611 Rewrite using new window resize routines.
2b75be67
SM
13612 (kill-buffer-and-window, mouse-autoselect-window-select):
13613 Use ignore-errors instead of condition-case.
6198ccd0
MR
13614 (quit-window): Call delete-frame instead of delete-windows-on
13615 for the only buffer on frame.
13616
9397e56f
MR
136172011-06-10 Martin Rudalics <rudalics@gmx.at>
13618
13619 * loadup.el (top-level): Load window before files for the sake
13620 of replace-buffer-in-windows.
13621
13622 * files.el (read-buffer-to-switch)
13623 (switch-to-buffer-other-window)
2b75be67
SM
13624 (switch-to-buffer-other-frame, display-buffer-other-frame):
13625 Move to window.el.
9397e56f
MR
13626
13627 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13628 (previous-buffer): Move to window.el.
13629
13630 * bindings.el (unbury-buffer): Move to window.el.
13631
13632 * window.el (delete-other-windows-vertically): Move after
13633 definition of delete-other-windows.
13634 (other-window, delete-windows-on, replace-buffer-in-windows):
13635 Move here from window.c.
13636 (record-window-buffer, unrecord-window-buffer)
13637 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13638 (switch-to-next-buffer): New functions.
13639 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13640 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13641 (previous-buffer): Move here from simple.el.
13642 Call switch-to-prev-buffer.
9397e56f
MR
13643 (bury-buffer): Move here from buffer.c. Switch to previous
13644 buffer when window cannot be deleted.
13645 (unbury-buffer): Move here from bindings.el.
13646 (ctl-x-map): Move binding for other-window from window.c to
13647 here.
13648 (read-buffer-to-switch, switch-to-buffer-other-window)
13649 (switch-to-buffer-other-frame): Move here from files.el.
13650 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13651 (switch-to-buffer): Move here from buffer.c.
13652 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13653
562dd5e9
MR
136542011-06-10 Martin Rudalics <rudalics@gmx.at>
13655
13656 * window.el (window-min-height, window-min-width): Move here
13657 from window.c. Add defcustoms and rewrite doc-strings.
13658 (resize-mini-window, resize-window): New functions.
13659 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13660 Move here from window.c.
13661 (maximize-window, minimize-window): New functions.
13662 (delete-window, delete-other-windows, split-window): Move here
13663 from window.c.
13664 (window-split-min-size): New function.
13665 (split-window-keep-point): Mention split-window-above-each-other
13666 instead of split-window-vertically.
2b75be67 13667 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13668 Rename split-window-vertically to split-window-above-each-other
13669 and provide defalias for old definition.
13670 (split-window-side-by-side, split-window-horizontally):
13671 Rename split-window-horizontally to split-window-side-by-side
13672 and provide defalias for the old definition.
562dd5e9
MR
13673 (ctl-x-map): Move bindings for delete-window,
13674 delete-other-windows and enlarge-window here from window.c.
13675 Replace bindings for split-window-vertically and
13676 split-window-horizontally by bindings for
13677 split-window-above-each-other and split-window-side-by-side.
13678
13679 * cus-start.el (all): Remove entries for window-min-height and
13680 window-min-width. Add entries for window-splits and
13681 window-nest.
13682
f0da764a
GM
136832011-06-09 Glenn Morris <rgm@gnu.org>
13684
80675c21
GM
13685 * calendar/appt.el (appt-mode-line): New function.
13686 (appt-check, appt-disp-window): Use it.
13687
f0da764a
GM
13688 * files.el (hack-one-local-variable-eval-safep):
13689 Allow minor-modes with explicit +/-1 arguments.
13690
59f623b7
TZ
136912011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13692
13693 * term/xterm.el (xterm): Add defgroup.
13694 (xterm-extra-capabilities): Add defcustom to supply known xterm
13695 capabilities, skip querying them, or query them (default).
13696 (terminal-init-xterm): Use it.
13697 (terminal-init-xterm-modify-other-keys): New function to set up
13698 modifyOtherKeys support to simplify `terminal-init-xterm'.
13699
9aab8e0d
MR
137002011-06-09 Martin Rudalics <rudalics@gmx.at>
13701
13702 * window.el (resize-window-reset, resize-window-reset-1)
13703 (resize-subwindows-skip-p, resize-subwindows-normal)
13704 (resize-subwindows, resize-other-windows, resize-this-window)
13705 (resize-root-window, resize-root-window-vertically)
13706 (window-deletable-p, window-or-subwindow-p)
13707 (frame-root-window-p): New functions.
13708
e8b08aee
GM
137092011-06-09 Glenn Morris <rgm@gnu.org>
13710
13711 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13712 (ange-ftp-get-files): Use it.
13713
254c37a5
AK
137142011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13715
13716 * mail/sendmail.el (mail-recover-1, mail-recover):
13717 * files.el (recover-file, recover-session):
13718 Handle dired-listing-switches not being just a single short option.
13719
35d7dbd3
GM
137202011-06-09 Glenn Morris <rgm@gnu.org>
13721
13722 * calendar/appt.el (appt-display-message, appt-disp-window):
13723 Handle lists of appointments.
13724
387522b2
MR
137252011-06-08 Martin Rudalics <rudalics@gmx.at>
13726
2b75be67
SM
13727 * window.el (one-window-p): Move down in code.
13728 Rewrite doc-string.
13729 (window-current-scroll-bars): Rewrite doc-string.
13730 Normalize live window argument.
387522b2
MR
13731 (walk-windows, get-window-with-predicate, count-windows):
13732 Rewrite doc-string. Use window-list-1.
13733 (window-in-direction-2, window-in-direction, get-mru-window):
13734 New functions.
13735
d8e4b68b 137362011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13737
13738 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13739 Doc fix (Bug#8713).
13740
137412011-06-08 Chong Yidong <cyd@stupidchicken.com>
13742
13743 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13744
137452011-06-08 Juanma Barranquero <lekktu@gmail.com>
13746
13747 * loadhist.el (unload-feature-special-hooks):
13748 Add `comint-output-filter-functions'.
13749
0de12c52
IK
137502011-06-08 Ivan Kanis <gnu@kanis.fr>
13751
13752 * calendar/appt.el (appt-check): Move some initializations into the let.
13753
f3d1777e
MR
137542011-06-08 Martin Rudalics <rudalics@gmx.at>
13755
13756 * window.el (window-height): Defalias to window-total-height.
13757 (window-width): Defalias to window-body-width.
13758
18af70d0
CY
137592011-06-07 Chong Yidong <cyd@stupidchicken.com>
13760
13761 * image-mode.el (image-toggle-animation): New command.
13762 (image-mode-map): Bind it to RET.
13763 (image-mode): Update message.
13764 (image-toggle-display-image): Avoid a spurious cache flush.
13765 (image-transform-rotation): Doc fix.
13766 (image-transform-properties): Return quickly in the normal case.
13767 (image-animate-loop): Rename from image-animate-max-time.
13768
2b75be67 13769 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13770 (create-animated-image): Remove unnecessary function.
13771 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13772 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13773 (image-animate-timer): Use car-safe.
13774 (image-animate-timeout): Rename argument.
13775
190b47e6
MR
137762011-06-07 Martin Rudalics <rudalics@gmx.at>
13777
13778 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13779 window.c. Rename first argument to ALL-FRAMES.
13780 Rephrase doc-strings.
13781 (get-buffer-window-list): Rewrite using window-list-1.
13782 Rephrase doc-string.
a1511caf
MR
13783 (window-safe-min-height, window-safe-min-width): New constants.
13784 (window-size-ignore, window-min-size, window-min-size-1)
13785 (window-sizable, window-sizable-p, window-size-fixed-1)
13786 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13787 (window-max-delta-1, window-max-delta, window-resizable)
13788 (window-resizable-p, window-total-height, window-total-width)
13789 (window-body-width): New functions.
13790 (window-full-height-p, window-full-width-p): Rewrite using
13791 window-total-size.
13792 (window-body-height): Rewrite using window-body-size.
190b47e6 13793
85cc1f11
MR
137942011-06-06 Martin Rudalics <rudalics@gmx.at>
13795
13796 * window.el (window-right, window-left, window-child)
13797 (window-child-count, window-last-child, window-any-p)
13798 (normalize-live-buffer, normalize-live-frame)
13799 (normalize-any-window, normalize-live-window)
13800 (window-iso-combination-p, window-iso-combined-p)
13801 (window-iso-combinations)
13802 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13803 (windows-with-parameter, window-with-parameter)
13804 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13805 (window-atom-check, window-side-check, window-check):
13806 New functions.
85cc1f11
MR
13807 (ignore-window-parameters, window-sides, window-sides-vertical)
13808 (window-sides-slots): New variables.
13809 (window-size-fixed): Move down in code. Minor doc-string fix.
13810
e7156492
AS
138112011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13812
13813 * comint.el (comint-dynamic-complete-as-filename)
13814 (comint-dynamic-complete-filename): Correctly call
13815 completion-in-region.
13816
7e821d0d
DD
138172011-06-05 Deniz Dogan <deniz@dogan.se>
13818
13819 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13820 in last change.
13821
ac09b8a1
DD
138222011-06-05 Deniz Dogan <deniz@dogan.se>
13823
13824 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13825 (rcirc): Use it to prompt for encryption.
13826
34699b85
RW
138272011-06-05 Roland Winkler <winkler@gnu.org>
13828
13829 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13830 (bibtex-search-entries): New command bound to C-c C-a.
13831 (bibtex-display-entries): New function.
13832
004dedd3
RW
138332011-06-05 Roland Winkler <winkler@gnu.org>
13834
13835 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13836 (bibtex-insert-kill): After yanking insert newline if necessary.
13837 (bibtex-initialize): Call bibtex-string-files-init only once.
13838 (bibtex-mode): Do not call easy-menu-add.
13839 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13840 (bibtex-yank): Set arg properly if nil.
13841
022fe7ce
RW
138422011-06-05 Roland Winkler <winkler@gnu.org>
13843
2b75be67
SM
13844 * textmodes/bibtex.el (bibtex-search-entry-globally):
13845 New variable.
022fe7ce
RW
13846 (bibtex-search-entry): Use it.
13847
b7c3692a
RW
138482011-06-05 Roland Winkler <winkler@gnu.org>
13849
13850 * textmodes/bibtex.el (bibtex-entry-format): New option
13851 sort-fields.
13852 (bibtex-format-entry, bibtex-reformat): Honor this option.
13853 (bibtex-parse-entry): Return fields in proper order.
13854
8eda563d
JB
138552011-06-05 Juanma Barranquero <lekktu@gmail.com>
13856
13857 * doc-view.el (doc-view-remove-if): Move computation of result out
13858 of `dolist' to silence misleading lexical-binding warning.
13859
7dbe3dbc
CY
138602011-06-04 Chong Yidong <cyd@stupidchicken.com>
13861
13862 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13863 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13864
0c33dd17
MA
138652011-06-04 Michael Albinus <michael.albinus@gmx.de>
13866
13867 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13868 "SunOS 5.10".
13869
f8f91c2b
MA
138702011-06-04 Michael Albinus <michael.albinus@gmx.de>
13871
13872 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13873 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13874 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13875 (tramp-parse-putty):
13876 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13877 (tramp-completion-function-alist-ssh)
13878 (tramp-completion-function-alist-telnet)
13879 (tramp-completion-function-alist-su)
13880 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13881 cookie.
13882
13883 * net/tramp-ftp.el:
13884 * net/tramp-sh.el:
13885 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13886 load "tramp.el" `tramp-set-completion-function'.
13887
e17d9003
SM
138882011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13889
13890 * shell.el: Require and use pcomplete.
13891 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13892 (shell-completion-vars): Set pcomplete-default-completion-function.
13893
6c4cab03
DD
138942011-06-04 Deniz Dogan <deniz@dogan.se>
13895
13896 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13897 `memq' (Bug#8799).
13898
ea9fafe0
SM
138992011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13900
13901 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13902
b3e945d3
JB
139032011-06-02 Juanma Barranquero <lekktu@gmail.com>
13904
13905 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13906 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13907 * vc/log-view.el (log-view-beginning-of-defun):
13908 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13909 (smerge-refine-forward, smerge-refine-chopup-region):
13910 Silence warning for unused `dotimes' counter variables.
13911
7d520089
SM
139122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13913
13914 * net/tramp.el (tramp-with-progress-reporter): Rename from
13915 with-progress-reporter. Use `declare'.
13916 * net/tramp-smb.el:
13917 * net/tramp-sh.el:
13918 * net/tramp-gvfs.el: Update all uses.
13919
a1c2400f
JB
139202011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13921
13922 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13923 buffer isn't killed before making it current.
13924
2403c841
SM
139252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13926
13927 Silence various byte-compiler warnings.
13928 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13929 `access-type' and new obsolescence format.
13930 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13931 new format.
13932 (byte-compile-check-variable): New `access-type' argument.
13933 Only warn if the access-type is obsolete.
13934 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13935 (byte-compile-variable-set): Adjust callers.
13936 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13937 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13938 setting it as obsolete.
13939 * simple.el (minibuffer-completing-symbol):
13940 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13941 access as obsolete.
13942 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13943 obsolete yet.
13944 * international/quail.el (quail-mouse-choose-completion): Remove unused
13945 code referring to obsolete var.
13946 (quail-choose-completion-string): Remove.
13947 * server.el (server-clients-with, server-kill-buffer-query-function)
13948 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13949 * proced.el (proced-send-signal):
13950 * emacs-lisp/lisp.el (lisp-complete-symbol):
13951 Replace completion-annotate-function with completion-extra-properties.
13952
2462470b
SM
139532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13954
fb5b2591
SM
13955 * simple.el (goto-line): Use read-number.
13956 (overriding-map-is-bound): Remove.
13957 (saved-overriding-map): Change default.
13958 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13959 Take the map as argument.
13960 (universal-argument, negative-argument, digit-argument): Use it.
13961 (restore-overriding-map): Adjust.
13962 (do-auto-fill): Use fill-forward-paragraph.
13963 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13964
fd6fa53f
SM
13965 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13966 (minibuffer-inactive-mode): New major mode.
13967 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13968 the *Messages* buffer" hack.
13969 (mouse-popup-menubar): Don't burp if the event is a normal key.
13970
2462470b
SM
13971 Miscellaneous tweaks.
13972 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13973 lexical scoping as in subr.el's dolist and dotimes.
13974 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13975 Silence compiler warning.
13976 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13977 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13978 * international/ccl.el (ccl-compile): Trivial simplification.
13979 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13980 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13981 `printflag' argument.
13982 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13983 Purecopy the whole obsolescence data.
13984
108bf785
LL
139852011-06-01 Leo Liu <sdl.web@gmail.com>
13986
13987 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13988 improve doc-string as suggested by Marco Pessotto
13989 <melmothx@gmail.com>.
13990 (rcirc-print): Fix last change.
13991
30a23501
SM
139922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13993
13994 * minibuffer.el (complete-with-action): Return nil for the metadata and
13995 boundaries of non-functional tables.
13996 (completion-table-dynamic): Return nil for the metadata.
13997 (completion-table-with-terminator): Add default case, using
13998 complete-with-action.
13999 (completion--metadata): New function.
14000 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14001 to try and avoid pathological performance problems.
14002 (completion--embedded-envvar-table): Return `category' metadata.
14003
bcd54f83
LMI
140042011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14005
14006 * subr.el (process-alive-p): New tiny convenience function.
14007
e227544d
SM
140082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14009
14010 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14011 content but also its previous major mode.
14012
e8296fdc
HE
140132011-05-31 Helmut Eller <eller.helmut@gmail.com>
14014
4d61f28d 14015 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14016 *Backtrace* buffer when we exit with C-M-c.
14017
620c53a6
SM
140182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14019
14020 * minibuffer.el: Add metadata method to completion tables.
14021 (completion-category-overrides): New defcustom.
14022 (completion-metadata, completion--field-metadata)
14023 (completion-metadata-get, completion--styles)
14024 (completion--cycle-threshold): New functions.
14025 (completion-try-completion, completion-all-completions):
14026 Add `metadata' argument to choose completion-styles.
14027 (completion--do-completion): Use metadata to choose cycling.
14028 (completion-all-sorted-completions): Use metadata for sorting.
14029 Remove :completion-cycle-penalty which is not needed any more.
14030 (completion--try-word-completion): Add `metadata' argument.
14031 (minibuffer-completion-help): Check metadata for annotation function
14032 and sorting.
14033 (completion-file-name-table): Return `category' metadata.
14034 (minibuffer-completing-file-name): Make obsolete.
14035 * simple.el (minibuffer-completing-symbol): Make obsolete.
14036 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14037 completion-try-completion.
14038
1257e755
SM
140392011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14040
14041 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14042
3767e706
LL
140432011-05-30 Leo Liu <sdl.web@gmail.com>
14044
14045 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14046 (rcirc-print): Decode all incoming messages (bug#8744).
14047 (rcirc-decode-coding-system): Allow value nil for automatic coding
14048 system detection.
3767e706 14049
d1a5d56a
GM
140502011-06-01 Glenn Morris <rgm@gnu.org>
14051
14052 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14053
e8cbec34
CY
140542011-05-29 Chong Yidong <cyd@stupidchicken.com>
14055
14056 * image.el (image-animate-max-time): Allow nil and t values.
14057 Default to nil.
14058 (create-animated-image): Doc fix.
14059 (image-animate-start): Remove second arg; just use
14060 image-animate-max-time.
14061 (image-animate-timeout): Doc fix. Args changed.
14062
14063 * image-mode.el (image-toggle-display-image): Ensure that the
14064 image spec passed to the animate timer is the same object as in
58179cce 14065 the buffer's display property (Bug#6981).
e8cbec34
CY
14066 (image-transform-properties): Doc fix.
14067
14068 * image.el (image-animate-max-time): Default to nil.
14069
159daf87
MR
140702011-05-29 Martin Rudalics <rudalics@gmx.at>
14071
14072 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14073 entire buffer list (Bug#8184).
14074
d66c4c7c
CY
140752011-05-29 Chong Yidong <cyd@stupidchicken.com>
14076
14077 * image.el (imagemagick-types-inhibit)
14078 (imagemagick-register-types): Doc fix.
14079
80aec780
DD
140802011-05-29 Deniz Dogan <deniz@dogan.se>
14081
14082 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14083 default.
14084
1dd3c2d9
CY
140852011-05-29 Chong Yidong <cyd@stupidchicken.com>
14086
14087 * select.el: Don't perform clipboard-manager saving in hooks;
14088 leave the hooks empty.
14089
60e56523
LL
140902011-05-28 Leo Liu <sdl.web@gmail.com>
14091
14092 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14093 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14094 (occur-edit-mode): New major mode (Bug#8463).
14095 (occur-after-change-function): New function.
14096 (occur-engine): Give Occur tags a read-only property.
14097
2b1e1a22
KR
140982011-05-28 Kevin Ryde <user42@zip.com.au>
14099
14100 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14101
5d344e88
CY
141022011-05-28 Chong Yidong <cyd@stupidchicken.com>
14103
8e6ca83d
CY
14104 * bindings.el (help-echo): Make the initial non-indicator dash
14105 empty on graphical terminals (Bug#7295).
14106
5d344e88
CY
14107 * files.el (auto-mode-alist): Move config rule after the
14108 in-stripping one (Bug#8547).
14109
bfbbace7
CY
14110 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14111
fbeba6e2
CY
14112 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14113 setting (Bug#8740).
14114
60ed8c72
AA
141152011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14116
4ac619f0
AA
14117 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14118 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14119 (Bug#8539).
60ed8c72 14120
23db196e
CY
141212011-05-28 Chong Yidong <cyd@stupidchicken.com>
14122
14123 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14124
5012f24c
DK
141252011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14126
14127 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14128 (hs-hide-block-at-point, hs-find-block-beginning)
14129 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14130 (Bug#8279).
14131
6a639b16
GM
141322011-05-28 Glenn Morris <rgm@gnu.org>
14133
14134 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14135
d43eaf2c
CY
141362011-05-28 Chong Yidong <cyd@stupidchicken.com>
14137
5199bde1
CY
14138 * help-fns.el (describe-function-1): If the function is a derived
14139 major mode, print the parent mode.
14140
d43eaf2c
CY
14141 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14142 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14143
423428a8
SM
141442011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14145
0ff8e1ba 14146 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14147 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14148 * progmodes/etags.el (tags-completion-at-point-function):
14149 * info-look.el (info-lookup-completions-at-point): Mark as
14150 non-exclusive.
14151 (info-complete): Adjust accordingly.
14152
423428a8
SM
14153 * info-look.el: Convert to lexical-binding and completion-at-point.
14154 (info-lookup-completions-at-point): New function.
14155 (info-complete): Use it and completion-in-region.
14156
b74aa22b
DA
141572011-05-28 Drew Adams <drew.adams@oracle.com>
14158
14159 * isearch.el: Let M-e start with point at the first mismatched char.
14160 (isearch-fail-pos): New function.
14161 (isearch-edit-string): Use it.
14162
66e2e71d
DK
141632011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14164
14165 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14166
b1890b0f 141672011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14168
14169 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14170 traversal functions for avl-trees.
14171 (avl-tree--stack): New struct.
14172 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14173 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14174 (avl-tree--do-enter): Add optional `updatefun' arg.
14175 Change return value.
eb95d01d 14176 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14177 (avl-tree--do-delete): Add `test' and `nilflag' args.
14178 Change return value.
eb95d01d
TC
14179 (avl-tree-member): Add optional `nilflag'
14180 (avl-tree-member-p): New function.
14181 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14182 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14183 (avl-tree-stack-empty-p): New functions.
14184
3769ddcf
TC
14185 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14186 avl-tree--del-balance1 and make it work both ways.
14187 (avl-tree--del-balance2): Remove.
14188 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14189 make it work both ways.
14190 (avl-tree--enter-balance2): Remove.
14191 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14192 New macros.
14193 (avl-tree--mapc, avl-tree-map): Add direction argument.
14194
eb95d01d 141952011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14196
14197 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14198
a9f737ee
CY
141992011-05-27 Chong Yidong <cyd@stupidchicken.com>
14200
14201 * select.el: Support clipboard managers with built-in function
14202 x-clipboard-manager-save, via delete-frame-functions and
14203 kill-emacs-hook.
14204 (xselect-convert-to-targets): Add MULTIPLE target to list.
14205 (xselect-convert-to-save-targets): New function.
14206
c92a1e54
KH
142072011-05-27 Kenichi Handa <handa@m17n.org>
14208
14209 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14210 let-binding rfc2047-encode-encoded-words to nil.
14211
e145f188
GM
142122011-05-27 Glenn Morris <rgm@gnu.org>
14213
5ec8a862
GM
14214 * mail/emacsbug.el: Don't require url-util.
14215
4b29d9fb
GM
14216 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14217
e145f188
GM
14218 * files.el (set-auto-mode):
14219 Also respect mode: entries at the end of the file. (Bug#8586)
14220
7d15102b
GM
142212011-05-26 Glenn Morris <rgm@gnu.org>
14222
98f593b8
GM
14223 * files.el (hack-local-variables-prop-line, hack-local-variables):
14224 Downcase mode names, as seems to be traditional.
27b48e63 14225 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14226
7d15102b
GM
14227 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14228 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14229
51d5b4ec
JD
142302011-05-25 Julien Danjou <julien@danjou.info>
14231
14232 * textmodes/rst.el (rst-define-level-faces): Do not define face
14233 symbol if it is already defined.
14234
91513f63
VB
142352011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14236
14237 * play/5x5.el (5x5-new-game, 5x5-randomize):
14238 Reset 5x5-solver-output to nil when a new grid is cast.
14239 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14240 these debugging traces, as defmacro breaks the compiled code.
14241
4d90d6d0
DK
142422011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14243
14244 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14245
e1b90ef6
LL
142462011-05-24 Leo Liu <sdl.web@gmail.com>
14247
14248 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14249 (vc-bzr-sha1): Adapt.
14250
d8e4b68b 14251 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14252
14253 * bindings.el: Provide sha1 feature.
14254
db0406bb 142552011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14256
14257 * mail/sendmail.el: Require `rfc2047'.
14258 (mail-insert-from-field): Do not perform RFC2047 encoding.
14259 (mail-encode-header): New function.
14260 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14261 buffer to the return value of select-message-coding-system.
14262 Call mail-encode-header.
b8d747b9
KH
14263
14264 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14265
db0406bb 142662011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14267
4d90d6d0
DK
14268 * mail/supercite.el (sc-default-cite-frame):
14269 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14270
eb8a5e9b
GM
142712011-05-24 Glenn Morris <rgm@gnu.org>
14272
f8630703
GM
14273 * progmodes/python.el (brm-menu): Declare.
14274
8831bbed
GM
14275 * emulation/viper.el (viper-set-hooks): Declare.
14276
eb8a5e9b
GM
14277 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14278 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14279 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14280 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14281 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14282 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14283
a2a25d24
SM
142842011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14285
14286 Add an :exit-function for completion-at-point.
14287
14288 * minibuffer.el (completion--done): New fun.
14289 (completion--do-completion): Use it. New arg `expect-exact'.
14290 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14291 since completion--do-completion does it for us now.
14292 (minibuffer-force-complete): Use completion--done and
14293 completion--replace. Handle sole-completion case with more care.
14294 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14295 (completion-extra-properties): New var.
14296 (completion-annotate-function): Make obsolete.
14297 (minibuffer-completion-help): Adjust accordingly.
14298 Use completion-list-insert-choice-function.
14299 (completion-at-point, completion-help-at-point):
14300 Bind completion-extra-properties.
14301 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14302 * simple.el (completion-list-insert-choice-function): New var.
14303 (completion-setup-function): Preserve it.
14304 (choose-completion): Pay attention to it, shuffle the code a bit.
14305 (choose-completion-string): New arg `insert-function'.
14306
14307 * textmodes/bibtex.el: Convert to lexical binding.
14308 (bibtex-mode-map): Use completion-at-point.
14309 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14310 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14311 (bibtex-complete): Define as obsolete alias.
14312 (bibtex-complete-internal): Remove.
14313 (bibtex-format-entry): Remove unused sub-group in regexp.
14314 * shell.el (shell--command-completion-data)
14315 (shell-environment-variable-completion):
14316 * pcomplete.el (pcomplete-completions-at-point):
14317 * comint.el (comint--complete-file-name-data): Use :exit-function
14318 instead of completion-table-with-terminator so it also works for
14319 choose-completion.
14320
e44e373d
SM
143212011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14322
4f91a816
SM
14323 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14324
782fc819
SM
14325 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14326 (bug#8710).
14327
e44e373d
SM
14328 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14329
381987c3
KM
143302011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14331
14332 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14333 customization variable and implement: If non-nil, auto-fill will
14334 be inhibited while on topic's header line.
14335
b776bc70
VB
143362011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14337
14338 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14339 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14340 always have a solution in grid size = 5 cases.
14341 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14342 (5x5-solver-output, 5x5-log-buffer): New vars.
14343 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14344 Make these variables buffer local to achieve 5x5 multi-session-ness.
14345 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14346 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14347 (5x5-solve-suggest): New funs.
14348 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14349 randomize a grid so that we ensure that there is always a solution.
14350 (5x5-make-random-grid): Allow other movement than flipping.
14351
7de88b6e
KR
143522011-05-23 Kevin Ryde <user42@zip.com.au>
14353
14354 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14355 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14356 advice and passes PREDICATE.
14357
b1ef1257
SM
143582011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14359
bbca48fe
SM
14360 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14361 byte-compile-lambda if it's actually a lambda.
14362
b1ef1257
SM
14363 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14364 Fix function quoting. Use backquote better.
14365
92a9cc65
YS
143662011-05-22 Yuanle Song <sylecn@gmail.com>
14367
14368 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14369 matching (Bug#8516).
14370
f0fb8059
JA
143712011-01-22 Jari Aalto <jari.aalto@cante.net>
14372
14373 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14374 different face (Bug#8178).
14375
d5b44c93
CY
143762011-05-22 Chong Yidong <cyd@stupidchicken.com>
14377
14378 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14379 defface (Bug#8144).
14380
79106a44
SM
143812011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14382
9c848d8a
SM
14383 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14384 funcall as well (bug#8712). Warn when performing those conversions.
14385 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14386
79106a44
SM
14387 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14388
88dfa756
GM
143892011-05-22 Glenn Morris <rgm@gnu.org>
14390
14391 * files.el (hack-local-variables-prop-line): Small simplifications.
14392 (hack-local-variables, hack-local-variables-prop-line):
14393 If MODE-ONLY, return the mode, rather than just `t'.
14394
b7cf2c79
SM
143952011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14396
14397 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14398
3f1a8558
GM
143992011-05-21 Glenn Morris <rgm@gnu.org>
14400
7e4ccca3
GM
14401 * files.el (hack-local-variables-prop-line, hack-local-variables):
14402 If only interested in the mode, don't bother doing the other stuff.
14403
637d46ca
GM
14404 * image-mode.el (image-after-revert-hook):
14405 Redraw all frames on which the image is visible. (Bug#8567)
14406
973d955b
GM
14407 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14408
3f1a8558
GM
14409 * wid-edit.el (widget-checklist-match-inline):
14410 Fix 2011-04-19 change. (Bug#8649)
14411
96479927
SM
144122011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14413
1dcf791f
SM
14414 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14415 Also allow singlespace after single-letter capitals followed by a dot.
14416
96479927
SM
14417 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14418 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14419
35fd0881
N
144202011-05-20 Nix <nix@esperi.org.uk>
14421
14422 * files.el (basic-save-buffer-2):
14423 Fix handling of break-hardlink-on-save with non-existent files.
14424
82745640
DD
144252011-05-19 Deniz Dogan <deniz@dogan.se>
14426
14427 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14428 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14429
4a720484
GM
144302011-05-19 Glenn Morris <rgm@gnu.org>
14431
d1f21341
GM
14432 * progmodes/f90.el (f90-type-def-re):
14433 Handle "type, bind(c)". (Bug#8691)
14434
4a720484
GM
14435 * emacs-lisp/autoload.el (batch-update-autoloads):
14436 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14437
2fb0a219
MA
144382011-05-18 Michael Albinus <michael.albinus@gmx.de>
14439
14440 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14441 property for the correct connection in case of multihops.
14442
e565dd37
GM
144432011-05-18 Glenn Morris <rgm@gnu.org>
14444
c2571358 14445 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14446 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14447
e565dd37
GM
14448 Rationalize calendar handling of day and month abbrev-arrays.
14449 * calendar/calendar.el (calendar-customized-p): New function.
14450 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14451 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14452 Add :set function.
14453 (calendar-abbrev-length, calendar-day-abbrev-array)
14454 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14455 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14456 Elements may no longer be nil.
14457 (calendar-day-name, calendar-month-name):
14458 Update for changed nature of abbrev arrays.
14459 * calendar/diary-lib.el (diary-name-pattern):
14460 Update for changed nature of abbrev arrays.
14461 (diary-mark-entries-1): Update calendar-make-alist calls.
14462 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14463 * calendar/cal-html.el (cal-html-day-abbrev-array):
14464 Simply inherit from calendar-day-abbrev-array.
14465
1d99a745
SM
144662011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14467
14468 * progmodes/grep.el (grep-mode): Disable default
14469 compilation-directory-matcher setting (bug#8684).
14470
7c1d9aa0
MA
144712011-05-17 Michael Albinus <michael.albinus@gmx.de>
14472
14473 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14474 instead of "head" and "tail". There were problems with SunOS 5.9,
14475 and it performs better.
14476
3952e9d8
GM
144772011-05-17 Glenn Morris <rgm@gnu.org>
14478
2dd12e7f
GM
14479 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14480
e4157b9c
GM
14481 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14482 Replace obsolete function.
14483
8e249bbd
GM
14484 * shell.el (pcomplete-parse-arguments-function): Declare.
14485
3952e9d8
GM
14486 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14487 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14488 (appt-check): Doc fixes.
14489 (appt-disp-window-function, appt-delete-window-function):
14490 Remove needless special case in custom :type.
14491 (appt-display-count): Default to 0, not nil.
14492 (appt-check): Reset appt-display-count to 0, not nil.
14493
c71a0d48 144942011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14495
c71a0d48
GM
14496 * progmodes/python.el (python-font-lock-keywords):
14497 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14498
31d55be9
SM
144992011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14500
14501 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14502
3bfacb2f
KR
145032011-05-16 Kevin Ryde <user42@zip.com.au>
14504
14505 * info-look.el (makefile-automake-mode): New setups, looking in
14506 automake manual, then makefile-mode.
14507 (makefile-mode): Remove automake manual, have it just in
14508 makefile-automake-mode since there's various things different or
14509 not relevant to plain make.
14510 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14511 believe a hypothetical automake-mode would go to makefile-mode,
14512 not the other way around.
14513
c8e83751
CY
145142011-05-15 Chong Yidong <cyd@stupidchicken.com>
14515
5e9e35cd
CY
14516 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14517 hunk-end tags (Bug#8672).
14518
c8e83751
CY
14519 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14520 vc-annotate-show-diff-revision-at-line (Bug#8671).
14521
50b23e5a
GM
145222011-05-14 Glenn Morris <rgm@gnu.org>
14523
7210a739
GM
14524 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14525 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14526 (change-log-font-lock-keywords): Also handle multiple author lines
14527 with leading tabs. (Bug#8644)
7210a739 14528
4691905a
GM
14529 * calendar/appt.el (appt-check): Rename some local variables.
14530 Some simplification/reordering.
14531
50b23e5a
GM
14532 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14533 (feedmail-sendmail-f-doesnt-sell-me-out)
14534 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14535 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14536 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14537 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14538 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14539 (feedmail-binmail-gnulinuxish-template):
14540 Rename from feedmail-binmail-linuxish-template.
14541 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14542 Use insert-buffer-substring.
14543
215cda7c
BC
145442011-05-14 Bill Carpenter <bill@carpenter.org>
14545
14546 * mail/feedmail.el (feedmail-patch-level): Increase.
14547 (feedmail-debug): New custom group.
14548 (feedmail-confirm-outgoing-timeout)
14549 (feedmail-sendmail-f-doesnt-sell-me-out)
14550 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14551 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14552 (feedmail-sender-line, feedmail-from-line)
14553 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14554 (feedmail-spray-this-address)
215cda7c
BC
14555 (feedmail-spray-address-fiddle-plex-list)
14556 (feedmail-queue-use-send-time-for-date)
14557 (feedmail-queue-use-send-time-for-message-id)
14558 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14559 (feedmail-buffer-eating-function):
14560 Doc fixes.
14561 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14562 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14563 (feedmail-message-action-scroll-down): New functions.
14564 (feedmail-queue-directory, feedmail-queue-draft-directory):
14565 Use expand-file-name.
14566 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14567 Remove C-v help entry.
14568 (feedmail-queue-buffer-file-name): New variable.
14569 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14570 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14571 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14572 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14573 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14574 (feedmail-message-action-toggle-spray)
14575 (feedmail-run-the-queue-no-prompts)
14576 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14577 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14578 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14579 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14580 (feedmail-envelope-deducer, feedmail-fiddle-from)
14581 (feedmail-fiddle-sender, feedmail-default-date-generator)
14582 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14583 (feedmail-fiddle-spray-address)
14584 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14585 (feedmail-fiddle-list-of-fiddle-plexes)
14586 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14587 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14588 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14589 Change default. Doc fix.
14590 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14591 (feedmail-binmail-linuxish-template): New constant.
14592 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14593 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14594 (feedmail-send-it): Add debug call.
14595 Use feedmail-queue-buffer-file-name, and
14596 feedmail-send-it-immediately-wrapper.
14597 (feedmail-message-action-send): Add debug call.
14598 Use feedmail-send-it-immediately-wrapper.
14599 (feedmail-queue-express-to-queue): Add debug call.
14600 Run feedmail-queue-express-hook.
14601 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14602 (feedmail-message-action-help-blat):
14603 Rename from feedmail-queue-send-edit-prompt-help-first.
14604 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14605 Check line-endings. Handle errors better.
14606 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14607 Doc fix. Add debug call.
14608 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14609 Use feedmail-queue-send-edit-prompt-inner.
14610 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14611 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14612 from feedmail-queue-send-edit-prompt.
14613 (feedmail-queue-send-edit-prompt-help)
14614 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14615 (feedmail-tidy-up-slug): Add debug call.
14616 Respect feedmail-queue-slug-suspect-regexp.
14617 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14618 (feedmail-dump-message-to-queue): Add debug call.
14619 Expand queue-directory.
14620 (feedmail-dump-message-to-queue): Change message slightly.
14621 Use feedmail-say-chatter.
14622 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14623 (feedmail-send-it-immediately-wrapper): New function.
14624 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14625 Insert empty string rather than newline. Handle full-frame case.
14626 Use catch/throw. Use feedmail-say-chatter.
14627 (feedmail-fiddle-from): Try mail-host-address.
14628 (feedmail-default-message-id-generator): Doc fix.
14629 Bind system-time-locale. Handle missing end.
14630 (feedmail-fiddle-x-mailer): Add debug call.
14631 Handle feedmail-x-mailer-line being nil.
14632 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14633 Add debug call. Use buffer-substring-no-properties.
14634 (feedmail-say-debug, feedmail-say-chatter): New functions.
14635 (feedmail-find-eoh): Give an explicit error.
14636
42c7e61e
UJ
146372011-05-13 Ulf Jasper <ulf.jasper@web.de>
14638
c2571358 14639 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14640 family from helvetica to sans.
c2571358 14641 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14642 etc/images/newsticker.
14643
c2571358 14644 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14645 family from helvetica to sans.
14646
14647 * net/newst-plainview.el (newsticker-new-item-face)
14648 (newsticker-old-item-face, newsticker-immortal-item-face)
14649 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14650 (newsticker-statistics-face): Change default family from
42c7e61e 14651 helvetica to sans.
c2571358 14652 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14653 etc/images/newsticker.
14654
5d3385a0
JB
14655 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14656 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14657 auto-marking.
14658
8497a297
DV
146592011-05-13 Didier Verna <didier@xemacs.org>
14660
14661 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14662 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14663 TODO entries.
8497a297
DV
14664 (lisp-lambda-list-keyword-parameter-indentation)
14665 (lisp-lambda-list-keyword-parameter-alignment)
14666 (lisp-lambda-list-keyword-alignment): New customizable user options.
14667 (lisp-indent-defun-method): Improve docstring.
14668 (extended-loop-p): Fix comment.
14669 (lisp-indent-lambda-list-keywords-regexp): New variable.
14670 (lisp-indent-lambda-list): New function.
14671 (lisp-indent-259): Use it.
14672 (lisp-indent-defmethod): Support for more than one
14673 method qualifier and properly indent methods lambda-lists.
14674 (defgeneric): Provide a missing common-lisp-indent-function property.
14675
f278f87f
SM
146762011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14677
14678 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14679 bounds for the empty string (bug#8667).
14680
5233edd7
GM
146812011-05-13 Glenn Morris <rgm@gnu.org>
14682
5237a44f
GM
14683 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14684
8340026c 14685 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14686 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14687
5233edd7 14688 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14689 (appt-time-msg-list): Doc fix.
a5464014 14690 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14691
92d10796
AS
146922011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14693
14694 * progmodes/ld-script.el (ld-script-keywords)
14695 (ld-script-builtins): Update keywords list.
14696
914a0ae1
SM
146972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14698
c89be45f
SM
14699 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14700
914a0ae1
SM
14701 * shell.el (shell-completion-vars): New function.
14702 (shell-mode):
14703 * simple.el (read-shell-command): Use it.
14704 (blink-matching-open): No need for " [...]" in minibuffer-message.
14705
98dc3df3
GM
147062011-05-12 Glenn Morris <rgm@gnu.org>
14707
14708 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14709 (appt-check): Simplify.
14710
d2fc7e3d 147112011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14712
4d61f28d 14713 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14714 literal "/dev/null".
14715
d2fc7e3d 147162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14717
14718 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14719 Fix typo.
14720
d2fc7e3d 147212011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14722
3f254caa
SM
14723 * progmodes/which-func.el (which-function):
14724 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14725 which might not be defined (Bug#8260).
14726
d45885f7
GM
147272011-05-12 Glenn Morris <rgm@gnu.org>
14728
14729 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14730 Let byte-compile-initial-macro-environment always take precedence.
14731
488086f4
SM
147322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14733
14734 * net/rcirc.el: Add support for SSL/TLS connections.
14735 (rcirc-server-alist): New field `encryption'.
14736 (rcirc): Check `encryption' settings.
14737 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14738 Merge make-local-variable into `set'.
14739 (rcirc--connection-open-p): New function.
14740 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14741 the process is not a network process (e.g. running gnutls-cli).
14742 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14743 Make rcirc-(en|de)code-coding-system local here.
14744 (rcirc-mode): Merge make-local-variable into `set'.
14745 (rcirc-parent-buffer): Make permanent buffer-local.
14746 (rcirc-multiline-minor-mode): Don't do it here.
14747 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14748 there's no server buffer.
14749
7d3b9d44
GM
147502011-05-11 Glenn Morris <rgm@gnu.org>
14751
f64049c6
GM
14752 * newcomment.el (comment-kill): Prefix "unused" local.
14753
93c9df73
GM
14754 * term/w32console.el (get-screen-color): Declare.
14755
7d3b9d44
GM
14756 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14757 Handle symbol elements of byte-compile-initial-macro-environment.
14758
9e2dd53f
LL
147592011-05-10 Leo Liu <sdl.web@gmail.com>
14760
488086f4
SM
14761 * bookmark.el (bookmark-bmenu-mode-map):
14762 Bind bookmark-bmenu-search to `/'.
8b340240 14763
9e2dd53f 14764 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14765 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14766 (Footnote-unicode): New function.
14767 (footnote-style-alist): Add unicode style to the list.
14768 (footnote-style): Doc fix.
9e2dd53f 14769
79b70037
GM
147702011-05-10 Jim Meyering <meyering@redhat.com>
14771
14772 Fix doubled-word typos.
14773 * international/quail.el (quail-insert-kbd-layout): and and -> and
14774 * kermit.el: and and -> and
14775 * net/ldap.el (ldap-search-internal): to to -> to
14776 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14777 * progmodes/js.el (js-mode): and and -> and
14778 * textmodes/artist.el (artist-move-to-xy): at at -> at
14779 (artist-draw-region-trim-line-endings): if if -> if
14780 And Safetyc -> Safety.
14781 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14782
b8f82dc1 147832011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14784 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14785
14786 * files.el (hack-one-local-variable-eval-safep):
14787 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14788
4f99f44b
GM
147892011-05-10 Glenn Morris <rgm@gnu.org>
14790
14791 * calendar/diary-lib.el (diary-list-entries-hook)
14792 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14793 (diary-nongregorian-marking-hook, diary-list-entries)
14794 (diary-include-other-diary-files, diary-mark-entries)
14795 (diary-mark-included-diary-files): Doc fixes.
14796
84f29e6b
JB
147972011-05-09 Juanma Barranquero <lekktu@gmail.com>
14798
14799 * misc.el: Require tabulated-list.el during compilation.
14800
9bedd73a
CY
148012011-05-09 Chong Yidong <cyd@stupidchicken.com>
14802
488086f4
SM
14803 * progmodes/compile.el (compilation-start):
14804 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14805 (compilation-filter-hook): Doc fix.
14806
797c735c
DD
148072011-05-09 Deniz Dogan <deniz@dogan.se>
14808
14809 * wdired.el: Remove outdated installation comment. Fix usage
14810 comment.
14811
5f4b1dfe
JB
148122011-05-09 Juanma Barranquero <lekktu@gmail.com>
14813
14814 * misc.el: Implement new command `list-dynamic-libraries'.
14815 (list-dynamic-libraries--loaded-only-p): New variable.
14816 (list-dynamic-libraries--refresh): New function.
14817 (list-dynamic-libraries): New command.
14818
4c44026c
CY
148192011-05-09 Chong Yidong <cyd@stupidchicken.com>
14820
488086f4
SM
14821 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14822 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14823 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14824 higher priority to avoid clobbering by gnu.
14825
027f966d
CY
148262011-05-08 Chong Yidong <cyd@stupidchicken.com>
14827
14828 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14829 if the face has existing theme settings (Bug#8454).
14830
085f5d7d
CY
148312011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14832
488086f4
SM
14833 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14834 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14835
2a86a00c
RS
14836 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14837 special file names `.' and `..' (Bug#8259).
14838
d9c54a06
CY
148392011-05-08 Chong Yidong <cyd@stupidchicken.com>
14840
488086f4
SM
14841 * progmodes/grep.el (grep-mode-font-lock-keywords):
14842 Remove buffer-changing entries.
d9c54a06
CY
14843 (grep-filter): New function.
14844 (grep-mode): Add it to compilation-filter-hook.
14845
14846 * progmodes/compile.el (compilation-filter-hook)
14847 (compilation-filter-start): New defvars.
14848 (compilation-filter): Call compilation-filter-hook prior to
14849 updating the process mark.
14850
c4662635
SM
148512011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14854
b0512a1d
EZ
148552011-05-07 Eli Zaretskii <eliz@gnu.org>
14856
605c9376
EZ
14857 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14858 mailclient-send-it even if window-system is nil. (Bug#8595)
14859
c4662635
SM
14860 * term/w32console.el (terminal-init-w32console):
14861 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14862 background-mode. (Bug#8597)
14863
d1dc2cc2
SM
148642011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14865
14866 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14867 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14868 New functions.
14869 (defgeneric, eieio--defmethod): Use them.
14870 (eieio-defgeneric): Remove.
14871 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14872
915d1300
GM
148732011-05-07 Glenn Morris <rgm@gnu.org>
14874
a3961c3e
GM
14875 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14876 Use let rather than let*.
14877 (timeclock-find-discrep): Remove unused local.
14878
314347b9
GM
14879 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14880
915d1300
GM
14881 * calendar/appt.el (appt-time-msg-list): Doc fix.
14882
275b59b0
NF
148832011-05-06 Noah Friedman <friedman@splode.com>
14884
14885 * apropos.el (apropos-print-doc): Only use
14886 emacs-lisp-docstring-fill-column when it is bound to an integer,
14887 per that variable's documentation.
14888
6c19f744
SM
148892011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14890
14891 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14892 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14893
60f884b2
GM
148942011-05-06 Glenn Morris <rgm@gnu.org>
14895
5006e634
GM
14896 * calendar/appt.el (appt-message-warning-time): Doc fix.
14897 (appt-warning-time-regexp): New option.
14898 (appt-make-list): Respect appt-message-warning-time.
14899
548d0a63
GM
14900 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14901 New options.
14902 (diary-add-to-list): Strip comments from the displayed string.
14903 (diary-mode): Set comment-start and comment-end.
14904
60f884b2
GM
14905 * vc/diff-mode.el (smerge-refine-subst): Declare.
14906 (diff-refine-hunk): Don't require smerge-mode when compiling.
14907
989681bb
JB
149082011-05-06 Juanma Barranquero <lekktu@gmail.com>
14909
14910 * simple.el (list-processes): Return nil as the docstring says.
14911
a6bc05e1
MA
149122011-05-05 Michael Albinus <michael.albinus@gmx.de>
14913
14914 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14915 to "".
14916 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14917 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14918 determining of binary transfer. (Bug#7383)
14919
23c22e9a
MA
149202011-05-05 Michael Albinus <michael.albinus@gmx.de>
14921
c4662635
SM
14922 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14923 Fix port computation bug. (Bug#8618)
23c22e9a 14924
0bff894f
GM
149252011-05-05 Glenn Morris <rgm@gnu.org>
14926
b8296902
GM
14927 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14928
1f522ce8
GM
14929 * simple.el (shell-dynamic-complete-functions)
14930 (comint-dynamic-complete-functions): Declare.
14931
cf5bee67
GM
14932 * net/network-stream.el (gnutls-negotiate):
14933 * simple.el (tabulated-list-print): Fix declarations.
14934
14935 * progmodes/gud.el (syntax-symbol, syntax-point):
14936 Remove unnecessary and incorrect declarations.
14937
0bff894f
GM
14938 * emacs-lisp/check-declare.el (check-declare-scan):
14939 Handle byte-compile-initial-macro-environment in bytecomp.el
14940
9869b3ae
SM
149412011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14942
14943 Fix earlier half-done eieio-defmethod change (bug#8338).
14944 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14945 Streamline and change calling convention.
14946 (defmethod): Adjust accordingly and simplify.
14947 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14948 new eieio--defmethod.
14949 (slot-boundp): Minor CSE simplification.
14950
9c1d5ac5
MZ
149512011-05-05 Milan Zamazal <pdm@zamazal.org>
14952
14953 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14954 (glasses-make-readable): Use glasses-separate-capital-groups.
14955
455c834e
JB
149562011-05-05 Juanma Barranquero <lekktu@gmail.com>
14957
14958 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14959 (warning-series): Doc fix.
14960 (display-warning): Don't try to create the buffer if we just found it.
14961
9ed7c8cb
CY
149622011-05-04 Chong Yidong <cyd@stupidchicken.com>
14963
14964 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14965 (autoload-find-generated-file): New function.
14966 (generate-file-autoloads): Bind generated-autoload-file to
14967 buffer-file-name.
9869b3ae
SM
14968 (update-file-autoloads, update-directory-autoloads):
14969 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14970 output file (Bug#7989).
14971 (batch-update-autoloads): Doc fix.
14972
0898ca10
JB
149732011-05-04 Juanma Barranquero <lekktu@gmail.com>
14974
14975 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14976
31dfb76c
GM
149772011-05-04 Glenn Morris <rgm@gnu.org>
14978
f330b642
GM
14979 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14980 function, so it follows changes in calendar-date-style.
14981 (diary-fancy-date-matcher): New function.
14982 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14983 (diary-fancy-font-lock-fontify-region-function):
14984 Use diary-fancy-date-pattern as a function.
14985
31dfb76c
GM
14986 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14987 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14988
48e79d6a
TZ
149892011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14990
14991 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14992 instead of positional arguments. Allow :keylist and :crlfiles
14993 arguments.
14994 (open-gnutls-stream): Call it.
14995
14996 * net/network-stream.el (network-stream-open-starttls): Adjust to
14997 call `gnutls-negotiate' with :process and :hostname arguments.
14998
dd5a5ee0
SM
149992011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15000
ef80fc09
SM
15001 * minibuffer.el (completion--message): New function.
15002 (completion--do-completion, minibuffer-complete)
15003 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15004 (completion--do-completion): Don't ignore completion-auto-help when in
15005 icomplete-mode.
15006
dd5a5ee0
SM
15007 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15008 internal encoding (e.g. tibetan zero is not whitespace).
15009 (global-whitespace-mode): Prefer save-current-buffer.
15010 (whitespace-trailing-regexp): Remove useless save-match-data.
15011 (whitespace-empty-at-bob-regexp): Minor simplification.
15012
b7d22a83
CY
150132011-05-03 Chong Yidong <cyd@stupidchicken.com>
15014
15015 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15016
5192af46
AM
150172011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15018
15019 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15020 Use `concat' to create string for insertion.
5192af46 15021
5767d190
SM
150222011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15023
15024 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15025 Avoid open-line which runs post-self-insert-hook.
15026 (bibtex-fill-entry): Remove unused `end' var.
15027
bf242939
AM
150282011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15029
5767d190
SM
15030 * textmodes/ispell.el (ispell-add-per-file-word-list):
15031 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15032
25666126
LL
150332011-05-03 Leo Liu <sdl.web@gmail.com>
15034
15035 * isearch.el (isearch-yank-pop): New command.
5767d190 15036 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15037 (isearch-forward): Mention it.
15038
52d3c2d0
SM
150392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15040
1bcace58
SM
15041 * simple.el (minibuffer-complete-shell-command): Remove.
15042 (minibuffer-local-shell-command-map): Use completion-at-point.
15043 (read-shell-command): Setup completion vars here instead.
15044 (read-expression-map): Bind TAB to symbol completion.
15045
52d3c2d0
SM
15046 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15047 error directly rather via storing it into `results'.
15048
35813471
LL
150492011-05-02 Leo Liu <sdl.web@gmail.com>
15050
15051 * vc/diff.el: Fix description.
15052
e793a940
LMI
150532011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15054
15055 * server.el (server-eval-at): New function.
15056
8de66e05
LMI
150572011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15058
15059 * net/network-stream.el (open-network-stream): Take a :nowait
15060 parameter and pass it on to `make-network-process'.
15061 (network-stream-open-plain): Ditto.
15062
dcb79f20
AS
150632011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15064
15065 * faces.el (face-spec-set-match-display): Don't match toolkit
15066 options on terminal frames.
15067
14a7fbd8
SM
150682011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15069
7eabc1be
SM
15070 * progmodes/pascal.el: Use lexical binding.
15071 (pascal-mode-map): Remove author preferences.
15072
14a7fbd8
SM
15073 * pcomplete.el (pcomplete-std-complete): Don't abuse
15074 completion-at-point.
15075
50f84510
JB
150762011-04-28 Juanma Barranquero <lekktu@gmail.com>
15077
6e087a44
JB
15078 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15079 removing code that has been dead since 1991 or so.
15080
50f84510
JB
15081 * startup.el (command-line): When warning about "_emacs", use a
15082 delayed warning to allow the user to filter it out.
15083
0ba690bd
DD
150842011-04-28 Deniz Dogan <deniz@dogan.se>
15085
15086 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15087 user has not joined.
15088
08abfaad
SM
150892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15090
15091 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15092 aren't any completions at point.
15093
638f053a
JB
150942011-04-28 Juanma Barranquero <lekktu@gmail.com>
15095
15096 * subr.el (display-delayed-warnings): New function.
15097 (delayed-warnings-hook): New variable.
15098
8fff8daa
SM
150992011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15100
08abfaad
SM
15101 * minibuffer.el (completion-at-point, completion-help-at-point):
15102 Don't presume that a given completion-at-point-function will always
15103 use the same calling convention.
15104
8fff8daa
SM
15105 * pcomplete.el (pcomplete-completions-at-point):
15106 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15107 pcomplete-seen is non-nil.
15108 (pcomplete-comint-setup): Also recognize the new comint/shell
15109 completion functions.
15110 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15111 pcomplete-seen is non-nil.
15112
841a1577 151132011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15114
841a1577 15115 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15116 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15117 the first character in the entry. This allows for code to add its
211ec907
UJ
15118 own uid to the entry.
15119 (icalendar--convert-float-to-ical): Add export of
15120 `diary-float'-entries save for those with the optional DAY
15121 argument.
15122
2a782793
DC
151232011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15124
15125 * subr.el (shell-quote-argument): Use alternate escaping strategy
15126 when we spot a variable reference in a string.
15127
0438ce91
DC
151282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15129
15130 * cus-start.el (all): Define customization for debug-on-event.
15131
841a1577 151322011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15133
15134 * subr.el (shell-quote-argument): Escape correctly under Windows.
15135
d090ed6c
SM
151362011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15137
15138 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15139
bfd31217
MA
151402011-04-25 Michael Albinus <michael.albinus@gmx.de>
15141
d090ed6c
SM
15142 * net/tramp.el (tramp-process-actions): Add POS argument.
15143 Delete region between POS and (pos).
bfd31217 15144
d090ed6c
SM
15145 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15146 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15147 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15148
15149 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15150 position in `tramp-process-actions' call.
15151
15152 * net/trampver.el: Update release number.
15153
e92f3bd3
SM
151542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15155
850256b5
SM
15156 * custom.el (defcustom): Obey lexical-binding.
15157
e92f3bd3
SM
15158 Fix octave-inf completion problems reported by Alexander Klimov.
15159 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15160 Inherit from octave-mode-syntax-table.
15161 (inferior-octave-mode): Set info-lookup-mode.
15162 (inferior-octave-completion-at-point): New function.
15163 (inferior-octave-complete): Use it and completion-in-region.
15164 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15165 comint-filename-completion.
15166 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15167 symbol elements which shouldn't be word elements.
15168 (octave-font-lock-keywords, octave-beginning-of-defun)
15169 (octave-function-header-regexp): Adjust regexps accordingly.
15170 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15171
cd22b309
JB
151722011-04-25 Juanma Barranquero <lekktu@gmail.com>
15173
15174 * net/gnutls.el (gnutls-errorp): Declare before first use.
15175
8b492194
TZ
151762011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15177
15178 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15179 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15180 default trustfile exists before going to use it. Add missing
5a5fa834 15181 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15182 Reported by Claudio Bley <claudio.bley@gmail.com>.
15183 (open-gnutls-stream): Add usage example.
15184
15185 * net/network-stream.el (network-stream-open-starttls): Give host
15186 parameter to `gnutls-negotiate'.
15187 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15188 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15189
841a1577 151902011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15191
cd22b309
JB
15192 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15193 Use correct match group (bug#8438).
05842630 15194
3ba7869c
CY
151952011-04-24 Chong Yidong <cyd@stupidchicken.com>
15196
512e3ae1
CY
15197 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15198 (package-menu--generate): New arg specifying packages to show.
15199 (package-menu-refresh, package-menu-execute, list-packages):
15200 Callers changed.
15201 (package-show-package-list): New function, replacing deleted
15202 package--list-packages (renamed because it is non-internal).
15203
15204 * finder.el (finder-list-matches): Use package-show-package-list
15205 instead of deleted package--list-packages.
15206
e92f3bd3
SM
15207 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15208 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15209 (vc-annotate-mode-map): Bind it to RET.
15210
7031be6d
UR
152112011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15212
15213 * progmodes/etags.el (next-file): Don't use set-buffer to change
15214 buffers (Bug#8478).
15215
4ef177aa
CY
152162011-04-24 Chong Yidong <cyd@stupidchicken.com>
15217
c8d173eb
CY
15218 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15219
4ef177aa
CY
15220 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15221 (apropos-accumulator): Doc fix.
15222 (apropos-function, apropos-macro, apropos-command)
15223 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15224 (apropos-plist): Add face property.
15225 (apropos-symbols-internal): Fix indentation.
15226 (apropos-print): Simplify help, and recognize apropos-multi-type.
15227 (apropos-print-doc): Use button-type-get to extract the button's
15228 face property. Fill docstring (Bug#8352).
15229
4ffd0d6b 152302011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15231
15232 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15233
c6c32125 15234 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15235 (mpuz-mode-map): Use mapc.
c6c32125
JB
15236 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15237 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15238 Fix typos in docstrings.
15239
58d468b4
JB
15240 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15241 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15242
6470c3c6
JB
15243 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15244
4ffd0d6b 152452011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15246
15247 * minibuffer.el (completion--do-completion): Avoid the "Next char
15248 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15249
3ad8bad0
CY
15250 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15251 mouse-2 into unread-command-events, it is interpreted correctly.
15252
71d73c9c 15253 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15254 (image-toggle-display): Doc fix.
71d73c9c 15255
841a1577 152562011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15257
4ffd0d6b
GM
15258 * textmodes/page.el (what-page): Use line-number-at-pos to
15259 calculate line number (Bug#6825).
6e1dbaa9 15260
c2fb1b60
JB
152612011-04-22 Juanma Barranquero <lekktu@gmail.com>
15262
15263 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15264 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15265 Pass argument NO-DEFAULT to `find-tag-interactive'.
15266
e02f48d7
JB
152672011-04-22 Juanma Barranquero <lekktu@gmail.com>
15268
15269 Lexical-binding cleanup.
15270
15271 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15272 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15273 * progmodes/ada-prj.el (ada-prj-initialize-values)
15274 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15275 (ada-prj-show-value):
15276 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15277 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15278 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15279 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15280 * progmodes/bug-reference.el (bug-reference-push-button):
15281 * progmodes/fortran.el (fortran-line-length):
15282 * progmodes/glasses.el (glasses-change):
15283 * progmodes/octave-mod.el (octave-fill-paragraph):
15284 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15285 (python-pdbtrack-grub-for-buffer, python-sentinel):
15286 * progmodes/sql.el (sql-save-connection):
15287 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15288 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15289 Mark unused parameters.
15290
15291 * progmodes/compile.el (compilation--flush-directory-cache)
15292 (compilation--flush-parse, compile-internal): Mark unused parameters.
15293 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15294 (compilation-next-error-function): Remove unused variable `timestamp'.
15295
15296 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15297 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15298
15299 * progmodes/dcl-mode.el (dcl-end-of-command):
15300 Remove unused variable `start'.
15301 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15302 (dcl-option-value-basic, dcl-option-value-offset)
15303 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15304 Mark unused parameters.
15305 (dcl-save-local-variable): Remove unused variable `val'.
15306 (mode): Declare.
15307
15308 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15309 Mark unused parameters.
15310 (delphi-ignore-changes): Move before first use.
15311 (delphi-charset-token-at): Remove unused variable `start'.
15312 (delphi-else-start): Remove unused variable `if-count'.
15313 (delphi-comment-block-start, delphi-comment-block-end):
15314 Remove unused variable `kind'.
15315 (delphi-indent-line): Remove unused variable `new-point'.
15316
15317 * progmodes/ebrowse.el (ebrowse-files-list)
15318 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15319 Mark unused parameters. Don't quote `lambda'.
15320 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15321 Don't quote `lambda'.
15322 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15323 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15324 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15325 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15326 Use `ignore-errors'.
15327 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15328 (ebrowse-view/find-file-and-search-pattern)
15329 (ebrowse-view/find-member-declaration/definition):
15330 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15331 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15332 Rename parameter PREFIX-ARG to PREFIX.
15333 (ebrowse-tags-read-name): Remove unused variables `start' and
15334 `member-info'.
15335 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15336 to `tags-file'.
15337
15338 * progmodes/etags.el (local-find-tag-hook): Declare.
15339 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15340 Mark unused parameters.
15341
15342 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15343 (executable-interpret): Mark unused parameter.
15344
15345 * progmodes/flymake.el (flymake-process-sentinel)
15346 (flymake-after-change-function)
15347 (flymake-create-temp-with-folder-structure)
15348 (flymake-get-include-dirs-dot): Mark unused parameters.
15349 (flymake-safe-delete-directory): Remove unused variable `err'.
15350
15351 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15352 (speedbar-timer-fn, speedbar-line-text)
15353 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15354 (speedbar-center-buffer-smartly): Declare functions.
15355 (gdb-find-watch-expression): Remove unused variable `array'.
15356 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15357 (gdb-starting): Mark unused parameters.
15358 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15359 (gdb-table-string): Remove unused variable `res'.
15360 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15361 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15362 (gdb-display-buffer): Remove unused variable `cur-size'.
15363
15364 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15365 allow lexical-binding compilation.
15366 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15367 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15368 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15369 Mark unused parameters.
15370 (gud-gdb-marker-filter): Remove unused variable `match'.
15371 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15372 lambda expressions and funcall them, instead of using `fset'.
15373
15374 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15375 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15376
15377 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15378 variable `header-beg'; use `let'.
15379
15380 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15381 `restart', `last-sexp' and `at-do'.
15382
15383 * progmodes/js.el (js--debug): Mark unused parameter.
15384 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15385 (js--splice-into-items): Remove unused variable `item'.
15386 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15387
15388 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15389 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15390 (makefile-complete): Remove unused variable `try'.
15391 (makefile-fill-paragraph, makefile-match-function-end):
15392 Mark unused parameters.
15393
15394 * progmodes/octave-inf.el (inferior-octave-complete):
15395 Remove unused variable `proc'.
15396 (inferior-octave-output-digest): Mark unused parameter.
15397
15398 * progmodes/perl-mode.el (perl-calculate-indent):
15399 Remove unused variable `err'.
15400
15401 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15402 (prolog-indent-line): Mark unused parameters.
15403 (prolog-indent-line): Remove unused variable `beg'.
15404
15405 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15406 (reporter-dont-compact-list): Declare.
15407
15408 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15409 Remove unused variable `char'.
15410 (sh-debug): Mark unused parameter.
15411 (sh-get-indent-info): Remove unused variable `start'.
15412 (sh-calculate-indent): Remove unused variable `var'.
15413
15414 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15415 (simula-electric-keyword): Remove unused variable `null'.
15416 (simula-search-backward, simula-search-forward): Remove unused
15417 variables `begin' and `end'.
15418
15419 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15420 Remove unused variable `pos'.
15421 (vera-electric-tab, vera-comment-uncomment-region):
15422 Mark unused parameters.
15423 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15424
7ede3b65
CY
154252011-04-22 Chong Yidong <cyd@stupidchicken.com>
15426
15427 * emacs-lisp/package.el (package--builtins, package-alist)
15428 (package-load-descriptor, package-built-in-p, package-activate)
15429 (define-package, package-installed-p)
15430 (package-compute-transaction, package-buffer-info)
15431 (package--push): Doc fix. Distinguish more clearly between
15432 version strings and version lists.
15433
121656e9
JB
154342011-04-21 Juanma Barranquero <lekktu@gmail.com>
15435
15436 Lexical-binding cleanup.
15437
15438 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15439 (5x5-make-mutate-best):
15440 * play/fortune.el (fortune-in-buffer):
15441 * play/gomoku.el (gomoku-init-display):
15442 * play/solitaire.el (solitaire, solitaire-do-check):
15443 * play/tetris.el (tetris-default-update-speed-function):
15444 Mark unused parameters.
15445
15446 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15447 (bubbles--shift): Remove unused variable `char-org'.
15448 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15449 (bubbles--show-images): Remove unused variable `char'.
15450
15451 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15452 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15453 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15454 (decipher-analyze-buffer): Use ?\s.
15455 (decipher-make-checkpoint): Remove unused variable `mapping'.
15456
15457 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15458
15459 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15460 Remove unused variable `result'; use `let'.
15461
15462 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15463 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15464 (gametree-children-shown-p, gametree-compute-reduced-score):
15465 Use `ignore-errors'.
15466
15467 * play/handwrite.el (ps-lpr-switches): Declare.
15468 (handwrite): Remove unused variables `pmin' and `lastp'.
15469
15470 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15471
15472 * play/landmark.el (landmark-init-display)
15473 (landmark-update-naught-weights): Mark unused parameters.
15474 (landmark-y): Remove unused variable `noise'. Simplify.
15475 (landmark-human-plays): Remove unused variable `score'.
15476
15477 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15478 (mpuz-try-proposal): Remove unused variable `game'.
15479
15480 * play/zone.el (life-patterns): Declare.
15481
80f499c7
JB
154822011-04-20 Juanma Barranquero <lekktu@gmail.com>
15483
15484 * vc/vc.el (ediff-vc-internal): Declare function.
15485
024ff170
SM
154862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15487
c0a193ea
SM
15488 * shell.el: Use lexical-binding and std completion UI.
15489 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15490 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15491 comint-preoutput-filter-functions rather than on
15492 comint-output-filter-functions.
15493 (shell-command-completion, shell--command-completion-data)
15494 (shell-filename-completion, shell-environment-variable-completion)
15495 (shell-c-a-p-replace-by-expanded-directory): New functions.
15496 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15497 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15498 (shell-dynamic-complete-environment-variable): Use them.
15499 (shell-dynamic-complete-as-environment-variable)
15500 (shell-dynamic-complete-as-command): Remove.
15501 (shell-match-partial-variable): Match past point.
15502 * comint.el: Clean up use of completion-at-point-functions.
15503 (comint-completion-at-point): New function.
15504 (comint-mode): Use it completion-at-point-functions.
15505 (comint-dynamic-complete): Make it obsolete.
15506 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15507 (comint-c-a-p-replace-by-expanded-history): New function.
15508 (comint-dynamic-complete-functions)
15509 (comint-replace-by-expanded-history): Use it.
15510 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15511 termination strings. Try harder to avoid second try-completion.
15512 (completion-in-region-mode-map): Disable bindings that don't work yet.
15513
2dbaa080
SM
15514 * comint.el: Use lexical-binding. Require CL.
15515 (comint-dynamic-complete-functions): Use comint-filename-completion.
15516 (comint-completion-addsuffix): Tweak custom type.
15517 (comint-filename-completion, comint--common-suffix)
15518 (comint--common-quoted-suffix, comint--table-subvert)
15519 (comint--complete-file-name-data): New functions.
15520 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15521 (comint-dynamic-list-filename-completions): Use them.
15522 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15523
2dbaa080
SM
15524 * minibuffer.el (completion-in-region-mode):
15525 Keep completion-in-region-mode--predicate global.
15526 (completion-in-region--postch):
15527 Assume completion-in-region-mode--predicate is not null.
15528
c79a6f38
SM
15529 * progmodes/flymake.el (flymake-start-syntax-check-process):
15530 Obey `dir'. Simplify.
15531
024ff170
SM
15532 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15533 we're in VC after all.
15534
1c6c854e
CS
155352011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15536
15537 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15538 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15539 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15540
bed7f140
SM
155412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15542
332e62ab
SM
15543 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15544 add sanity check.
15545
bed7f140
SM
15546 * obsolete/erc-hecomplete.el: Make obsolete.
15547 * obsolete/: Standardize obsolescence info in the header.
15548
f195c582
GM
155492011-04-20 Glenn Morris <rgm@gnu.org>
15550
15551 * calendar/solar.el (solar-horizontal-coordinates):
15552 Use the longitude argument rather than `calendar-longitude'.
15553 (solar-date-next-longitude): Remove unused locals.
15554
cb79b8c0
VJL
155552011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15556
15557 * whitespace.el: New version 13.2.1.
15558
155592011-04-20 felix <EmacsWiki> (tiny change)
15560
d8e4b68b 15561 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15562 switching between major modes on a file.
15563
602ea69d
SM
155642011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15565
15566 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15567 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15568 multi-line comments as well.
15569
06b60517
JB
155702011-04-19 Juanma Barranquero <lekktu@gmail.com>
15571
15572 Lexical-binding cleanup.
15573
15574 * arc-mode.el (archive-mode-revert):
15575 * cmuscheme.el (scheme-interactively-start-process):
15576 * custom.el (custom-initialize-delay):
15577 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15578 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15579 * emacs-lock.el (emacs-lock-clear-sentinel):
15580 * ezimage.el (defezimage):
15581 * follow.el (follow-avoid-tail-recenter):
15582 * fringe.el (set-fringe-mode-1):
15583 * generic-x.el (bat-generic-mode-compile):
15584 * help-mode.el (help-info-variable, help-do-xref)
15585 (help-mode-revert-buffer):
15586 * help.el (view-emacs-todo):
15587 * iswitchb.el (iswitchb-completion-help):
15588 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15589 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15590 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15591 * locate.el (locate-update):
15592 * longlines.el (longlines-encode-region)
15593 (longlines-after-change-function):
15594 * outline.el (outline-isearch-open-invisible):
15595 * ps-def.el (declare-function, charset-dimension, char-width)
15596 (encode-char):
15597 * ps-mule.el (ps-mule-plot-string):
15598 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15599 (recentf-edit-list-select, recentf-edit-list-validate)
15600 (recentf-open-files-action):
15601 * rect.el (delete-whitespace-rectangle-line)
15602 (rectangle-number-line-callback):
15603 * register.el (window-configuration-to-register)
15604 (frame-configuration-to-register):
15605 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15606 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15607 (xselect-convert-to-targets, xselect-convert-to-delete)
15608 (xselect-convert-to-filename, xselect-convert-to-charpos)
15609 (xselect-convert-to-lineno, xselect-convert-to-colno)
15610 (xselect-convert-to-os, xselect-convert-to-host)
15611 (xselect-convert-to-user, xselect-convert-to-class)
15612 (xselect-convert-to-name, xselect-convert-to-integer)
15613 (xselect-convert-to-atom, xselect-convert-to-identity):
15614 * subr.el (declare, ignore, process-kill-without-query)
15615 (text-clone-maintain):
15616 * terminal.el (te-get-char, te-tic-sentinel):
15617 * tool-bar.el (tool-bar-make-keymap):
15618 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15619 * type-break.el (type-break-mode, type-break-noninteractive-query):
15620 * view.el (View-back-to-mark):
15621 * wid-browse.el (widget-browse-action, widget-browse-widget)
15622 (widget-browse-widgets, widget-browse-sexp):
15623 * widget.el (define-widget-keywords):
15624 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15625 Mark unused parameters.
15626
15627 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15628 (align-areas): Remove unused variable `look'.
15629 (align-region): Remove unused variables `real-end' and `pos-list'.
15630
15631 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15632
15633 * bindings.el (mode-line-modified, mode-line-remote):
15634 Mark unused parameters.
15635 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15636
15637 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15638 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15639
15640 * comint.el (comint-history-isearch-pop-state)
15641 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15642 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15643 (comint-substitute-in-file-name): Doc fix.
15644
15645 * completion.el (cmpl-statistics-block): Mark unused parameter.
15646 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15647 (save-completions-to-file, load-completions-from-file):
15648 Remove unused local variable `e'.
15649
15650 * composite.el (compose-chars): Remove unused variable `len'.
15651 (lgstring-insert-glyph): Remove unused variable `g'.
15652 (compose-glyph-string): Remove unused variables `ascent',
15653 `descent', `lbearing' and `rbearing'.
15654 (compose-glyph-string-relative): Remove unused variables
15655 `lbearing', `rbearing' and `wadjust'.
15656 (compose-gstring-for-graphic): Remove unused variables `header',
15657 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15658 (compose-gstring-for-terminal): Remove unused variables `header'
15659 and `nchars'. Use `let', not `let*'.
15660
15661 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15662 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15663 (Custom-buffer-done, custom-buffer-create-internal)
15664 (custom-browse-visibility-action, custom-browse-group-tag-action)
15665 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15666 (widget-magic-mouse-down-action, custom-toggle-parent)
15667 (custom-add-parent-links, custom-toggle-hide-variable)
15668 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15669 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15670 (custom-face-menu-create, custom-variable-menu-create, get)
15671 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15672 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15673 (customize-apropos): Remove unused variable `tests'.
15674 (custom-group-value-create): Remove unused variable `hidden-p'.
15675 (sort-fold-case): Declare.
15676
15677 * cus-theme.el (custom-reset-standard-faces-list)
15678 (custom-reset-standard-variables-list): Declare.
15679 (customize-create-theme, custom-theme-revert, custom-theme-write)
15680 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15681 Mark unused parameters.
15682
15683 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15684
15685 * delim-col.el (delimit-columns-max): Move defvar before first use.
15686
15687 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15688 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15689
15690 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15691 (auto-insert): Declare.
15692 (desktop-restore-file-buffer): Rename desktop-* parameters;
15693 mark unused ones.
15694 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15695 (desktop-buffer): Rename desktop-* parameters.
15696
15697 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15698 (dframe-reposition-frame-xemacs, dframe-help-echo)
15699 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15700 Mark unused parameters.
15701
15702 * dired-aux.el (backup-extract-version-start, overwrite-query)
15703 (overwrite-backup-query, rename-regexp-query)
15704 (rename-non-directory-query): Declare.
15705 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15706 (dired-add-entry): Remove unused variable `orig-file-name'.
15707 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15708 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15709 `dired-copy-preserve-time' directly.
15710 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15711 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15712
15713 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15714 (dired-virtual-revert, dired-make-relative-symlink):
15715 Mark unused parameters.
15716 (manual-program): Declare.
15717 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15718 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15719 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15720
15721 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15722
15723 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15724
15725 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15726 Declare.
15727
15728 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15729
15730 * electric.el (Electric-command-loop): Rename parameter
15731 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15732
15733 * expand.el (expand-in-literal): Remove unused variable `here'.
15734
15735 * facemenu.el (facemenu-add-new-color):
15736 Remove unused variable `docstring'.
15737
15738 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15739 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15740 (face-attr-construct): Mark unused parameter. Doc fix.
15741 (read-color): Remove unused variable `hex-string'.
15742
15743 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15744 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15745 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15746 (display-buffer-other-frame): Remove unused variable `old-window'.
15747 (kill-buffer-hook): Declare.
15748 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15749 Mark unused parameters.
15750 (after-find-file): Pass 1 to `auto-save-mode', not t.
15751
15752 * files-x.el (auto-insert): Declare.
15753 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15754
15755 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15756 variable `buf'. Mark unused parameter.
06b60517
JB
15757 (find-lisp-insert-directory): Mark unused parameter.
15758
15759 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15760 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15761 (format-common-tail): Remove, unused.
15762 (format-deannotate-region): Remove unused variable `loc'.
15763 (format-annotate-region): Remove unused variable `p'.
15764 (format-annotate-single-property-change): Remove unused variables
15765 `default' and `tail'.
15766
15767 * forms.el (read-file-filter): Declare.
15768 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15769
15770 * frame.el (frame-creation-function-alist): Mark unused parameter.
15771 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15772
15773 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15774 Remove unused parameters.
15775 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15776 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15777
15778 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15779 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15780 (hfy-prepare-tag-map): Mark unused parameters.
15781 (htmlfontify-buffer): Use `called-interactively-p'.
15782
15783 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15784 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15785 (ibuffer-do-occur): Mark unused parameters.
15786 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15787 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15788
15789 * ibuffer.el: Don't quote `lambda'.
15790 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15791 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15792 Mark unused parameters.
15793
15794 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15795 (ido-completing-read): Mark unused parameters.
15796 (ido-copy-current-word): Mark unused parameters;
15797 remove unused variable `name'.
15798 (ido-sort-merged-list): Remove unused parameter `dirs'.
15799
15800 * ielm.el (ielm-input-sender): Mark unused parameter.
15801 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15802 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15803 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15804 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15805 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15806
15807 * image-dired.el (image-dired-display-thumbs): Remove unused
15808 variables `curr-file' and `count'.
15809 (image-dired-remove-tag): Remove unused variable `start'.
15810 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15811 variable `curr-file'
15812 (image-dired-rotate-original): Remove unused variable `temp-file'.
15813 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15814 Remove unused variable `file'.
15815 (image-dired-gallery-generate): Remove unused variable `curr'.
15816 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15817
15818 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15819
15820 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15821
15822 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15823
15824 * isearch.el (minibuffer-history-symbol): Declare.
15825 (isearch-edit-string): Remove unused variable `err'.
15826 (isearch-message-prefix, isearch-message-suffix):
15827 Mark unused parameters.
15828
15829 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15830
15831 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15832
15833 * makesum.el (double-column): Remove unused variable `cnt'.
15834
15835 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15836 (ido-ignore-item-temp-list): Declare.
15837
15838 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15839 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15840 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15841 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15842 `mouse-col-delta'.
15843
15844 * mouse-sel.el (mouse-extend-internal):
15845 Remove unused variable `orig-window-frame'.
15846
15847 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15848 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15849 Move declarations before first use.
15850 (pcomplete-opt): Mark unused parameters; doc fix.
15851
15852 * proced.el (proced-revert): Mark unused parameter.
15853 (proced-send-signal): Remove unused variable `err'.
15854
15855 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15856 Rename parameter PREFIX-ARG to ARG.
15857 (ps-basic-plot-string, ps-basic-plot-whitespace):
15858 Mark unused parameters.
15859
15860 * replace.el (replace-count): Define.
15861 (occur-revert-function): Mark unused parameters.
15862 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15863 (isearch-case-fold-search, isearch-string): Declare.
15864 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15865 bind `case-fold-search'. Remove unused variables `beg' and `end',
15866 and simplify.
15867 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15868 COUNT and bind `replace-count'.
15869 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15870 to COUNT.
15871
15872 * savehist.el (print-readably, print-string-length): Declare.
15873
15874 * shadowfile.el (shadow-expand-cluster-in-file-name):
15875 Remove unused variable `cluster'.
15876 (shadow-copy-file): Remove unused variable `i'.
15877 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15878 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15879 (shadow-define-literal-group, shadow-define-regexp-group)
15880 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15881
15882 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15883 (shell): Use `called-interactively-p'.
15884 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15885
15886 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15887 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15888 (delete-backward-char): Remove unused variable `ocol'.
15889 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15890 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15891 (event-apply-hyper-modifier, event-apply-shift-modifier)
15892 (event-apply-control-modifier, event-apply-meta-modifier):
15893 Mark unused parameters.
15894 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15895 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15896
15897 * speedbar.el (speedbar-ignored-directory-expressions)
15898 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15899 (speedbar-find-file, speedbar-dir-follow)
15900 (speedbar-directory-buttons-follow, speedbar-tag-find)
15901 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15902 (speedbar-buffers-line-directory, speedbar-buffer-click):
15903 Mark unused parameters.
15904 (speedbar-tag-file): Remove unused variable `mode'.
15905 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15906
15907 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15908
15909 * talk.el (talk): Remove unused variable `display'.
15910
15911 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15912 (tar-write-region-annotate): Mark unused parameter.
15913
15914 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15915 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15916 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15917 warning by another.
15918
15919 * time-stamp.el (time-stamp-string-preprocess):
15920 Remove unused variable `require-padding'.
15921
15922 * tree-widget.el (widget-glyph-enable): Declare.
15923 (tree-widget-action): Mark unused parameter.
15924
15925 * w32-fns.el (x-get-selection): Mark unused parameter.
15926 (autoload-make-program, generated-autoload-file): Declare.
15927
15928 * wdired.el (wdired-revert): Mark unused parameters.
15929 (wdired-xcase-word): Remove unused variable `err'.
15930
15931 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15932 (whitespace-help-scroll): Remove unused variable `data-help'.
15933
15934 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15935 (widget-image-insert, widget-after-change, default)
15936 (widget-default-format-handler, widget-default-notify)
15937 (widget-default-prompt-value, widget-info-link-action)
15938 (widget-url-link-action, widget-function-link-action)
15939 (widget-variable-link-action, widget-file-link-action)
15940 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15941 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15942 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15943 (widget-insert-button-action, widget-delete-button-action, visibility)
15944 (widget-documentation-link-action, widget-documentation-string-action)
15945 (widget-const-prompt-value, widget-regexp-match, symbol)
15946 (widget-coding-system-prompt-value)
15947 (widget-key-sequence-value-to-external, sexp)
15948 (widget-sexp-value-to-internal, character, vector, cons)
15949 (widget-choice-prompt-value, widget-boolean-prompt-value)
15950 (widget-color--choose-action): Mark unused parameters.
15951 (widget-item-match-inline, widget-choice-match-inline)
15952 (widget-checklist-match, widget-checklist-match-inline)
15953 (widget-group-match): Rename parameter VALUES to VALS.
15954 (widget-field-value-set): Remove unused variable `size'.
15955 (widget-color-action): Remove unused variables `value' and `start'.
15956
15957 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15958 variable `dir'. Doc fix.
06b60517
JB
15959 (windmove-find-other-window): Don't pass it.
15960
15961 * window.el (count-windows): Mark unused parameter.
15962 (bw-adjust-window): Remove unused variable `err'.
15963
15964 * woman.el (woman-file-name): Remove unused variable `default'.
15965 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15966 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15967 (global-font-lock-mode): Declare.
15968 (woman-decode-region): Mark unused parameter.
15969 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15970
15971 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15972 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15973 (x-dnd-handle-moz-url): Remove unused variable `title'.
15974 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15975
15976 * xml.el (xml-parse-tag, xml-parse-attlist):
15977 Remove unused variable `pos'.
15978
bc4f7f3d
GM
159792011-04-19 Glenn Morris <rgm@gnu.org>
15980
15981 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15982 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15983 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15984 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15985 * calendar/cal-html.el (cal-html-insert-minical):
15986 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15987 (calendar-mark-date-pattern):
15988 Prefix "unused" locals.
15989
15990 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15991 optional argument `style'.
15992
15993 * calendar/appt.el (appt-make-list):
15994 * calendar/cal-china.el (calendar-chinese-date-string):
15995 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15996 (diary-hebrew-yahrzeit):
15997 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15998 * calendar/calendar.el (calendar-generate-window):
15999 * calendar/time-date.el (time-to-days):
16000 Remove unused local variables.
16001
16a43933
CY
160022011-04-18 Chong Yidong <cyd@stupidchicken.com>
16003
16004 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16005 glyphless-char-display table.
16006 (tabulated-list-glyphless-char-display): New var.
16007
7eed1860
SS
160082011-04-18 Sam Steingold <sds@gnu.org>
16009
16010 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16011 to acknowledgments.
16012
4d2d1ccd
GM
160132011-04-17 Glenn Morris <rgm@gnu.org>
16014
16015 * calendar/diary-lib.el (diary-sexp-entry):
16016 * calendar/holidays.el (holiday-sexp):
16017 Set debug-on-error rather than the removed stack-trace-on-error.
16018
239da61d
GM
160192011-04-16 Glenn Morris <rgm@gnu.org>
16020
16021 * progmodes/f90.el: Use lexical-binding.
16022 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16023
8b05752a
SM
160242011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16025
daca8ba5
SM
16026 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16027 (mail-mode): Setup mailalias completion here instead.
16028 * mail/mailalias.el: Use lexical-binding.
16029 (pattern, mailalias-done): Declare dynamic.
16030 (mail-completion-at-point-function): New function, from mail-complete.
16031 (mail-complete): Use it.
16032 (mail-completion-expand): New function.
16033 (mail-get-names): Use it.
16034 (mail-directory, mail-directory-process, mail-directory-stream):
16035 Don't use `pattern' for lexically bound arg.
16036
6f542485
SM
16037 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16038
037e7c3f
SM
16039 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16040 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16041 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16042
8b05752a
SM
16043 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16044 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16045 (byte-interactive-p): Define them again, for use when inlining
16046 old code.
16047
49093f60
JB
160482011-04-15 Juanma Barranquero <lekktu@gmail.com>
16049
16050 * loadup.el: Use `string-to-number', not `string-to-int'.
16051
b5b8e7de
SM
160522011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16053
16054 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16055 gud-gdb-complete-command.
16056 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16057 (gud-gdb-completion-at-point): New function.
16058 (gud-gdb-completions): Remove.
16059
f42efeb5
MA
160602011-04-14 Michael Albinus <michael.albinus@gmx.de>
16061
49093f60
JB
16062 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16063 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16064 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16065 whether `executable-find' is bound.
f42efeb5
MA
16066
16067 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16068
e240cc21
SM
160692011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * minibuffer.el (completion-in-region-mode-predicate)
16072 (completion-in-region-mode--predicate): New vars.
16073 (completion-in-region, completion-in-region--postch)
16074 (completion-in-region-mode): Use them.
16075 (completion--capf-wrapper): Also return the hook function.
16076 (completion-at-point, completion-help-at-point):
16077 Adjust and provide a predicate.
c2bd2ab0
SM
16078
16079 Preserve arg names for advice of subr and lexical functions (bug#8457).
16080 * help-fns.el (help-function-arglist): Consolidate the subr and
16081 new-byte-code cases. Add argument `preserve-names' to extract names
16082 from the docstring when needed.
16083 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16084 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16085 (ad-arglist): Use help-function-arglist's new arg.
16086 (ad-definition-type): Use cond.
16087
c183f693
JB
160882011-04-13 Juanma Barranquero <lekktu@gmail.com>
16089
06641a47
JB
16090 * autorevert.el (auto-revert-handler):
16091 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16092 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16093 Don't quote lambda.
16094
c183f693
JB
16095 * image-mode.el (image-transform-set-scale):
16096 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16097
1e3b6001
G
160982011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16099
16100 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16101 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16102 Upgrades via gnutls-cli are too slow to be done opportunistically.
16103
2d6af8dd
JB
161042011-04-12 Juanma Barranquero <lekktu@gmail.com>
16105
16106 * dframe.el (dframe-current-frame): Remove spurious quote.
16107
c0749a51
GM
161082011-04-12 Glenn Morris <rgm@gnu.org>
16109
088d0d61
GM
16110 * calendar/cal-tex.el (cal-tex-end-document):
16111 Try to automatically use latin1 input if needed.
16112
c0749a51
GM
16113 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16114 Don't try to cons a mark onto an empty element.
16115
5c90fde0
LL
161162011-04-11 Leo Liu <sdl.web@gmail.com>
16117
16118 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16119 buffers.
16120 (ido-kill-buffer-at-head): Support killing virtual buffers.
16121
369e974d
CY
161222011-04-10 Chong Yidong <cyd@stupidchicken.com>
16123
16124 * minibuffer.el (completion-show-inline-help): New var.
16125 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16126 (minibuffer-force-complete, minibuffer-complete-word):
16127 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16128
16129 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16130 to avoid interference from inline help (Bug#5849).
16131
37f1c930
LL
161322011-04-10 Leo Liu <sdl.web@gmail.com>
16133
099c39a4
JB
16134 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16135 Fix typo.
37f1c930 16136
a32d4040
CY
161372011-04-09 Chong Yidong <cyd@stupidchicken.com>
16138
16139 * image-mode.el (image-toggle-display-image): Signal an error if
16140 not in Image mode.
16141 (image-transform-mode, image-transform-resize)
16142 (image-transform-set-rotation): Doc fix.
daca8ba5 16143 (image-transform-set-resize): Delete.
a32d4040
CY
16144 (image-transform-set-scale, image-transform-fit-to-height)
16145 (image-transform-fit-to-width): Handle image-toggle-display-image
16146 and image-transform-resize directly.
16147
099c39a4 161482011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16149
16150 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16151 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16152 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16153 (doc-view-mode-map): Add bindings for the new functions.
16154
099c39a4 161552011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16156
4d61f28d 16157 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16158 Fix typo in docstring.
16159
3726838a
EZ
161602011-04-08 Eli Zaretskii <eliz@gnu.org>
16161
04f33f1e
EZ
16162 * files.el (file-size-human-readable): Produce one digit after
16163 decimal, like "ls -lh" does.
16164
16165 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16166 the file size representation.
16167
3726838a
EZ
16168 * simple.el (list-processes): If async subprocesses are not
16169 available, error out with a clear error message.
16170
cbb59342
CY
161712011-04-08 Chong Yidong <cyd@stupidchicken.com>
16172
16173 * help.el (help-form-show): New function, to be called from C.
16174 Put help-form output in a buffer named differently than *Help*.
16175
e3971c44
EZ
161762011-04-08 Eli Zaretskii <eliz@gnu.org>
16177
16178 * files.el (file-size-human-readable): New function.
16179
16180 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16181 computing the representation inline. Don't require `cl'.
16182
12544bbe
GM
161832011-04-08 Glenn Morris <rgm@gnu.org>
16184
a1de6c6a
GM
16185 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16186
3c4671f4
GM
16187 * net/browse-url.el (browse-url-firefox):
16188 Test system-type, not system-configuration.
16189
b605679c
GM
16190 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16191 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16192 Use log-edit-empty-buffer-p. (Bug#7598)
16193
56442f0c
GM
16194 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16195 (rlogin-mode-map): Initialize in the defvar.
16196 (rlogin): Use ignore-errors.
16197
12544bbe
GM
16198 * replace.el (occur-mode-map): Some fixes for menu items.
16199
eb237b0f
AH
162002011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16201
16202 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16203
7d668f2c
CY
162042011-04-06 Chong Yidong <cyd@stupidchicken.com>
16205
e67a13ab
CY
16206 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16207 issuing unused warnings.
16208
16209 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16210 macro directly.
16211
7d668f2c
CY
16212 * simple.el: Lisp reimplement of list-processes. Based on an
16213 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16214 (process-menu-mode): New major mode.
16215 (list-processes--refresh, list-processes):
16216 (process-menu-visit-buffer): New functions.
16217
16218 * files.el (save-buffers-kill-emacs): Don't assume any return
16219 value of list-processes, which is undocumented anyway.
16220
a83ec3c9
CY
162212011-04-06 Chong Yidong <cyd@stupidchicken.com>
16222
16223 * emacs-lisp/tabulated-list.el: New file.
16224
e91a96fe
CY
16225 * emacs-lisp/package.el: Use Tabulated List mode.
16226 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16227 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16228 table format using Tabulated List mode variables.
16229 (package--push): New macro, replacing package-list-maybe-add.
16230 (package-menu--generate): Use package--push. Renamed from
16231 package--generate-package-list.
16232 (package-menu-refresh, list-packages): Use it.
daca8ba5 16233 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16234 Return insertion data instead of inserting it directly.
099c39a4
JB
16235 (package-menu-describe-package, package-menu-execute):
16236 Use tabulated-list-get-id.
e91a96fe
CY
16237 (package-menu-mark-delete, package-menu-mark-install)
16238 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16239 (package-menu-mark-obsolete-for-deletion):
16240 Use tabulated-list-put-tag.
e91a96fe
CY
16241 (package--list-packages, package-menu-revert)
16242 (package-menu-get-package, package-menu-get-version)
16243 (package-menu-sort-by-column): Functions deleted.
16244 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16245 (package-menu--status-predicate, package-menu--version-predicate)
16246 (package-menu--name-predicate)
16247 (package-menu--description-predicate): Handle arguments in the
16248 Tabulated List format.
16249 (package-list-packages-no-fetch): Call list-packages.
16250
3e214b50
JB
162512011-04-06 Juanma Barranquero <lekktu@gmail.com>
16252
16253 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16254 (after-find-file): Don't bind it.
3e214b50
JB
16255 (revert-buffer-in-progress-p): New variable.
16256 (revert-buffer): Bind it.
16257 Pass nil for `after-find-file-from-revert-buffer'.
16258
16259 * saveplace.el (save-place-find-file-hook): Use new variable
16260 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16261
3f0f1700
GM
162622011-04-06 Glenn Morris <rgm@gnu.org>
16263
c0274801
GM
16264 * Makefile.in (AUTOGEN_VCS): New variable.
16265 (autoloads): Use $AUTOGEN_VCS.
16266
3f0f1700
GM
16267 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16268 * calendar/calendar.el (calendar-mode-map):
16269 Check for toolkit scroll bars. (Bug#8305)
16270
41ea9e48
CY
162712011-04-05 Chong Yidong <cyd@stupidchicken.com>
16272
16273 * minibuffer.el (completion-in-region--postch)
16274 (completion-in-region-mode): Remove unnecessary messages.
16275
6194c800
JB
162762011-04-05 Juanma Barranquero <lekktu@gmail.com>
16277
33256f14
JB
16278 * font-lock.el (font-lock-refresh-defaults):
16279 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16280 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16281
6194c800
JB
16282 * info.el (Info-directory-list, Info-read-node-name-2)
16283 (Info-split-parameter-string): Doc fixes.
16284 (Info-virtual-nodes): Reflow docstring.
16285 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16286 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16287 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16288 Fix typos in docstrings.
16289 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16290 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16291 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16292 (Info-restore-desktop-buffer): Mark unused parameters.
16293 (Info-directory-find-file, Info-directory-find-node)
16294 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16295 (Info-virtual-index-find-node, Info-apropos-find-file)
16296 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16297 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16298 (Info-virtual-index): Remove unused local variable `nodename'.
16299
b87a8200 163002011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16301
b87a8200
DD
16302 * net/rcirc.el: Update my e-mail address.
16303 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16304
3b2ff876
CY
163052011-04-05 Chong Yidong <cyd@stupidchicken.com>
16306
16307 * startup.el (command-line): Save the cursor's theme-face
16308 directly, instead of using face-override-spec.
16309
16310 * custom.el (load-theme): Minor optimization in assigning faces.
16311
8d17e7ca
JB
163122011-04-04 Juanma Barranquero <lekktu@gmail.com>
16313
16314 * help-fns.el (describe-variable): Complete all variables having
16315 documentation, including keywords.
16316 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16317
2fbc1934
JB
163182011-04-04 Juanma Barranquero <lekktu@gmail.com>
16319
16320 Convert to lexical-binding.
16321
16322 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16323 (bs--get-marked-string, bs--get-modified-string)
16324 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16325 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16326 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16327
16328 * ehelp.el (electric-help-execute-extended)
16329 (electric-help-ctrl-x-prefix):
16330 * hexl.el (hexl-revert-buffer-function):
16331 * linum.el (linum-after-change, linum-after-scroll):
16332 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16333
16334 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16335
74f50695
DU
163362011-04-04 Daiki Ueno <ueno@unixuser.org>
16337
16338 * epa-dired.el:
16339 * epa-mail.el:
16340 * epa-hook.el:
16341 * epa-file.el:
16342 * epa.el:
16343 * epg.el: Use lexical binding.
16344
c11325f7
CY
163452011-04-03 Chong Yidong <cyd@stupidchicken.com>
16346
0d9e9a12
CY
16347 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16348
c11325f7 16349 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16350 dictionary case for flyspell-mark-duplications-exceptions.
16351 Use regexp matching for languages.
c11325f7
CY
16352 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16353 default dictionary (Bug#7926).
16354
da91b5f2
CY
163552011-04-02 Chong Yidong <cyd@stupidchicken.com>
16356
099c39a4
JB
16357 * emacs-lisp/package.el (package--with-work-buffer):
16358 Recognize https URLs.
da91b5f2 16359
099c39a4
JB
16360 * net/network-stream.el: Move from gnus/proto-stream.el.
16361 Change prefix to network-stream throughout.
da91b5f2
CY
16362 (open-protocol-stream): Merge into open-network-stream, leaving
16363 open-protocol-stream as an alias. Handle nil BUFFER args.
16364
16365 * subr.el (open-network-stream): Move to net/network-stream.el.
16366
afa8e9f6
GM
163672011-04-02 Glenn Morris <rgm@gnu.org>
16368
1d2e369d
GM
16369 * find-dired.el (find-exec-terminator): New option.
16370 (find-ls-option): Test for -ls support.
16371 (find-ls-subdir-switches): Test for -b in find-ls-option.
16372 (find-dired, find-grep-dired): Doc fixes.
16373 (find-dired): Use find-exec-terminator.
16374
8abb7da8 16375 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16376 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16377 (find-name-arg): Remove purecopy.
8abb7da8 16378
f3ca7378
GM
16379 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16380 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16381 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16382 accordingly. Don't add the null-device if not needed.
16383
afa8e9f6
GM
16384 * files.el (save-some-buffers): Doc fix.
16385
35eae264
EZ
163862011-04-02 Eli Zaretskii <eliz@gnu.org>
16387
16388 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16389
26b51db5
JB
163902011-04-01 Juanma Barranquero <lekktu@gmail.com>
16391
16392 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16393 Use `dolist' rather than `mapcar'.
16394
7200d79c
SM
163952011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16396
03408648 16397 Add lexical binding.
7200d79c 16398
03408648
SM
16399 * subr.el (apply-partially): Use new closures rather than CL.
16400 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16401 (dolist, dotimes): Use slightly different expansion for lexical code.
16402 (functionp): Move to C.
16403 (letrec): New macro.
16404 (with-wrapper-hook): Use it and apply-partially instead of CL.
16405 (eval-after-load): Preserve lexical-binding.
16406 (save-window-excursion, with-output-to-temp-buffer): Turn them
16407 into macros.
7200d79c 16408
03408648
SM
16409 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16410
16411 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16412 than the arglist.
16413 (help-add-fundoc-usage): Don't add `Not documented'.
16414 (help-function-arglist): Handle closures, subroutines, and new
16415 byte-code-functions.
16416 (help-make-usage): Remove leading underscores.
16417 (describe-function-1): Handle closures.
16418 (describe-variable): Use special-variable-p for completion.
16419
16420 * files.el (lexical-binding): Declare safe.
f488fb65 16421
03408648
SM
16422 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16423 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16424 (pcase): Add `let' pattern.
16425 Change memoization so it actually works.
16426 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16427 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16428 <let>: New case.
f488fb65 16429
03408648
SM
16430 * emacs-lisp/macroexp.el: Use lexical binding.
16431 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16432 Don't convert ' to #' without checking that it's indeed quoting
16433 a lambda.
16434
16435 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16436 Use eval-sexp-add-defvars.
03408648
SM
16437 (eval-sexp-add-defvars): New fun.
16438
16439 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16440
16441 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16442 Don't autoload.
16443 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16444 than the internal `byte-compile-lambda'.
16445 (defmethod): Don't hide code under quotes.
16446 (eieio-defmethod): New `code' argument.
16447
16448 * emacs-lisp/eieio-comp.el: Remove.
16449
16450 * emacs-lisp/edebug.el (edebug-eval-defun)
16451 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16452 (edebug-toggle): Avoid `eval'.
16453
16454 * emacs-lisp/disass.el (disassemble-internal): Handle new
16455 `closure' objects.
16456 (disassemble-1): Handle new byte codes.
16457
16458 * emacs-lisp/cl.el (pushnew): Silence warning.
16459
16460 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16461 (cl-byte-compile-throw): Remove.
16462 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16463
16464 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16465 closures.
16466
16467 * emacs-lisp/cconv.el: New file.
16468
16469 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16470 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16471 (byte-compile-initial-macro-environment):
16472 Handle declare-function here.
16473 (byte-compile--lexical-environment): New var.
16474 (byte-stack-ref, byte-stack-set, byte-discardN)
16475 (byte-discardN-preserve-tos): New lap codes.
16476 (byte-interactive-p): Don't use any more.
16477 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16478 New macros.
16479 (byte-compile-lapcode): Use them and handle new lap codes.
16480 (byte-compile-obsolete): Remove.
16481 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16482 (byte-compile-arglist-warn): Check late def of inlinable funs.
16483 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16484 since they should have been expanded by now.
16485 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16486 (byte-compile-from-buffer): Remove unused second arg.
16487 (byte-compile-preprocess): New function.
16488 (byte-compile-toplevel-file-form): New function to distinguish
16489 file-form calls from outside from file-form calls from hunk-handlers.
16490 (byte-compile-file-form): Simplify.
16491 (byte-compile-file-form-defsubst): Remove.
16492 (byte-compile-file-form-defmumble): Simplify now that
16493 byte-compile-lambda always returns a byte-code-function.
16494 (byte-compile): Preprocess.
16495 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16496 Remove, not used any more.
16497 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16498 (byte-compile-make-args-desc): New funs.
16499 (byte-compile-lambda): Handle lexical functions. Always return
16500 a byte-code-function.
16501 (byte-compile-reserved-constants): New var, to make up room for
16502 closed-over variables.
16503 (byte-compile-constants-vector): Obey it.
16504 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16505 (byte-compile-macroexpand-declare-function): New function.
16506 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16507 byte-code-functions.
16508 (byte-compile-form): Check obsolescence here.
16509 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16510 (byte-compile-variable-ref): Remove.
16511 (byte-compile-dynamic-variable-op): New fun.
16512 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16513 (byte-compile-variable-set): New funs.
16514 (byte-compile-discard): Add 2 args.
16515 (byte-compile-stack-ref, byte-compile-stack-set)
16516 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16517 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16518 macroexpand-all instead.
16519 (byte-compile-quote-form): Remove.
16520 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16521 (byte-compile-bind, byte-compile-unbind): New funs.
16522 (byte-compile-let): Handle let* and lexical binding.
16523 (byte-compile-let*): Remove.
16524 (byte-compile-catch, byte-compile-unwind-protect)
16525 (byte-compile-track-mouse, byte-compile-condition-case):
16526 Handle a new :fun-body form, used for lexical scoping.
16527 (byte-compile-save-window-excursion)
16528 (byte-compile-with-output-to-temp-buffer): Remove.
16529 (byte-compile-defun): Simplify.
16530 (byte-compile-stack-adjustment): New fun.
16531 (byte-compile-out): Use it.
16532 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16533
16534 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16535 handler any more.
16536
16537 * emacs-lisp/byte-opt.el: Use lexical binding.
16538 (byte-inline-lapcode): Remove (to bytecomp).
16539 (byte-compile-inline-expand): Pay attention to inlining to/from
16540 lexically bound code.
16541 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16542 any more.
16543 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16544 any more and don't call compiler-macros.
16545 (byte-compile-splice-in-already-compiled-code): Remove.
16546 (byte-code): Don't inline any more.
16547 (disassemble-offset): Receive `bytes' as argument rather than via
16548 dynamic scoping.
16549 (byte-compile-tag-number): Declare before first use.
16550 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16551 `return' even if make-spliceable.
16552 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16553 obsolete interactive-p.
16554 (byte-optimize-lapcode): Optimize new lap-codes.
16555 Don't trip up on new form of `byte-constant' lap code.
16556
16557 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16558
16559 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16560
16561 * custom.el (custom-initialize-default, custom-declare-variable):
16562 Use `defvar'.
16563
16564 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16565 New variables.
16566 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16567 (COMPILE_FIRST): Add macroexp and cconv.
16568 * makefile.w32-in: Mirror changes in Makefile.in.
16569
16570 * vc/cvs-status.el:
16571 * vc/diff-mode.el:
16572 * vc/log-edit.el:
16573 * vc/log-view.el:
16574 * vc/smerge-mode.el:
16575 * textmodes/bibtex-style.el:
090bd7cb 16576 * textmodes/css-mode.el:
03408648
SM
16577 * startup.el:
16578 * uniquify.el:
da91b5f2
CY
16579 * minibuffer.el:
16580 * newcomment.el:
16581 * reveal.el:
16582 * server.el:
16583 * mpc.el:
16584 * emacs-lisp/smie.el:
16585 * doc-view.el:
16586 * dired.el:
03408648
SM
16587 * abbrev.el: Use lexical binding.
16588
0f0c1f27
EZ
165892011-04-01 Eli Zaretskii <eliz@gnu.org>
16590
16591 * info.el (info-display-manual): New function.
16592
c82b2579
SM
165932011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16594
16595 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16596
221ddf68
TH
165972011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16598
16599 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16600 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16601
cba6e77e
GM
166022011-03-31 Glenn Morris <rgm@gnu.org>
16603
e040639f
GM
16604 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16605
cba6e77e
GM
16606 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16607
6d0f1c9e
CS
166082011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16609
16610 * progmodes/python.el (python-default-interpreter)
16611 (python-python-command-args, python-jython-command-args)
16612 (python-which-shell, python-which-args, python-which-bufname)
16613 (python-file-queue, python-comint-output-filter-function)
16614 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16615 variables and functions.
16616
3e2d70fd
SM
166172011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16618
16619 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16620 (completion-in-region-mode): New minor mode.
16621 (completion-in-region): Use it.
16622 (completion-in-region--data, completion-in-region-mode-map): New vars.
16623 (completion-in-region--postch): New function.
16624 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16625 New vars.
16626 (completion--capf-wrapper): New function.
16627 (completion-at-point): Use it to track well-behavedness of
16628 hook functions.
16629 (completion-help-at-point): New command.
16630
f3e4086c
JM
166312011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16632
16633 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16634 syntax class to search for whitespace on a single line
16635 (Message-ID: <4D938140.4030905@redhat.com>).
16636
eb7ffc14
LL
166372011-03-30 Leo Liu <sdl.web@gmail.com>
16638
16639 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16640 New commands.
16641 (edit-abbrevs-map): Bind them here.
16642 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16643
d806ab68
KM
166442011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16645
16646 * allout.el (allout-hide-by-annotation, allout-flag-region):
16647 Reduce possibility of overlay leakage by making them volatile.
16648
16649 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16650 hash is not shared between buffers. Mode initialization is
16651 responsible for giving it a useful starting value.
16652 (allout-item-span): Reduce possibility of overlay leakage by
16653 making them volatile.
16654 (allout-widgets-count-buttons-in-region): Add diagnostic function
16655 for tracking down button overlay leaks.
16656
ea622834
LL
166572011-03-29 Leo Liu <sdl.web@gmail.com>
16658
16659 * ido.el (ido-read-internal): Use the default history var
16660 minibuffer-history if no HISTORY is specified.
16661
b62f8267
G
166622011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16663
03408648
SM
16664 * net/imap.el (imap-shell-open, imap-process-connection-type):
16665 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16666 Kerberos, SSL, other subprocesses.
16667
947b6566
LL
166682011-03-28 Leo Liu <sdl.web@gmail.com>
16669
16670 * abbrev.el (abbrev-table-empty-p): New function.
16671 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16672 nonempty ones. (Bug#5937)
16673
5ffb62aa
JD
166742011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16675
16676 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16677
7a097943
LL
166782011-03-27 Leo Liu <sdl.web@gmail.com>
16679
16680 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16681 for foreground and background colors.
16682 (ansi-color-make-color-map): Adapt.
16683
c5b40130
LL
166842011-03-25 Leo Liu <sdl.web@gmail.com>
16685
1f48f7d2
LL
16686 * midnight.el (midnight-time-float): Remove. Note it calculates
16687 the microsecond component incorrectly and seconds-to-time does the
16688 same job.
625897ec 16689 Remove redundant (require 'timer).
1f48f7d2 16690
c5b40130
LL
16691 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16692 (ido-completions): Remove unused arguments. (Bug#8329)
16693
d86d2721
SM
166942011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16695
16696 * minibuffer.el (completion--flush-all-sorted-completions):
16697 Remove itself from hook.
16698 (completion-at-point): Let the functions perform the completion
16699 immediately and return nil or t.
16700 * comint.el (comint-dynamic-complete-functions): Now identical to
16701 completion-at-point-functions.
16702 (comint-dynamic-list-input-ring): Remove unused var `index'.
16703 (comint--match-partial-filename, comint--unquote&expand-filename):
16704 New funs, split from comint-match-partial-filename.
16705 (comint-dynamic-complete): Use completion-at-point.
16706 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16707
e8974c48
DA
167082011-03-24 Drew Adams <drew.adams@oracle.com>
16709
16710 * thingatpt.el: Support `defun'.
16711
def71b5e
LL
167122011-03-23 Leo Liu <sdl.web@gmail.com>
16713
cb5af48e
LL
16714 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16715
def71b5e
LL
16716 * help-mode.el (help-mode-finish): Tweak regexp.
16717
927c53e7
GM
167182011-03-23 Glenn Morris <rgm@gnu.org>
16719
18d05bed
GM
16720 * eshell/esh-opt.el (eshell-eval-using-options):
16721 Do not bind unused local variable `eshell-option-stub'.
16722
927c53e7
GM
16723 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16724
9d0da923
JB
167252011-03-22 Juanma Barranquero <lekktu@gmail.com>
16726
16727 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16728 keymap variable in `with-no-warnings' to avoid a warning when the
16729 keymap has been already `defconst'ed.
16730
4b978a67
LL
167312011-03-22 Leo Liu <sdl.web@gmail.com>
16732
16733 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16734 encode all chars in abbrevs; otherwise use emacs-mule or
16735 utf-8-emacs. (Bug#8308)
16736
5fd62452
JB
167372011-03-22 Juanma Barranquero <lekktu@gmail.com>
16738
0b1596c6
JB
16739 * simple.el (backward-delete-char-untabify):
16740 Avoid warning about using `delete-backward-char'.
16741
5fd62452
JB
16742 * image.el (image-type-file-name-regexps): Make it variable.
16743 `imagemagick-register-types' modifies it, and the user may want
16744 to add new extensions for known image types.
16745 (imagemagick-register-types): Throw error if not using ImageMagick.
16746
0b4e93f1
LL
167472011-03-22 Leo Liu <sdl.web@gmail.com>
16748
16749 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16750 located before rcirc-prompt-end-marker.
16751 (rcirc-complete): Error if point is not after rcirc prompt.
16752 Handle the case when table is nil.
9882e214 16753 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16754
fccee4ab
CY
167552011-03-22 Chong Yidong <cyd@stupidchicken.com>
16756
16757 * custom.el (custom--inhibit-theme-enable): Make it affect only
16758 custom-theme-set-variables and custom-theme-set-faces.
16759 (provide-theme): Ignore custom--inhibit-theme-enable.
16760 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16761 (custom-enabling-themes): Delete variable.
d86d2721
SM
16762 (enable-theme): Accept only loaded themes as arguments.
16763 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16764 (custom-enabled-themes): Forbid themes from setting this.
16765 Eliminate use of custom-enabling-themes.
16766 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16767
af896da6
LL
167682011-03-21 Leo Liu <sdl.web@gmail.com>
16769
16770 * ido.el (ido-read-internal): Add ido-selected to history instead
16771 of user input.
16772
78f64af0
SM
167732011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16774
16775 * subr.el (deferred-action-list, deferred-action-function):
16776 Mark obsolete.
16777
b16ac1ec
LL
167782011-03-21 Leo Liu <sdl.web@gmail.com>
16779
810f7698
LL
16780 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16781 change on 2011-02-13 (bug#8309).
16782
b16ac1ec
LL
16783 * minibuffer.el (read-file-name-function): Change default value.
16784 (read-file-name--defaults): Rename from read-file-name-defaults.
16785 (read-file-name-default): Rename from read-file-name.
16786 (read-file-name): Call read-file-name-function.
16787
4e05e67e
GM
167882011-03-21 Glenn Morris <rgm@gnu.org>
16789
16790 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16791 Doc fixes.
16792
4359915b
CY
167932011-03-21 Chong Yidong <cyd@stupidchicken.com>
16794
16795 * cus-theme.el: Add missing provide statement.
16796 (customize-create-theme): Extract theme value correctly.
16797 (custom-theme-visit-theme): Autoload.
16798 (customize-create-theme): Prompt before inserting default faces.
16799
1fe275ee
JB
168002011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16801
16802 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16803 units and musical notes.
16804
cd394be1 168052011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16806
16807 * ido.el (ido-read-internal): Use completing-read-default.
16808 (ido-completing-read): Fix compatibility with completing-read.
16809
7d476bde
CO
168102011-03-20 Christian Ohler <ohler@gnu.org>
16811
16812 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16813 (ert-delete-all-tests): Use `called-interactively-p' rather than
16814 `interactive-p'.
16815 (ert--make-xrefs-region): Respect END.
16816
fe0fb33e
CY
168172011-03-19 Chong Yidong <cyd@stupidchicken.com>
16818
ff854b0b
CY
16819 * dired-aux.el (dired-create-directory): Signal an error if the
16820 directory already exists (Bug#8246).
16821
fe0fb33e
CY
16822 * facemenu.el (list-colors-display): Call list-faces-display
16823 inside with-help-window.
16824 (list-colors-print): Use display property to align the final
16825 column, instead of checking window-width.
16826
576bce32
EZ
168272011-03-19 Eli Zaretskii <eliz@gnu.org>
16828
4d61f28d 16829 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16830 windows-nt systems.
16831 (emerge-protect-metachars): Quote correctly for ms-dos and
16832 windows-nt systems.
16833
89c41d68 168342011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16835
16836 * info.el (info-initialize): Replace all uses of `:' with
16837 path-separator for compatibility with non-Unix systems.
16838 Cache quoting of path-separator. (Bug#8258)
16839
b14e3e21 168402011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16841
16842 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16843 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16844 (mouse-avoidance-mode): Fix typos in docstrings.
16845
4525ce3e
CY
168462011-03-19 Chong Yidong <cyd@stupidchicken.com>
16847
16848 * startup.el (package-subdirectory-regexp): Move from package.el.
16849 Omit \\` and \\', and let callers add them.
16850
16851 * emacs-lisp/package.el (package-strip-version)
16852 (package-load-all-descriptors): Add \\` and \\' to
16853 package-subdirectory-regexp before using it.
16854 (package-untar-buffer): New arg DIR; ensure that file untars only
16855 into this expected directory. Remove superfluous delete-region.
16856 (package-unpack): Caller changed.
16857 (package-tar-file-info): Use package-subdirectory-regexp.
16858
a904a09a 168592011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16860
a904a09a
SM
16861 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16862 diff-mode-shared-map (bug#8284).
16863 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16864
168652011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16866
16867 * calendar/time-date.el (format-seconds): Use assoc instead of
16868 assoc-string, since assoc-string doesn't exist in XEmacs.
16869
171fc304
JB
168702011-03-17 Juanma Barranquero <lekktu@gmail.com>
16871
16872 * custom.el (custom-known-themes): Reflow docstring.
16873 (custom-theme-load-path): Fix typo in docstring.
16874 (load-theme): Fix typo in error message.
16875 (custom-available-themes, custom-variable-theme-value):
16876 Use `let', not `let*'.
16877
d71990a1
JB
168782011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16879
16880 * calc/README: Mention inclusion of musical notes.
16881
16882 * calc/calc-units.el (calc-lu-quant): Rename from
16883 `calc-logunits-quantity'.
16884 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16885 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16886 (calc-db): Rename from `calc-dblevel'.
16887 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16888 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16889 (calc-np): Rename from `calc-nplevel'.
16890 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16891 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16892 (calc-lu-plus): Rename from `calc-logunits-add'.
16893 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16894 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16895 (calc-lu-minus): Rename from `calc-logunits-sub'.
16896 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16897 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16898 (calc-lu-times): Rename from `calc-logunits-mul'.
16899 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16900 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16901 (calc-lu-divide): Rename from `calc-logunits-div'.
16902 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16903 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16904
16905 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16906 functions being autoloaded.
16907
16908 * calc/calc.el (calc-lu-power-reference): Rename from
16909 `calc-logunits-power-reference'.
16910 (calc-lu-field-reference): Rename from
16911 `calc-logunits-field-reference'.
16912
7a71b18d
GM
16913 * calc/calc-help.el (calc-l-prefix-help):
16914 Mention musical note functions.
d71990a1 16915
40c2934b
SM
169162011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16917
16918 * minibuffer.el (completion-all-sorted-completions):
16919 Use :completion-cycle-penalty text property if present.
16920
b0911414
KM
169212011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16922
16923 * allout.el (allout-yank-processing): Adjust for new rebulleting
16924 regime so bullet being yanked is used without prompting the user
16925 for a choice.
16926
8a05b668
JB
169272011-03-16 Juanma Barranquero <lekktu@gmail.com>
16928
16929 * startup.el (command-line): Warn the user that _emacs is deprecated.
16930
5ba5fb81
JB
169312011-03-16 Juanma Barranquero <lekktu@gmail.com>
16932
16933 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16934 (delphi-verbose, delphi-comment-face, delphi-string-face)
16935 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16936 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16937 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16938 (delphi-new-comment-line, delphi-font-lock-defaults)
16939 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16940 Fix typos in docstrings.
16941
2dab465b
KM
169422011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16943
5ba5fb81 16944 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16945 Invert the roles of character and string values for INSTEAD, so a
16946 string is used for the more common case of a defaulting prompt.
16947
0adf5618
SM
169482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16949
16950 * progmodes/ruby-mode.el (ruby-backward-sexp):
16951 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16952 * play/gamegrid.el (gamegrid-make-face):
16953 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16954 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16955 * notifications.el (notifications-notify):
16956 * net/xesam.el (xesam-search-engines):
16957 * net/quickurl.el (quickurl-list-insert):
16958 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16959
d72700e5
CY
169602011-03-15 Chong Yidong <cyd@stupidchicken.com>
16961
16962 * startup.el (command-line): Update package subdirectory regexp.
16963
49c5410a
SM
169642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16965
c6eee9aa
SM
16966 * allout.el (allout-abbreviate-flattened-numbering)
16967 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16968
49c5410a
SM
16969 * subr.el (read-char-choice): Only show the cursor after the prompt,
16970 not after the answer.
16971
047b2bb9
KR
169722011-03-15 Kevin Ryde <user42@zip.com.au>
16973
16974 * help-fns.el (variable-at-point): Skip leading quotes, if any
16975 (bug#8253).
16976
0a57d256
SM
169772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16978
16979 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16980 warning message.
16981
77c992bc
MA
169822011-03-14 Michael Albinus <michael.albinus@gmx.de>
16983
16984 * shell.el (shell): When called interactively, offer to change the
16985 shell file name on remote hosts.
16986
eebc475d
TZ
169872011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16988
16989 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16990 integration for LDAP parameters. The host, base, user or binddn,
16991 and secret tokens can be specified in a netrc file, for instance.
16992 This is optional because an `auth-source' parameter must be
16993 specified in the search attributes.
16994
9d05d1ba
JB
169952011-03-13 Juanma Barranquero <lekktu@gmail.com>
16996
16997 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16998
09d9db2c
GM
169992011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17000
17001 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17002 into declaration. Remove redundant and harmful binding.
17003
170042011-03-12 Eli Zaretskii <eliz@gnu.org>
17005
17006 * files.el (file-ownership-preserved-p): Pass `integer' as an
17007 explicit 2nd argument to `file-attributes'. If the file's owner
17008 is the Administrators group on Windows, and the current user is
17009 Administrator, consider that a match.
17010
17011 * server.el (server-ensure-safe-dir): Consider server directory
17012 safe on MS-Windows if its owner is the Administrators group while
17013 the current Emacs user is Administrator. Use `=' to compare
17014 numerical UIDs, since they could be integers or floats.
17015
219bd536
JB
170162011-03-12 Juanma Barranquero <lekktu@gmail.com>
17017
17018 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17019
f3afd36b
MA
170202011-03-12 Michael Albinus <michael.albinus@gmx.de>
17021
17022 Sync with Tramp 2.2.1.
17023
17024 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17025
17026 * net/trampver.el: Update release number.
17027
3aaaa6f1
SM
170282011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17029
94642599
SM
17030 * progmodes/compile.el (compilation--previous-directory): Fix up
17031 various nil/dead-marker mismatches (bug#8014).
17032 (compilation-directory-properties, compilation-error-properties):
17033 Don't call it at a position past the one we're about to change.
17034
3aaaa6f1
SM
17035 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17036 Disable obsolescence warnings in the file that declares it.
17037
14239447
KM
170382011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17039
099c39a4
JB
17040 * allout-widgets.el (allout-widgets-tally):
17041 Initialize allout-widgets-tally as a hash table rather than nil to
17042 prevent mode-line redisplay warnings. Also, clarify the module
17043 description and fix a comment typo.
14239447 17044
135e287c
JB
170452011-03-11 Juanma Barranquero <lekktu@gmail.com>
17046
17047 * help-fns.el (describe-variable): Don't complete keywords.
17048 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17049
ffbf300e
CY
170502011-03-10 Chong Yidong <cyd@stupidchicken.com>
17051
ba08b241
CY
17052 * emacs-lisp/package.el (package-version-join): Impose a standard
17053 string representation for pre/alpha/beta version lists.
17054 (package-unpack-single): Standardize the directory name by passing
17055 it through package-version-join.
17056 (package-strip-rcs-id): Accept any version string that does not
17057 signal an error in version-to-list.
ffbf300e 17058
f346fd6b
MA
170592011-03-10 Michael Albinus <michael.albinus@gmx.de>
17060
17061 * simple.el (delete-trailing-whitespace): Return nil for the
17062 benefit of `write-file-functions'.
17063
ccb55d27
GM
170642011-03-10 Glenn Morris <rgm@gnu.org>
17065
5ceaac0c
GM
17066 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17067
02da65ff
GM
17068 * vc/vc-git.el (vc-git-program): New option.
17069 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17070 (vc-git--call): Use it.
17071
b2f603cc
GM
17072 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17073
5772caab
GM
17074 * cus-edit.el (Custom-newline): If no button at point, look
17075 for a subgroup button at start-of-line. (Bug#2298)
17076
ccb55d27
GM
17077 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17078
ec6ecaed
JD
170792011-03-10 Julien Danjou <julien@danjou.info>
17080
17081 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17082 `cursor-type' is nil.
17083
9d5aa01d
JB
170842011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17085
17086 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17087
b6a5875b
KM
170882011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17089
7a71b18d 17090 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17091 preserves the existing header prefix, rebulleting it if necessary,
17092 rather than replacing it. This is necessary for proper operation
17093 of cooperative addons like allout-widgets.
1154d12e
JB
17094 (allout-make-topic-prefix, allout-rebullet-heading):
17095 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17096 value as alternate bullet to be used, instead of prompting the user
17097 for a bullet character.
b6a5875b 17098
ee545c35
MA
170992011-03-09 Michael Albinus <michael.albinus@gmx.de>
17100
d86d2721
SM
17101 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17102 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17103 `tramp-default-port'.
17104
c47971d7
DD
171052011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17106
17107 * net/rcirc.el (rcirc-handler-001): Remove useless
17108 with-rcirc-process-buffer.
17109 (rcirc-check-auth-status): Swap arguments to string-match.
17110
13522cb4
GM
171112011-03-09 Glenn Morris <rgm@gnu.org>
17112
0be6f4f1
GM
17113 * shell.el (shell-mode):
17114 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17115
13522cb4
GM
17116 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17117 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17118
515de2e3
CY
171192011-03-08 Chong Yidong <cyd@stupidchicken.com>
17120
17121 * emacs-lisp/package.el (package-refresh-contents)
17122 (package-menu-execute): Use condition-case-no-debug.
17123
b511b994
MA
171242011-03-08 Michael Albinus <michael.albinus@gmx.de>
17125
17126 * simple.el (shell-command-to-string): Use `process-file'.
17127
17128 * emacs-lisp/package.el (package-tar-file-info): Handle also
17129 remote files.
17130
d86d2721
SM
17131 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17132 Use `equal' for upload base check.
b511b994 17133
25bbfb31
AM
171342011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17135
17136 * textmodes/texinfo.el (texinfo-environments):
17137 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17138
be996521
GM
171392011-03-08 Glenn Morris <rgm@gnu.org>
17140
e9c8529f
GM
17141 * cus-start.el (cursor-in-non-selected-windows):
17142 Fix :set quoting oddness. (Bug#8192)
17143
be996521
GM
17144 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17145 in some setf expressions. (Bug#2159)
17146
2bb5649e
CY
171472011-03-08 Chong Yidong <cyd@stupidchicken.com>
17148
17149 * custom.el (custom-available-themes): Return themes in
17150 alphabetical order.
17151
33383987 17152See ChangeLog.15 for earlier changes.
e3d51b27
MR
17153
17154;; Local Variables:
17155;; coding: utf-8
e3d51b27
MR
17156;; End:
17157
acaf905b 17158 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17159
17160 This file is part of GNU Emacs.
17161
17162 GNU Emacs is free software: you can redistribute it and/or modify
17163 it under the terms of the GNU General Public License as published by
17164 the Free Software Foundation, either version 3 of the License, or
17165 (at your option) any later version.
17166
17167 GNU Emacs is distributed in the hope that it will be useful,
17168 but WITHOUT ANY WARRANTY; without even the implied warranty of
17169 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17170 GNU General Public License for more details.
17171
17172 You should have received a copy of the GNU General Public License
17173 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.