* lisp/term/x-win.el (x-menu-bar-open): Use `frame-parameter'
[bpt/emacs.git] / lisp / ChangeLog
1 2012-07-20 Masatake YAMATO <yamato@redhat.com>
2
3 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4 to check whether menu-bar is shown or not. If not shown,
5 show the menu-bar as a popup menu instead of using tmm.
6 * mouse.el (popup-menu): Accept `point' as `position' argument.
7
8 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9
10 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11 up inside string symbol literal (bug#11923).
12
13 2012-07-20 Eli Zaretskii <eliz@gnu.org>
14
15 * startup.el (fancy-startup-text): Read the whole tutorial, not
16 just its first 256 bytes. Prevents gibberish in display of the
17 tutorial title.
18
19 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
20
21 Drop idle buffer compaction due to an absence of the
22 proved efficiency.
23 * compact.el: Remove.
24
25 2012-07-19 Sam Steingold <sds@gnu.org>
26
27 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
28 vc-bzr-pull & vc-bzr-merge-branch.
29 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
30 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
31 for consistency with compilation-error-regexp-alist.
32 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
33 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
34 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
35 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
36
37 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * emacs-lisp/chart.el: Use lexical-binding.
40 (chart-emacs-storage): Don't hardcode the list of entries.
41
42 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
43
44 Next round of tweaks caused by Fgarbage_collect changes.
45 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
46
47 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
48
49 Compact buffers when idle.
50 * compact.el: New file.
51
52 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * subr.el (eventp): Presume that if it looks vaguely like an event,
55 it's an event (bug#10190).
56
57 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
58
59 Enhancements to ppss related code (thanks Stefan).
60 * progmodes/python.el (python-indent-context)
61 (python-indent-calculate-indentation, python-indent-dedent-line)
62 (python-indent-electric-colon, python-nav-forward-block)
63 (python-mode-abbrev-table)
64 (python-info-assignment-continuation-line-p): Simplify checks
65 for ppss context.
66 (python-info-continuation-line-p): Cleanup.
67 (python-info-ppss-context): Do not catch 'quote.
68 (python-info-ppss-context-type)
69 (python-info-ppss-comment-or-string-p): Simplify.
70
71 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
72
73 * progmodes/python.el: Enhancements to eldoc support.
74 (python-info-current-symbol): New function.
75 (python-eldoc-at-point): Use python-info-current-symbol.
76 (python-info-current-defun): Fix cornercase on first defun scan.
77 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
78 and signal error when no inferior python process is available.
79
80 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
81
82 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
83 assume it's always t.
84 (vc-git-registered): Remove caching, the function is only called
85 once.
86 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
87
88 2012-07-18 Chong Yidong <cyd@gnu.org>
89
90 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
91
92 * simple.el (count-words): Report on narrowing (Bug#9959).
93
94 * bindings.el: Bind M-= to count-words.
95
96 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
97
98 2012-07-18 Masatake YAMATO <yamato@redhat.com>
99
100 * progmodes/sh-script.el (sh-imenu-generic-expression):
101 Capture a function with `function' keyword and without parentheses
102 like "function FOO" (bug#11856).
103
104 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
105
106 * window.el (split-window-sensibly): Make WINDOW argument
107 optional.
108
109 2012-07-18 Chong Yidong <cyd@gnu.org>
110
111 * subr.el (keyboard-translate): Doc fix (Bug#7261).
112
113 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
114 and make C-x 8 RET exit isearch (Bug#11439).
115
116 * international/iso-transl.el: Move isearch-mode-map key
117 definitions to isearch.el.
118
119 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
120
121 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
122 (eieio-defclass): Use gv-define-setter when possible.
123
124 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
125
126 Reflect recent changes in Fgarbage_collect.
127 * emacs-lisp/chart.el (chart-emacs-storage): Change to
128 reflect new format of data returned by Fgarbage_collect.
129
130 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
131
132 New utility functions + python-info-ppss-context fix (Bug#11910).
133 * progmodes/python.el (python-info-beginning-of-block-statement-p)
134 (python-info-ppss-comment-or-string-p): New functions.
135 (python-info-ppss-context): Small fix for string check.
136
137 2012-07-17 Juri Linkov <juri@jurta.org>
138
139 * dired-aux.el (dired-do-async-shell-command): Doc fix.
140 (dired-do-async-shell-command): Don't add `*' at the end of the
141 command (Bug#11815).
142 (dired-do-shell-command): Doc fix.
143 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
144 Join the individual commands using either "&" or ";" as the
145 separator depending on the values of these trailing characters.
146 At the end re-add the trailing "&". (Bug#10598)
147
148 * simple.el (async-shell-command): Sync the interactive spec with
149 `shell-command'. Doc fix.
150 (shell-command): Doc fix.
151
152 2012-07-17 Juri Linkov <juri@jurta.org>
153
154 * descr-text.el (describe-char): Fix format args. (Bug#10129)
155
156 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
157
158 Final renames and doc fixes for movement commands (bug#11899).
159 * progmodes/python.el (python-nav-beginning-of-statement):
160 Rename from python-nav-statement-start.
161 (python-nav-end-of-statement): Rename from
162 python-nav-statement-end.
163 (python-nav-beginning-of-block): Rename from
164 python-nav-block-start.
165 (python-nav-end-of-block): Rename from python-nav-block-end.
166
167 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
168
169 * progmodes/python.el (python-shell-send-string-no-output):
170 Allow accept-process-output to quit, keeping shell process ready for
171 future interactions (Bug#11868).
172
173 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
176
177 * emacs-lisp/elint.el (elint-find-args-in-code):
178 Use help-function-arglist, so as to handle lexical byte-code.
179
180 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
181 change (bug#11826).
182
183 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
186 Avoid spuriously marking the buffer as modified because of c-is-sws.
187
188 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
189 as not-a-comment (bug#11946).
190
191 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
192 for uninterned vars.
193
194 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
195 Use read-event since we don't really want to read chars but bytes.
196
197 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
198 $$..$$ but also $..$ using regexps (bug#11953).
199 Use tex-verbatim for \url and \path.
200 (tex-font-lock-keywords): Define as defconst like the others.
201 (tex-common-initialization): Don't use font-lock-syntax-table any more.
202
203 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
204
205 * international/mule-cmds.el (ucs-insert): Make it an obsolete
206 alias for insert-char.
207
208 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
209
210 * progmodes/python.el: Simplified imenu implementation.
211 (python-nav-jump-to-defun): Remove command.
212 (python-mode-map): Use `imenu' instead.
213 (python-nav-list-defun-positions-cache)
214 (python-imenu-include-defun-type, python-imenu-make-tree)
215 (python-imenu-subtree-root-label, python-imenu-index-alist):
216 Remove vars.
217 (python-nav-list-defun-positions, python-nav-read-defun)
218 (python-imenu-tree-assoc, python-imenu-make-element-tree)
219 (python-imenu-make-tree, python-imenu-create-index):
220 Remove functions.
221 (python-mode): Update to interact with imenu by setting
222 `imenu-extract-index-name-function' only.
223
224 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
225
226 * progmodes/python.el: Enhancements to navigation commands.
227 (python-nav-backward-sentence)
228 (python-nav-forward-sentence): Remove.
229 (python-nav-backward-statement, python-nav-forward-statement)
230 (python-nav-statement-start, python-nav-statement-end)
231 (python-nav-backward-block, python-nav-forward-block)
232 (python-nav-block-start, python-nav-block-end)
233 (python-nav-forward-sexp-function)
234 (python-info-current-line-comment-p)
235 (python-info-current-line-empty-p): New functions.
236 (python-indent-context): Use `python-nav-statement-start'.
237
238 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
239
240 * eshell/em-ls.el (eshell/ls): Use `apply'.
241
242 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
243 multi-hops, instead of Tramp internals.
244
245 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
246
247 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
248 when F1 and F2 are located on different hosts.
249
250 2012-07-14 Chong Yidong <cyd@gnu.org>
251
252 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
253 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
254 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
255 (xterm-mouse--read-event-sequence-1000)
256 (xterm-mouse--read-event-sequence-1006): New functions. For old
257 mouse protocol, handle M-mouse-X events correctly.
258 (xterm-mouse-event): New arg specifying mouse protocol.
259 (turn-on-xterm-mouse-tracking-on-terminal)
260 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
261 sequence to toggle extended coordinates on newer XTerms.
262 This appears to be harmless on terminals which do not support this.
263
264 2012-07-14 Leo Liu <sdl.web@gmail.com>
265
266 Add fringe bitmap indicators for flymake. (Bug#11253)
267 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
268 (flymake-make-overlay): New arg BITMAP.
269 (flymake-error-bitmap, flymake-warning-bitmap)
270 (flymake-fringe-indicator-position): New user variables.
271
272 * fringe.el: New bitmap exclamation-mark.
273
274 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
275
276 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
277 also (Bug#7879).
278
279 2012-07-14 Chong Yidong <cyd@gnu.org>
280
281 * electric.el (electric-pair-post-self-insert-function): Fix pair
282 insertion in empty-region case (Bug#11520).
283
284 2012-07-14 Chong Yidong <cyd@gnu.org>
285
286 * bindings.el: Consolidate ctl-x-r-map bindings.
287 Bind copy-rectangle-as-kill to C-x r w.
288
289 * rect.el, register.el: Move bindings to bindings.el.
290
291 2012-07-14 Reuben Thomas <rrt@sc3d.org>
292
293 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
294
295 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
296
297 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
298
299 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
300
301 * bindings.el (top): Use `mapc' instead of `mapcar'.
302
303 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
304
305 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
306
307 * progmodes/sql.el (sql-comint): Suppress the check for program on
308 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
309 (Bug#11908)
310
311 2012-07-13 Chong Yidong <cyd@gnu.org>
312
313 * bindings.el: Assign a non-nil permanent-local property to
314 per-buffer variables which lack a default value (Bug#11930).
315
316 * help-fns.el (describe-variable): In the "automatically becomes
317 local" notice, take note of permanent-local variables.
318
319 2012-07-13 Chong Yidong <cyd@gnu.org>
320
321 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
322 to allow printing the message when called from Lisp.
323
324 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
325 Remove toggle-read-only.
326
327 * bs.el (bs-toggle-readonly):
328 * buff-menu.el (Buffer-menu-toggle-read-only):
329 Remove with-no-warnings around toggle-read-only.
330
331 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
332 Remove with-no-warnings around toggle-read-only.
333 (ffap-read-only, ffap-read-only-other-window)
334 (ffap-read-only-other-frame): Callers changed.
335
336 * help-mode.el: Don't require view package.
337 (help-mode-finish): Set buffer-read-only instead of calling
338 toggle-read-only.
339
340 * bindings.el (mode-line-toggle-read-only):
341 * dired.el (dired-toggle-read-only):
342 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
343 with non-nil second arg.
344
345 * emacs-lisp/eieio-custom.el (eieio-customize-object):
346 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
347 directly.
348
349 2012-07-12 Eli Zaretskii <eliz@gnu.org>
350
351 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
352 not incf.
353
354 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 More CL cleanups and reduction of use of cl.el.
357 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
358 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
359 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
360 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
361 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
362 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
363 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
364 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
365 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
366 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
367 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
368 * eshell/em-cmpl.el, eshell/em-banner.el:
369 * calendar/parse-time.el: Use cl-lib.
370 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
371 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
372 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
373 * term/ns-win.el, term.el, shell.el, ps-samp.el:
374 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
375 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
376 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
377 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
378 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
379 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
380 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
381 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
382 `lambda' rather than with `quote'.
383 (eshell-do-opt): Adjust accordingly.
384 (eshell-process-option): Simplify.
385 * eshell/esh-var.el:
386 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
387 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
388 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
389 to `pcase--dontcare'.
390 * emacs-lisp/cl.el (labels): Mark obsolete.
391 (cl--letf, letf): Move to cl-lib.
392 (cl--letf*, letf*): Remove.
393 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
394 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
395 (cl-progv): Rewrite.
396 (cl--letf, cl-letf): Move from cl.el.
397 (cl-letf*): New macro.
398 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
399
400 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
401
402 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
403
404 2012-07-11 Chong Yidong <cyd@gnu.org>
405
406 * vc/log-edit.el (log-edit-vc-backend): New variable.
407 (log-edit): Doc fix.
408
409 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
410 argument of log-edit to set up all local variables.
411 (vc-start-logentry): New optional arg specifying VC backend.
412
413 * vc/vc.el (vc-checkin): Use it.
414 (vc-deduce-fileset): Handle Log Edit buffers.
415 (vc-diff): Make first argument optional too.
416
417 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
418
419 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
420
421 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
422 command, just in case. The function is not needed anymore.
423 (eshell-external-command): Do not call `eshell-remote-command'.
424
425 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 Reduce use of (require 'cl).
428 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
429 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
430 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
431 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
432 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
433 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
434 * battery.el, avoid.el, abbrev.el: Use cl-lib.
435 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
436 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
437 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
438 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
439 * calculator.el, autorevert.el, apropos.el: Don't require CL.
440 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
441 (byte-compile-unfold-bcf, byte-compile-check-variable):
442 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
443 (byte-compile-nilconstp):
444 * emacs-lisp/autoload.el (make-autoload): Use pcase.
445 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
446
447 * emacs-lisp/gv.el (cond): Make it a valid place.
448 (if): Simplify slightly.
449
450 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
451 (pcase--self-quoting-p): New function.
452 (pcase--u1): Use it.
453
454 2012-07-10 Glenn Morris <rgm@gnu.org>
455
456 * emacs-lisp/authors.el (authors-fixed-entries):
457 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
458
459 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
460
461 Rename configure.in to configure.ac (Bug#11603).
462 * emacs-lisp/authors.el (authors-canonical-file-name):
463 * progmodes/autoconf.el (autoconf-mode):
464 Prefer configure.ac to configure.in.
465
466 2012-07-08 Chong Yidong <cyd@gnu.org>
467
468 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
469 Implement the mouse-1-click-follows-link handling properly.
470
471 * info.el (Info-link-keymap): Use follow-link mechanism for
472 header-line links (Bug#374).
473
474 * simple.el (deactivate-mark): Do not set the primary selection
475 if another program has acquired it (Bug#11772).
476
477 2012-07-07 Kevin Ryde <user42@zip.com.au>
478
479 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
480 (woman-decode-region): Replace escaped-escapes without destroying
481 bold or underline (Bug#11552).
482 (woman2-process-escapes): Handle nofill regions (Bug#11591).
483
484 2012-07-07 Chong Yidong <cyd@gnu.org>
485
486 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
487 (interprogram-cut-function, interprogram-paste-function):
488 Mention that we typically mean the clipboard.
489
490 2012-07-06 Glenn Morris <rgm@gnu.org>
491
492 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
493
494 * files.el (toggle-read-only): Restrict message to interactive use.
495
496 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
497
498 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
499
500 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
501
502 2012-07-06 Glenn Morris <rgm@gnu.org>
503
504 * Makefile.in (compile-one-process): Rename from "recompile".
505
506 * Makefile.in (bzr-update): "compile" is the same as "recompile
507 autoloads", but parallelizable, so use that instead.
508
509 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
510
511 * window.el (quit-window): Always restore window height when
512 it's saved in quit-restore parameter.
513
514 2012-07-06 Glenn Morris <rgm@gnu.org>
515
516 * simple.el (kill-whole-line): Doc tweak.
517
518 2012-07-06 Eli Zaretskii <eliz@gnu.org>
519
520 * files.el (file-relative-name): Compare file names
521 case-insensitively if on MS-Windows or MS-DOS, or if
522 read-file-name-completion-ignore-case is non-nil. Don't use
523 case-fold-search for this purpose. (Bug#11827)
524
525 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
526
527 * calendar/cal-dst.el (calendar-current-time-zone):
528 Return calendar-current-time-zone-cache if non-nil.
529
530 2012-07-17 Masatake YAMATO <yamato@redhat.com>
531 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
532
533 * calendar/cal-dst.el (calendar-current-time-zone):
534 Return calendar-current-time-zone-cache if non-nil.
535
536 2012-07-06 Glenn Morris <rgm@gnu.org>
537
538 * Makefile.in (cvs-update): Remove old alias.
539
540 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
541
542 Sync with Tramp 2.2.6-pre.
543
544 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
545 compatible declaration.
546
547 * net/tramp-cmds.el (tramp-append-tramp-buffers):
548 Protect `list-load-path-shadows' call.
549
550 * net/tramp-compat.el (top): Require packages, which aren't
551 autoloaded anymore for XEmacs. Protect call of
552 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
553 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
554 it hurts at least for SXEmacs.
555 (tramp-compat-temporary-file-directory): In XEmacs, there is no
556 standard-value for `temporary-file-directory'.
557
558 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
559 Redirect stderr to /dev/null.
560 (tramp-sh-handle-write-region): uid and gid can be floats.
561 Reported by Russell Sim <russell.sim@gmail.com>.
562 (tramp-sh-handle-vc-registered): Hide errors.
563 (tramp-vc-file-name-handler): Use dummy results for `process-file'
564 and `start-file-process'.
565 (tramp-maybe-open-connection): Check also whether `non-essential'
566 is bound.
567
568 2012-07-04 Chong Yidong <cyd@gnu.org>
569
570 * xml.el (xml--parse-buffer): Use xml-syntax-table.
571 (xml-parse-tag): Likewise, and avoid changing entity tables.
572 (xml-syntax-table): Define from scratch, making sure not to give
573 x2000 and other Unicode spaces whitespace syntax, since those are
574 not spaces in XML.
575 (xml-parse-fragment): Delete unused function.
576 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
577 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
578 (xml-entity-ref, xml-pe-reference-re)
579 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
580 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
581 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
582 (xml-entity-value-re): Use syntax references in regexps where
583 possible; no need to define inside a let-binding.
584 (xml-parse-dtd): Use xml-pe-reference-re.
585 (xml-entity-or-char-ref-re): New defconst.
586 (xml-parse-string, xml-substitute-special): Use it.
587
588 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * files.el (locate-dominating-file): Allow `name' to be a predicate.
591 (find-file--read-only): New function.
592 (find-file-read-only, find-file-read-only-other-window)
593 (find-file-read-only-other-frame): Use it.
594 (insert-file-contents-literally): Don't `fset'.
595 (get-free-disk-space): Use locate-dominating-file.
596
597 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
598 function is already compiled.
599
600 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
601
602 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
603
604 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
605 files on the same host.
606
607 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
608
609 * help-fns.el (describe-function-1): Only call
610 help-fns--autoloaded-p when we have a file name. (Bug#11848)
611
612 2012-07-03 Chong Yidong <cyd@gnu.org>
613
614 * xml.el: Protect parser against XML bombs.
615 (xml-entity-expansion-limit): New variable.
616 (xml-parse-string, xml-substitute-special): Use it.
617 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
618
619 2012-07-03 Glenn Morris <rgm@gnu.org>
620
621 * progmodes/bug-reference.el (bug-reference-bug-regexp):
622 Allow linking to specific messages in debbugs reports (eg 123#5).
623
624 2012-07-02 Chong Yidong <cyd@gnu.org>
625
626 * xml.el: Fix entity and character reference expansion, allowing
627 them to expand into markup as per XML spec.
628 (xml-default-ns): New variable.
629 (xml-entity-alist): Use XML spec definitions for lt and amp.
630 (xml-parse-region): Make first two arguments optional.
631 Discard text properties.
632 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
633 All callers changed.
634 (xml-parse-tag): Call xml-parse-tag-1. For backward
635 compatibility, this function should not modify buffer contents.
636 (xml-parse-tag-1): Fix opening-tag regexp.
637 (xml-parse-string): Rewrite, handling entity and character
638 references properly.
639 (xml--entity-replacement-text): Signal an error if a parameter
640 entity is undefined.
641
642 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
643
644 * comint.el (comint-output-filter): Filter out repeated prompts.
645
646 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
647 and file-name-absolute-p.
648 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
649 internal calls.
650
651 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
652
653 Spelling fixes.
654 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
655 Rename from byte-compile--refiy-function. All uses changed.
656
657 2012-07-01 Chong Yidong <cyd@gnu.org>
658
659 * xml.el (xml--parse-buffer): New function. Move most of
660 xml-parse-region here.
661 (xml-parse-region): Copy region into a temporary buffer, since
662 parameter entity substitution requires changing buffer contents.
663 Use xml--parse-buffer.
664 (xml-parse-file): Use xml--parse-buffer.
665 (xml-parse-dtd): Make parameter entity substitution work right.
666 Use proper regexps for ELEMENT declarations (Bug#7172).
667
668 2012-06-30 Glenn Morris <rgm@gnu.org>
669
670 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
671
672 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
673 Remove outdated and unnecessary dbus declarations.
674
675 2012-06-30 Eli Zaretskii <eliz@gnu.org>
676
677 * emacs-lisp/timer.el (timer-until): Subtract results of
678 float-time, instead of taking float-time of the result of
679 time-subtract, since float-time signals an error for negative time
680 arguments.
681
682 2012-06-30 Chong Yidong <cyd@gnu.org>
683
684 * xml.el (xml-*-re): Convert defvars into defconsts, and
685 eval-and-compile them so eval-and-compile works on derivatives.
686 (xml--entity-replacement-text): Use eval-and-comple.
687
688 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
689
690 * vc/vc-git.el (vc-git-registered): Use cache property
691 `git-registered'.
692 (vc-git-mode-line-string): Call `vc-working-revision' instead of
693 `vc-git-working-revision' in order to benefit from the cache.
694 (vc-git-root): Use cache property `git-root'. (Bug#11757)
695
696 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
697
698 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
699 removed (likely outside Emacs). (Bug#11757)
700
701 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * emacs-lisp/cl-lib.el: Require macroexp.
704
705 2012-06-30 Chong Yidong <cyd@gnu.org>
706
707 * xml.el: Implement XML parameter entities.
708 (xml-parameter-entity-alist): New variable.
709 (xml-parse-region, xml-parse-fragment): Preserve previous values
710 of xml-entity-alist and xml-parameter-entity-alist, so that
711 repeated calls on different documents do not change them.
712 (xml-parse-tag): Fix doctype regexp.
713 (xml--entity-replacement-text): New function.
714 (xml-parse-dtd): Use it. Don't handle system entities; doing that
715 properly requires url retrieval which is unimplemented.
716 (xml-escape-string): Doc fix.
717
718 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
721
722 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
723
724 * fringe.el (fringe-mode): Doc fix.
725
726 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
727
728 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
729 is non-nil.
730 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
731 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
732
733 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
734
735 * calendar/cal-dst.el (calendar-current-time-zone):
736 Return calendar-current-time-zone-cache if non-nil.
737
738 2012-06-29 Masatake YAMATO <yamato@redhat.com>
739
740 * progmodes/which-func.el (which-func-format):
741 Add mouse-face. (Bug#11698)
742
743 2012-06-29 Leo Liu <sdl.web@gmail.com>
744
745 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
746
747 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * minibuffer.el (minibuffer-confirm-exit-commands):
750 Add completion-at-point (bug#11725).
751
752 2012-06-29 Glenn Morris <rgm@gnu.org>
753
754 * progmodes/f90.el (f90-font-lock-keywords-2):
755 Add some preprocessor elements. (Bug#10499)
756
757 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
758
759 * progmodes/cperl-mode.el (cperl-update-syntaxification):
760 Use syntax-propertize (bug#11739).
761
762 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
763
764 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
765
766 2012-06-28 Julien Danjou <julien@danjou.info>
767
768 * term.el (term-handle-colors-array): Use a set of new faces to
769 color the terminal. Also uses :inverse-video property.
770 (term-default-fg-color): Set to nil by default, deprecate in favor
771 of `term-face'.
772 (term-default-bg-color): Set to nil by default, deprecate in favor
773 of `term-face'.
774 (term-current-face): Use `term-face' by default.
775 (term-bold-attribute): Variable deleted.
776
777 2012-06-28 Glenn Morris <rgm@gnu.org>
778
779 * simple.el (completion-list-mode-finish):
780 Don't use toggle-read-only. (Since completion-list-mode has
781 a special mode-class, it wasn't doing anything extra anyway.)
782
783 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 Make inlining of other-mode interpreted functions work (bug#11799).
786 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
787 (byte-compile): Use it to fix compilation of lexical-binding closures.
788 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
789 function, if needed.
790
791 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * help-mode.el (help-make-xrefs): Don't just withstand
794 cyclic-variable-indirection but any error in documentation-property.
795
796 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
797 memory use.
798 * bindings.el (bindings--define-key): New function.
799 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
800 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
801 * bindings.el: Use it to purecopy define-key bindings.
802
803 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
804
805 * emacs-lisp/cl.el (flet): Mark obsolete.
806 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
807 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
808 * progmodes/js.el (js-c-fill-paragraph):
809 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
810 (ebrowse-switch-member-buffer-to-derived-class):
811 * play/5x5.el (5x5-solver): Use cl-flet.
812
813 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
814 (cl--symbol-function): New macro.
815 (cl--letf, cl--letf*): Use it.
816
817 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
818 Strip "toggle-" if any.
819
820 2012-06-27 Glenn Morris <rgm@gnu.org>
821
822 * info.el (Info-default-directory-list): Move here from paths.el.
823 * paths.el: Remove file, which is now empty.
824 * loadup.el: No longer load "paths".
825
826 * custom.el (custom-initialize-delay): Doc fix.
827
828 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
829 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
830 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
831 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
832 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
833 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
834 * eshell/eshell.el (eshell-defgroup): Remove alias.
835
836 2012-06-27 Chong Yidong <cyd@gnu.org>
837
838 * help.el (help-enable-auto-load): New variable.
839
840 * help-fns.el (help-fns--autoloaded-p): New function.
841 (describe-function-1): Refer to a function as "autoloaded" if it
842 was autoloaded at any time in the past. Perform autoloading if
843 help-enable-auto-load is non-nil.
844
845 2012-06-26 Eli Zaretskii <eliz@gnu.org>
846
847 * makefile.w32-in (compile, compile-always): Depend on
848 update-subdirs, not on subdirs.el. Otherwise, several different
849 sub-targets of 'bootstrap' running in parallel could
850 simultaneously write to subdirs.el, producing a garbled file.
851
852 2012-06-26 Sam Steingold <sds@gnu.org>
853
854 * files.el (file-name-base): New convenience function.
855 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
856 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
857 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
858 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
859 * textmodes/ispell.el, textmodes/reftex-ref.el:
860 * textmodes/tex-mode.el: Use it.
861 Did not touch cedet and org because they are maintained elsewhere.
862
863 2012-06-26 Martin Rudalics <rudalics@gmx.at>
864
865 * calendar/calendar.el (calendar-exit): Don't try to delete or
866 iconify last frame. See:
867 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
868
869 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
870
871 * server.el (server-process-filter): Remember dir in the
872 process's `server-client-directory' properties.
873
874 2012-06-24 Chong Yidong <cyd@gnu.org>
875
876 * xml.el (xml-parse-tag): Correctly handle comment embedded in
877 non-tag text.
878
879 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
880
881 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
882
883 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * help-fns.el (describe-variable): Don't croak when doc is not found.
886 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
887 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
888 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
889 * emacs-lisp/smie.el (smie-next-sexp): CSE.
890 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
891 ((lambda ..) ..).
892 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
893
894 2012-06-23 Chong Yidong <cyd@gnu.org>
895
896 * info.el (Info-mouse-follow-link): Accept symbol values of
897 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
898 (Info-fontify-node): Use Info-link-keymap for all navigation
899 buttons, with link-args property to perform the desired action.
900 (Info-link-keymap): Doc fix.
901 (Info-next-link-keymap, Info-prev-link-keymap)
902 (Info-up-link-keymap): Delete now-unused keymaps.
903
904 2012-06-23 Chong Yidong <cyd@gnu.org>
905
906 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
907
908 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
909 system abbrevs.
910
911 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
912
913 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
916 (bug#11719).
917
918 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
919 the requote function doesn't work properly (bug#11714).
920
921 2012-06-23 Glenn Morris <rgm@gnu.org>
922
923 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
924
925 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 Further GV/CL cleanups.
928 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
929 gv-expander.
930 (gv--defun-declaration): New function.
931 (defun-declarations-alist): Use it.
932 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
933 (gv-place): Autoload.
934 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
935 original definition of dotimes and dolist.
936 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
937 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
938 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
939 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
940 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
941 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
942 to the function's definition.
943 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
944 * window.el:
945 * files.el:
946 * faces.el:
947 * env.el: Don't use CL.
948
949 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
950
951 Support higher-resolution time stamps (Bug#9000).
952
953 * calendar/time-date.el (with-decoded-time-value): New arg
954 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
955 (encode-time-value): New optional arg PICO. New type 3.
956 (time-to-seconds) [!float-time]: Support the new picoseconds
957 component if it's used.
958 (seconds-to-time, time-subtract, time-add):
959 Support ps-resolution time stamps as well.
960
961 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
962 (timerp): Timer vectors now have length 9, not 8.
963 (timer--time): Support new-style (4-part) time stamps.
964 (timer-next-integral-multiple-of-time): Time stamps now have
965 picosecond resolution, so take a bit more care about rounding.
966 (timer-relative-time, timer-inc-time): New optional arg psecs.
967 (timer-set-time-with-usecs): Set psecs to 0.
968 (timer--activate): Check psecs component, too.
969
970 * proced.el (proced-time-lessp): Support ps-resolution stamps.
971
972 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
975 Move the non-essential binding to the post/pre-command-hook where it is
976 more obviously correct.
977
978 * subr.el (read-passwd): Don't use a history at all.
979 * savehist.el (savehist-save): Remove password saved accidentally
980 because of the above bug.
981
982 2012-06-22 Bastien Guerry <bzg@gnu.org>
983
984 * files.el (toggle-read-only): Display a message telling whether
985 the buffer is read-only or not (bug#11726).
986
987 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * emacs-lisp/gv.el: New file.
990 * subr.el (push, pop): Extend to generalized variables.
991 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
992 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
993 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
994 gv-define-simple-setter, and gv-define-expander.
995 Remove setf-methods defined in gv. Rename cl-setf -> setf.
996 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
997 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
998 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
999 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1000 gv-letplace.
1001 (cl-defstruct): Don't define setf-method any more.
1002 * emacs-lisp/cl.el (flet): Don't autoload.
1003 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1004 (define-setf-expander, defsetf, define-modify-macro)
1005 (cl-struct-setf-expander): Move from cl-lib.el.
1006 * emacs-lisp/syntax.el:
1007 * emacs-lisp/ewoc.el:
1008 * emacs-lisp/smie.el:
1009 * emacs-lisp/cconv.el:
1010 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1011 (timer--time): Use gv-define-simple-setter.
1012 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1013 to avoid coding-system problems in subr.el. Adjust all users.
1014 (macroexp--maxsize, macroexp-small-p): New functions.
1015 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1016 * scroll-bar.el (scroll-bar-mode):
1017 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1018 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1019 * winner.el (winner-configuration, winner-make-point-alist)
1020 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1021 * files.el (locate-file-completion-table): Avoid list*.
1022
1023 2012-06-22 Chong Yidong <cyd@gnu.org>
1024
1025 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1026 (dired-create-files): Doc fix (Bug#11329).
1027 (dired-do-copy): Doc fix (Bug#11334).
1028 (dired-mark-read-string): Doc fix (Bug#11553).
1029
1030 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1031 Doc fix (Bug#11326).
1032 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1033 (dired-dwim-target): Doc fix.
1034
1035 * wdired.el (wdired-mode): Doc fix.
1036
1037 2012-06-22 Glenn Morris <rgm@gnu.org>
1038
1039 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1040 (pcmpl-rpm-cache-stamp-file): New constant.
1041 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1042 (pcmpl-rpm-packages): Optionally cache list of packages.
1043
1044 * pcmpl-rpm.el (pcmpl-rpm): New group.
1045 (pcmpl-rpm-query-options): New option.
1046 (pcmpl-rpm-packages): No need to inline it.
1047 Use pcmpl-rpm-query-options.
1048
1049 * calendar/calendar.el (calendar-in-read-only-buffer):
1050 Avoid some needless mode changes.
1051
1052 2012-06-21 Chong Yidong <cyd@gnu.org>
1053
1054 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1055 (desktop-path): Remove . from the default value (Bug#10977).
1056 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1057
1058 2012-06-20 Chong Yidong <cyd@gnu.org>
1059
1060 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1061
1062 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1063
1064 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1065 (bug#11201).
1066
1067 2012-06-20 Chong Yidong <cyd@gnu.org>
1068
1069 * term.el (term-window-width): Handle the case of a missing right
1070 fringe (Bug#8837).
1071 (term-check-size): Use window-text-height (Bug#5445).
1072 (term-mode): Use define-derived-mode. Minor cleanups.
1073 Set font-lock-defaults (Bug#7692).
1074 (term-move-columns, term-insert-char, term-emulate-terminal)
1075 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1076
1077 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1078
1079 * net/ange-ftp.el (ange-ftp-get-passwd):
1080 Bind `enable-recursive-minibuffers'.
1081 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1082
1083 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1084
1085 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1086
1087 2012-06-19 Glenn Morris <rgm@gnu.org>
1088
1089 * progmodes/python.el (python-mode): Derive from prog-mode.
1090
1091 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1092
1093 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1094 (edt-user-menu-bar-update-buffers): New functions.
1095 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1096
1097 2012-06-19 Chong Yidong <cyd@gnu.org>
1098
1099 * subr.el (with-selected-window): Preserve the selected window's
1100 terminal's top-frame (Bug#4702).
1101
1102 * window.el (save-selected-window): Likewise.
1103
1104 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * progmodes/python.el (python-rx-constituents): Move backquote.
1107 (python-skeleton-define, python-define-auxiliary-skeleton):
1108 Use `declare'.
1109
1110 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1111
1112 * minibuffer.el (read-file-name-default): Revert the patch from
1113 2012-06-17.
1114
1115 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1118 (pcase--u1, pcase--q1): Don't use apply-partially.
1119
1120 2012-06-18 Glenn Morris <rgm@gnu.org>
1121
1122 * progmodes/python.el (python-proc, python-buffer)
1123 (python-send-receive, python-send-string): Fix obsolete versions.
1124
1125 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1126
1127 * window.el (special-display-p): Completely remove stringp
1128 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1129
1130 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1131
1132 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1133
1134 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1135
1136 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1137 * net/tramp-sh.el (tramp-maybe-open-connection):
1138 Throw if `non-essential' is non-nil.
1139
1140 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1141
1142 * window.el (special-display-p): Signal an error if BUFFER-NAME
1143 is not a string (Bug#11713).
1144
1145 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1146
1147 * progmodes/python.el (python-info-beginning-of-backslash):
1148 Rename from python-info-beginning-of-backlash, as a spelling fix.
1149
1150 2012-06-17 Chong Yidong <cyd@gnu.org>
1151
1152 * term.el (term-emulate-terminal): If term-check-size is called,
1153 move point to the process mark without resetting point (Bug#4635).
1154
1155 2012-06-17 Glenn Morris <rgm@gnu.org>
1156
1157 * international/mule-cmds.el (mule-menu-keymap)
1158 (set-language-environment, set-locale-environment): Doc tweaks.
1159
1160 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1161
1162 * cus-face.el (custom-face-attributes): Add wave-style underline
1163 attribute.
1164 * faces.el (set-face-attribute): Update docstring to describe
1165 wave-style underline attribute.
1166
1167 2012-06-16 Chong Yidong <cyd@gnu.org>
1168
1169 * term/xterm.el (terminal-init-xterm): Discard input before
1170 querying background mode (Bug#10959).
1171
1172 2012-06-16 Stefan Merten <smerten@oekonux.de>
1173
1174 * textmodes/rst.el: Added and corrected some comments.
1175 (rst-re-alist-def): Improve symbol syntax.
1176 (rst-mode-syntax-table): Correct syntax entries.
1177 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1178 (rst-official-version, rst-official-cvs-rev): Update version
1179 information.
1180
1181 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1182
1183 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1184 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1185
1186 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1187
1188 * progmodes/python.el: New python.el merge.
1189 (python-guess-indent): Obsolete var.
1190 (python-indent-guess-indent-offset): New defcustom.
1191 (python-indent): Obsolete var.
1192 (python-indent-offset): New defcustom.
1193 (python-python-command, python-jython-command): Delete var.
1194 (python-shell-interpreter): New defcustom.
1195 (python-pdbtrack-do-tracking-p): Delete var.
1196 (python-pdbtrack-activate): New defcustom.
1197 (python-use-skeletons): Obsolete var.
1198 (python-skeleton-autoinsert): New defcustom.
1199 (inferior-python-filter-regexp, python-continuation-offset)
1200 (python-honour-comment-indentation, python-indent-string-contents)
1201 (python-jython-packages, python-mode-hook)
1202 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1203 (python-shell-prompt-alist)
1204 (python-source-modes): Delete defcustoms.
1205 (python-check-buffer-name, python-eldoc-setup-code)
1206 (python-eldoc-string-code, python-ffap-setup-code)
1207 (python-ffap-string-code, python-fill-comment-function)
1208 (python-fill-decorator-function, python-fill-paren-function)
1209 (python-fill-string-function, python-imenu-include-defun-type)
1210 (python-imenu-make-tree, python-imenu-subtree-root-label)
1211 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1212 (python-shell-compilation-regexp-alist)
1213 (python-shell-completion-module-string-code)
1214 (python-shell-completion-pdb-string-code)
1215 (python-shell-completion-setup-code)
1216 (python-shell-completion-string-code)
1217 (python-shell-enable-font-lock, python-shell-exec-path)
1218 (python-shell-extra-pythonpaths)
1219 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1220 (python-shell-process-environment)
1221 (python-shell-prompt-block-regexp)
1222 (python-shell-prompt-output-regexp)
1223 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1224 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1225 (python-shell-virtualenv-path): New defcustoms.
1226 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1227 (inferior-python-mode-syntax-table, python--prompt-regexp)
1228 (python-buffer, python-command python-python-command)
1229 (python-default-template, python-imports, python-indent-index)
1230 (python-indent-list, python-indent-list-length)
1231 (python-mode-running, python-pdbtrack-is-tracking-p)
1232 (python-preoutput-continuation, python-preoutput-leftover)
1233 (python-preoutput-result, python-preoutput-skip-next-prompt)
1234 (python-prev-dir/file, python-recursing)
1235 (python-saved-check-command, python-version-checked)
1236 (python-which-func-length-limit)
1237 (view-return-to-alist): Delete vars.
1238 (python-check-custom-command, python-dotty-syntax-table)
1239 (python-imenu-index-alist, python-indent-current-level)
1240 (python-indent-dedenters, python-indent-levels)
1241 (python-nav-beginning-of-defun-regexp)
1242 (python-nav-list-defun-positions-cache)
1243 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1244 (python-shell-internal-buffer)
1245 (python-skeleton-available): New vars.
1246 (def-python-skeleton): Delete macro.
1247 (python-skeleton-define): New macro.
1248 (python-define-auxiliary-skeleton, python-rx): New macros.
1249 (python-insert-class): Delete command.
1250 (python-skeleton-class): New command.
1251 (python-insert-def): Delete command.
1252 (python-skeleton-def): New command.
1253 (python-insert-for): Delete command.
1254 (python-skeleton-for): New command.
1255 (python-insert-if): Delete command.
1256 (python-skeleton-if): New command.
1257 (python-insert-try/except, python-insert-try/finally): Delete commands.
1258 (python-skeleton-try): New command.
1259 (python-insert-while): Delete command.
1260 (python-skeleton-while): New command.
1261 (python-backspace): Delete command.
1262 (python-indent-dedent-line-backspace): New command.
1263 (python-electric-colon): Delete command.
1264 (python-indent-electric-colon): New command.
1265 (python-guess-indent): Delete command.
1266 (python-indent-guess-indent-offset): New command.
1267 (python-shift-left): Delete command.
1268 (python-indent-shift-left): New command.
1269 (python-shift-right): Delete command.
1270 (python-indent-shift-right): New command.
1271 (python-find-function): Delete command.
1272 (python-nav-jump-to-defun): New command.
1273 (python-next-statement): Delete command.
1274 (python-nav-forward-sentence): New command.
1275 (python-previous-statement): Delete command.
1276 (python-nav-backward-sentence): New command.
1277 (python-fill-paragraph): Delete command.
1278 (python-fill-paragraph-function): New command.
1279 (python-send-buffer): Delete command.
1280 (python-shell-send-buffer): New command.
1281 (python-send-defun): Delete command.
1282 (python-shell-send-defun): New command.
1283 (python-send-region, python-send-region-and-go): Delete commands.
1284 (python-shell-send-region)
1285 (python-shell-switch-to-shell): New commands.
1286 (python-send-string): Delete command.
1287 (python-shell-send-string): New command.
1288 (python-switch-to-python): Delete command.
1289 (python-shell-switch-to-shell): New command.
1290 (python-describe-symbol): Delete command.
1291 (python-eldoc-at-point): New command.
1292 (python--set-prompt-regexp, python-args-to-list)
1293 (python-after-info-look, python-check-version)
1294 (python-check-comint-prompt, python-find-imports)
1295 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1296 (python-unload-function, python-expand-template)
1297 (python-maybe-jython, python-preoutput-filter)
1298 (python-pdbtrack-get-source-buffer)
1299 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1300 (python-pdbtrack-toggle-stack-tracking)
1301 (python-pdbtrack-track-stack-file, python-initial-text)
1302 (python-first-word, python-comment-line-p, python-send-command)
1303 (python-setup-brm, python-sentinel, python-set-proc)
1304 (python-skip-out, python-input-filter, python-outdent-p)
1305 (python-outline-level, python-backslash-continuation-line-p)
1306 (python-end-of-block, python-end-of-statement, python-mark-block)
1307 (python-beginning-of-block, python-beginning-of-statement)
1308 (python-blank-line-p, python-beginning-of-string)
1309 (python-open-block-statement-p): Delete functions.
1310 (python-indent-line, python-indent-line-1): Delete functions.
1311 (python-indent-line): New function.
1312 (python-indentation-levels): Delete function.
1313 (python-indent-calculate-levels): New function.
1314 (python-proc): Delete function.
1315 (python-shell-get-process): New function.
1316 (python-send-receive): Delete function.
1317 (python-shell-send-string-no-output): New function.
1318 (python-module-path): Delete function.
1319 (python-ffap-module-path): New function.
1320 (python-completion-at-point)
1321 (python-symbol-completions): Delete functions.
1322 (python-completion-complete-at-point): New function.
1323 (python-load-file): Delete function.
1324 (python-shell-send-file): New function.
1325 (python-calculate-indentation): Delete function.
1326 (python-indent-calculate-indentation): New function.
1327 (python-skip-comments/blanks): Delete function.
1328 (python-util-forward-comment): New function.
1329 (python-continuation-line-p): Delete function.
1330 (python-info-continuation-line-p): New function.
1331 (python-which-func, python-current-defun): Delete function.
1332 (python-info-current-defun): New function.
1333 (python-beginning-of-defun): Delete function.
1334 (python-nav-beginning-of-defun): New function.
1335 (python-close-block-statement-p)
1336 (python-block-end-p): Delete function.
1337 (python-info-closing-block): New function.
1338 (python-comint-output-filter-function)
1339 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1340 (python-fill-comment, python-fill-decorator, python-fill-paren)
1341 (python-fill-string, python-imenu-make-element-tree)
1342 (python-imenu-make-tree, python-imenu-tree-assoc)
1343 (python-indent-context, python-indent-dedent-line)
1344 (python-indent-line-function)
1345 (python-indent-post-self-insert-function)
1346 (python-indent-toggle-levels)
1347 (python-info-assignment-continuation-line-p)
1348 (python-info-beginning-of-backlash)
1349 (python-info-block-continuation-line-p)
1350 (python-info-closing-block-message)
1351 (python-info-line-ends-backslash-p)
1352 (python-info-looking-at-beginning-of-defun)
1353 (python-info-ppss-context, python-info-ppss-context-type)
1354 (python-nav-list-defun-positions, python-nav-read-defun)
1355 (python-nav-sentence-end, python-nav-sentence-start)
1356 (python-pdbtrack-comint-output-filter-function)
1357 (python-pdbtrack-set-tracked-buffer)
1358 (python-shell-calculate-exec-path)
1359 (python-shell-calculate-process-environment)
1360 (python-shell-completion--do-completion-at-point)
1361 (python-shell-completion--get-completions)
1362 (python-shell-completion-complete-at-point)
1363 (python-shell-completion-complete-or-indent)
1364 (python-shell-get-or-create-process)
1365 (python-shell-get-process-name)
1366 (python-shell-internal-get-or-create-process)
1367 (python-shell-internal-get-process-name)
1368 (python-shell-internal-send-string, python-shell-make-comint)
1369 (python-shell-parse-command, python-shell-send-setup-code)
1370 (python-skeleton-add-menu-items)
1371 (python-util-clone-local-variables, python-util-position)
1372 (run-python-internal, python-indentation-levels)
1373 (python-nav-beginning-of-defun)
1374 (python-completion-complete-at-point): New functions.
1375 (run-python): Change arguments. New API requirements.
1376
1377 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1380 (bug#11649).
1381
1382 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1383 (macroexp--expand-all): Use it.
1384
1385 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1386 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1387 Use `cl-function' instead.
1388
1389 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1390
1391 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1392 Suggested by Stefan Monnier while discussing bug#11657.
1393
1394 2012-06-14 Sam Steingold <sds@gnu.org>
1395
1396 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1397
1398 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1399
1400 * play/doctor.el (doctor-doc): Remove parameter and use
1401 doctor-sent instead of sent.
1402 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1403
1404 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * files.el: Require cl-lib.
1407 (file-name-non-special): Replace case -> cl-case.
1408
1409 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1410
1411 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1412 mapping from #' to function*.
1413
1414 2012-06-13 Chong Yidong <cyd@gnu.org>
1415
1416 * mouse.el (mouse-drag-track): Do not set the mark if the user
1417 releases the mouse without selecting anything (Bug#11588).
1418
1419 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1422 as well (bug#11646).
1423
1424 * loadup.el: Count byte-code functions as well.
1425
1426 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1427 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1428
1429 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1430 (bug#11649). Add cl-defun and cl-defmacro.
1431
1432 2012-06-13 Drew Adams <drew.adams@oracle.com>
1433
1434 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1435 Fix last change.
1436
1437 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1438
1439 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1440 Otherwise, it blocks in batch mode.
1441
1442 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1443
1444 * help-mode.el (bookmark-make-record-default): Declare.
1445
1446 2012-06-13 Chong Yidong <cyd@gnu.org>
1447
1448 * emacs-lisp/package.el (list-packages): Compute a list of
1449 packages that are newly-available since the last list-packages
1450 invocation.
1451 (package-menu--new-package-list): New var.
1452 (package-menu--generate, package-menu--print-info)
1453 (package-menu--status-predicate, package-menu-mark-install):
1454 Handle new status label "new".
1455
1456 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1459 conversion to backquotes.
1460
1461 2012-06-12 Chong Yidong <cyd@gnu.org>
1462
1463 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1464 Rename from gud-inhibit-global-bindings.
1465
1466 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1467
1468 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1469 hook from nxml-glyph-set-hook.
1470
1471 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1472 declaration.
1473
1474 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1475
1476 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1477 Convert to defcustom.
1478
1479 2012-06-12 Drew Adams <drew.adams@oracle.com>
1480
1481 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1482 New functions.
1483 (help-mode): Use them.
1484
1485 2012-06-11 Glenn Morris <rgm@gnu.org>
1486
1487 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1488 Use preprocessor face for directives.
1489 (fortran-directive-re): Doc fix.
1490
1491 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1494 conversion to backquotes (bug#11652).
1495
1496 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1497 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1498 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1499 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1500 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1501 (cl-ninth, cl-tenth): Mark them as inlinable.
1502 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1503 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1504 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1505 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1506 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1507 (cl-list*, cl-adjoin): Don't put an autoload manually.
1508 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1509 (cl--compiler-macro-list*): Add autoload cookie.
1510 (cl--compiler-macro-cXXr): New function.
1511
1512 * help-fns.el (help-fns--compiler-macro): New function extracted from
1513 describe-function-1; follow aliases and use `compiler-macro' property.
1514 (describe-function-1): Use it.
1515
1516 2012-06-11 Chong Yidong <cyd@gnu.org>
1517
1518 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1519 is uninstalled, if imagemagick is installed.
1520
1521 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1522
1523 * emacs-lisp/cl-lib.el: Use lexical-binding.
1524 (cl-map-extents, cl-maclisp-member): Remove.
1525 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1526 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1527 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1528 * emacs-lisp/cl-extra.el: Use lexical-binding.
1529 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1530 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1531 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1532 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1533 * emacs-lisp/cl-seq.el: Use lexical-binding.
1534 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1535 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1536 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1537 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1538 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1539 CL's internals.
1540
1541 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
1542
1543 Sync with Tramp 2.2.6-pre.
1544
1545 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1546 `print-length' and `print-level' to nil, in order to avoid
1547 truncation. Reported by Christopher Schmidt
1548 <christopher@ristopher.com>.
1549
1550 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1551
1552 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1553 New defmacro.
1554 (tramp-compat-copy-directory): Add optional argument
1555 COPY-CONTENTS. It is not handled yet.
1556
1557 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1558 (tramp-ftp-file-name-p): Simplify.
1559
1560 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1561 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1562 connection vector.
1563
1564 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1565 (tramp-methods): Do not use `tramp-password-end-of-line'.
1566 (tramp-completion-function-alist-putty): Handle UNIX case.
1567 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1568 (tramp-do-file-attributes-with-stat)
1569 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1570 gid as real numbers. They could run out of integer range on cygwin.
1571 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1572 (tramp-sh-handle-expand-file-name): Handle hops.
1573 (tramp-open-connection-setup-interactive-shell):
1574 Use `tramp-cleanup'. Move check for busyboxes ...
1575 (tramp-find-shell): ... here. Simplify implementation.
1576 Set "remote-shell" property also for alternative shells.
1577 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1578 If failing, a regular file would be written otherwise.
1579 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1580 (tramp-find-inline-encoding): Cache the coding commands in the
1581 process cache. Apply test command on the remote side, if defined.
1582 (tramp-find-inline-compress): Cache the compress commands in the
1583 process cache.
1584 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1585 when requested. Handle hops.
1586 (tramp-current-connection): New defvar.
1587 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1588 Throw `suppress', if there was a failed connection shortly before.
1589 Handle user interrupt. (Bug#10187)
1590 (tramp-get-inline-compress, tramp-get-inline-coding):
1591 Read connection properties from the process cache.
1592
1593 * net/tramp-smb.el (tramp-smb-server-version)
1594 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1595 New defconsts.
1596 (tramp-smb-prompt): Extend for powershell prompt.
1597 (tramp-smb-file-name-handler-alist): Add handlers for
1598 `process-file', `shell-command' and `start-file-process'.
1599 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1600 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1601 (tramp-smb-file-name-p): Simplify.
1602 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1603 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1604 (tramp-smb-shell-quote-argument): New defuns.
1605 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1606 Implement using "tar". By this, time-stamps are preserved.
1607 (tramp-smb-handle-copy-file): Handle also the case of directories.
1608 (tramp-smb-do-file-attributes-with-stat)
1609 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1610 Use `tramp-get-connection-buffer').
1611 (tramp-smb-handle-rename-file): Use "rename", when source and
1612 target are on the same share.
1613 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1614 Use `tramp-smb-server-version'.
1615 (tramp-smb-wait-for-output): Remove prompt.
1616
1617 * net/tramp.el (top): Require 'cl.
1618 (tramp-methods, tramp-rsh-end-of-line):
1619 Remove `tramp-password-end-of-line' from docstring.
1620 (tramp-save-ad-hoc-proxies): New defcustom.
1621 (tramp-completion-function-alist): Adapt docstring.
1622 (tramp-default-password-end-of-line): Remove defcustom.
1623 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1624 (tramp-user-regexp, tramp-file-name-regexp-unified)
1625 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1626 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1627 (tramp-remote-file-name-spec-regexp): New defconst.
1628 (tramp-file-name-structure): Extend structure for hops.
1629 (tramp-get-method-parameter): Move up.
1630 (tramp-file-name-p, tramp-dissect-file-name)
1631 (with-parsed-tramp-file-name): Handle hops.
1632 (tramp-file-name-hop): New defun.
1633 (tramp-make-tramp-file-name): New optional arg HOP.
1634 (tramp-message-show-progress-reporter-message): New defvar.
1635 (tramp-with-progress-reporter): Use it. We cannot use
1636 `tramp-message-show-message' here, because this suppresses also
1637 error buffers.
1638 (tramp-error-with-buffer): Suppress buffer view, if
1639 `tramp-message-show-message' is nil.
1640 Use `tramp-get-connection-buffer'.
1641 (tramp-cleanup): New defun.
1642 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1643 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1644 an error unchanged.
1645 (tramp-completion-handle-file-name-all-completions): Handle hops.
1646 Fix an error when called from ido.
1647 (tramp-completion-dissect-file-name): Use better local variable
1648 name. Add hop to the vector.
1649 (tramp-handle-insert-file-contents): Use progress-reporter for the
1650 whole scenario.
1651 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1652 to `t'.
1653 (tramp-check-for-regexp): Simplify search.
1654 (tramp-enter-password): Remove it. Move implementation ...
1655 (tramp-action-password): ... here.
1656 (tramp-mode-string-to-int, tramp-local-host-p)
1657 (tramp-make-tramp-temp-file, tramp-read-passwd)
1658 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1659 Set tramp-autoload cookie.
1660
1661 * net/trampver.el: Update release number.
1662
1663 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1664 Michael Albinus <michael.albinus@gmx.de>
1665
1666 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1667 (tramp-parse-group, tramp-parse-file)
1668 (tramp-parse-shostkeys-sknownhosts): New defuns.
1669 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1670 (tramp-parse-shosts-group, tramp-parse-sconfig)
1671 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1672 (tramp-parse-sknownhosts, tramp-parse-hosts)
1673 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1674 Use them.
1675 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1676 (tramp-parse-putty-group): Don't narrow.
1677 (tramp-parse-putty): Make a loop.
1678 (tramp-file-name-handler): Catch the `suppress' signal.
1679
1680 2012-06-11 Chong Yidong <cyd@gnu.org>
1681
1682 * image.el (imagemagick-register-types): Put the ImageMagick entry
1683 at the end of image-type-file-name-regexps.
1684
1685 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1686
1687 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1688 (pcase, pcase-let*, pcase-dolist): Use them.
1689
1690 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1691
1692 * emacs-lisp/pcase.el (pcase--let*): New function.
1693 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1694 (pcase--expand): Use macroexp-let².
1695
1696 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1699 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1700 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1701 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1702 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1703 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1704
1705 2012-06-10 Glenn Morris <rgm@gnu.org>
1706
1707 * mail/rmail.el (rmail-yank-current-message): Leave point at
1708 correct position. (Bug#11660)
1709
1710 2012-06-10 Chong Yidong <cyd@gnu.org>
1711
1712 * allout-widgets.el: Fix code header.
1713
1714 2012-06-10 Chong Yidong <cyd@gnu.org>
1715
1716 * cus-edit.el (customize-changed-options-previous-release):
1717 Bump to 24.1.
1718
1719 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1720
1721 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1722
1723 2012-06-09 Chong Yidong <cyd@gnu.org>
1724
1725 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1726
1727 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1728
1729 * window.el (special-display-popup-frame): Don't use
1730 window--display-buffer (Bug#11651).
1731
1732 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1733
1734 Fix parallel builds: make sure loaddefs.el is not being written
1735 while Lisp files are compiled.
1736 (compile): Don't depend on 'mh-autoloads'.
1737 (compile-CMD, compile-SH): Depend on 'autoloads'.
1738 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1739
1740 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1741
1742 2012-06-09 Chong Yidong <cyd@gnu.org>
1743
1744 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1745 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1746 Doc fixes (Bug#11225).
1747
1748 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1751 a function if there's a clear indication that it has a compiler-macro.
1752 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1753 (macro-declarations-alist): Add arglist to declaration functions.
1754 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1755 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1756 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1757 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1758 Also add autoload to find the compiler macro.
1759 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1760 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1761 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1762 (cl--compiler-macro-get): New functions, replacing calls to
1763 cl-define-compiler-macro.
1764 (cl-typep) [compiler-macro]: Use macroexp-let².
1765
1766 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1767
1768 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1769 string properly, fixes Bug#11473.
1770
1771 2012-06-08 Chong Yidong <cyd@gnu.org>
1772
1773 * faces.el (set-face-attribute): Doc fix.
1774 (modify-face): Don't use :bold and :italic.
1775 (error, warning, success): Tweak definitions.
1776
1777 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1778 (custom-modified, custom-set, custom-changed, custom-themed)
1779 (custom-saved, custom-button, custom-button-mouse)
1780 (custom-button-pressed, custom-state, custom-comment-tag)
1781 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1782 (custom-group-subtitle): Use new-style face specs.
1783 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1784 (custom-set-face, custom-changed-face, custom-saved-face)
1785 (custom-button-face, custom-button-pressed-face)
1786 (custom-documentation-face, custom-state-face)
1787 (custom-comment-face, custom-comment-tag-face)
1788 (custom-variable-tag-face, custom-variable-button-face)
1789 (custom-face-tag-face, custom-group-tag-face-1)
1790 (custom-group-tag-face): Remove obsolete face alias.
1791
1792 * epa.el (epa-validity-high, epa-validity-medium)
1793 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1794 (epa-field-name, epa-field-body):
1795 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1796 (font-lock-keyword-face, font-lock-builtin-face)
1797 (font-lock-function-name-face, font-lock-variable-name-face)
1798 (font-lock-type-face, font-lock-constant-face):
1799 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1800 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1801 * speedbar.el (speedbar-button-face, speedbar-file-face)
1802 (speedbar-directory-face, speedbar-tag-face)
1803 (speedbar-selected-face, speedbar-highlight-face)
1804 (speedbar-separator-face):
1805 * whitespace.el (whitespace-newline, whitespace-space)
1806 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1807 (whitespace-line, whitespace-space-before-tab)
1808 (whitespace-space-after-tab, whitespace-indentation)
1809 (whitespace-empty):
1810 * emulation/cua-base.el (cua-global-mark):
1811 * eshell/em-prompt.el (eshell-prompt):
1812 * net/newst-plainview.el (newsticker-new-item-face)
1813 (newsticker-old-item-face, newsticker-immortal-item-face)
1814 (newsticker-obsolete-item-face, newsticker-date-face)
1815 (newsticker-statistics-face, newsticker-default-face):
1816 * net/newst-reader.el (newsticker-feed-face)
1817 (newsticker-extra-face, newsticker-enclosure-face):
1818 * net/newst-treeview.el (newsticker-treeview-face)
1819 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1820 (newsticker-treeview-immortal-face)
1821 (newsticker-treeview-obsolete-face)
1822 (newsticker-treeview-selection-face):
1823 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1824 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1825 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1826 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1827 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1828 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1829 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1830 (mpuz-text):
1831 * progmodes/vera-mode.el (vera-font-lock-number)
1832 (vera-font-lock-function, vera-font-lock-interface):
1833 * textmodes/table.el (table-cell): Use new-style face specs, and
1834 don't use the old :bold and :italic attributes.
1835
1836 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1837 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1838 (ebrowse-member-class, ebrowse-progress): Likewise.
1839 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1840 (ebrowse-file-name-face, ebrowse-default-face)
1841 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1842 (ebrowse-progress-face): Remove obsolete faces.
1843
1844 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1845 Inherit from error and warning faces respectively.
1846
1847 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1848 Likewise.
1849 (flyspell-incorrect-face, flyspell-duplicate-face):
1850 Remove obsolete aliases.
1851
1852 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1853
1854 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1855 Avoid infloop.
1856
1857 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * startup.el (argv, argi): Make lexically scoped.
1860 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1861 * emacs-lisp/cl-macs.el: Use lexical-binding.
1862 Rename cl-bind-* to cl--bind-*.
1863 * files.el: Don't require `cl' since it doesn't use it.
1864 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1865
1866 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1867
1868 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1869 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1870 instead of calling external sort utility.
1871 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1872
1873 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1874
1875 * descr-text.el (describe-char): Mention how to insert the
1876 character, if the current input method doesn't support it.
1877 See the discussion in this thread for the details:
1878 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1879
1880 2012-06-08 Sam Steingold <sds@gnu.org>
1881
1882 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1883 XF86Back to previous-buffer.
1884 (minibuffer-local-map): Bind them to next-history-element and
1885 previous-history-element respectively.
1886 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1887 help-go-back respectively.
1888 * info.el (Info-mode-map): Bind them to Info-history-forward and
1889 Info-history-back respectively.
1890 These are the keys next to Up on the ThinkPad keyboard.
1891
1892 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1893
1894 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1895 * emacs-lisp/cl-macs.el: Provide itself.
1896 (cl--labels-convert-cache): New var.
1897 (cl--labels-convert): New function.
1898 (cl-flet, cl-labels): New implementation with new semantics, relying on
1899 lexical-binding.
1900 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1901 (cl-closure-vars, cl--function-convert-cache)
1902 (cl--function-convert): Move from cl-macs.el.
1903 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1904 rename by removing the "cl-" prefix.
1905 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1906
1907 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1910 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1911 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1912 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1913 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1914 (cl-hash-table-count): Add old compatibility aliases.
1915
1916 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1917 Use macroexpand-all-environment instead.
1918 (cl--old-macroexpand): New var.
1919 (cl--sm-macroexpand): New function.
1920 (cl-symbol-macrolet): Use it during macro expansion.
1921 (cl--function-convert-cache): New var.
1922 (cl--function-convert): New function, extracted from
1923 cl-macroexpand-all.
1924 (cl-lexical-let): Use it.
1925
1926 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1927 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1928 (cl-member): Remove old alias.
1929
1930 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1931 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1932 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1933 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1934 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1935 (cl-macroexpand-cmacs): Remove var.
1936 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1937 Use macroexpand-all instead.
1938
1939 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1942 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1943 (macroexp-copyable-p): New functions and macros.
1944 * emacs-lisp/edebug.el (edebug-unwrap):
1945 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1946 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1947 (pcase--let*): Remove.
1948 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1949 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1950 macroexp-const-p instead.
1951 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1952
1953 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1954 instead of "cl-" for internal definitions. Use macroexp-const-p.
1955 (cl-old-bc-file-form): Remove var.
1956 (cl-const-exprs-p): Remove fun.
1957 (cl-labels, cl-macrolet): Use backquote.
1958 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1959 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1960 (cl-define-setf-expander): Rename from cl-define-setf-method.
1961 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1962
1963 * international/mule-cmds.el: Don't require CL.
1964 (view-hello-file): Don't use `letf'.
1965
1966 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * tmm.el (tmm-prompt): Use string-prefix-p.
1969 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1970 (tmm-add-prompt): Use minibuffer-completion-help.
1971 (tmm-delete-map): Remove.
1972
1973 * subr.el (kbd): Make it its own function.
1974
1975 2012-06-07 Stefan Merten <smerten@oekonux.de>
1976
1977 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1978 Silence compiler warnings. Fix versions.
1979 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1980 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1981 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1982 (rst-package-emacs-version-alist): Correct Emacs version to
1983 represent major merge with upstream.
1984 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1985
1986 2012-06-06 Glenn Morris <rgm@gnu.org>
1987
1988 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1989 Only print environment variables if set.
1990
1991 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1994 (macroexp--cons): Rename from maybe-cons.
1995 (macroexp--accumulate): Rename from macroexp-accumulate.
1996 (macroexp--all-forms): Rename from macroexpand-all-forms.
1997 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1998 (macroexp--expand-all): Rename from macroexpand-all-1.
1999
2000 2012-06-06 Sam Steingold <sds@gnu.org>
2001
2002 * calendar/calendar.el (calendar-in-read-only-buffer):
2003 Call `special-mode' to enable the standard read-only keybindings.
2004
2005 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2008 with "loading" messages (bug#11635).
2009
2010 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2011
2012 * files.el (enable-remote-dir-locals): New option.
2013 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2014
2015 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2016 Ensure, that the temp directory is local.
2017
2018 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2019 `temporary-file-directory'.
2020
2021 * progmodes/python.el (python-send-region): Ensure, that the
2022 temporary file is created also in the remote case.
2023
2024 2012-06-06 Glenn Morris <rgm@gnu.org>
2025
2026 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2027 (vc-rcs-update-changelog): Use it.
2028
2029 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2030
2031 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2032 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2033 (vc-sccs-diff): Replace use of the external vcdiff script.
2034
2035 2012-06-05 Glenn Morris <rgm@gnu.org>
2036
2037 * ledit.el: Move to obsolete/.
2038
2039 2012-06-05 Sam Steingold <sds@gnu.org>
2040
2041 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2042 patch (Bug#11140).
2043
2044 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * emacs-lisp/cust-print.el: Move to obsolete.
2047
2048 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2049 compiler-macro expansion.
2050
2051 Add native compiler-macro support.
2052 * emacs-lisp/macroexp.el (macroexpand-all-1):
2053 Support compiler-macros directly. Properly follow aliases and apply
2054 the compiler macros more thoroughly.
2055 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2056 macroexpand now properly follows aliases.
2057 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2058 (cl-compiler-macroexpand): Use new prop.
2059 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2060
2061 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2062
2063 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2064
2065 * window.el (get-lru-window, get-mru-window, get-largest-window):
2066 New argument NOT-SELECTED to avoid picking the selected window.
2067 (window--display-buffer-1, window--display-buffer-2): Replace by
2068 new function window--display-buffer
2069 (display-buffer-same-window, display-buffer-reuse-window)
2070 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2071 Use window--display-buffer.
2072 (display-buffer-use-some-window): Remove temporary dedication
2073 hack by calling get-lru-window and get-largest-window with
2074 NOT-SELECTED argument non-nil. Call window--display-buffer.
2075
2076 2012-06-05 Glenn Morris <rgm@gnu.org>
2077
2078 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2079 Replace external vcdiff script.
2080
2081 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2082
2083 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2084
2085 2012-06-04 Chong Yidong <cyd@gnu.org>
2086
2087 * image.el (imagemagick-types-inhibit): Revert last change.
2088 Add INFO and M.
2089 (imagemagick-enabled-types): Remove CIN and EPS*.
2090
2091 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * emacs-lisp/cl-lib.el: Rename from cl.el.
2094 * emacs-lisp/cl.el: New compatibility file.
2095 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2096 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2097 to obey the "cl-" prefix.
2098 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2099
2100 2012-06-03 Glenn Morris <rgm@gnu.org>
2101
2102 * emacs-lisp/authors.el (authors-aliases): Addition.
2103
2104 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2105 Fix :version.
2106
2107 2012-06-03 Stefan Merten <smerten@oekonux.de>
2108
2109 * textmodes/rst.el: Add comments.
2110 (rst-transition, rst-adornment): New faces.
2111 (rst-adornment-faces-alist): Make default safe to reevaluate.
2112 Fixes
2113 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2114 Improve customization tags.
2115 (rst-define-level-faces): Clarify meaning.
2116
2117 2012-06-03 Chong Yidong <cyd@gnu.org>
2118
2119 * progmodes/compile.el (compilation-mode-line-fail)
2120 (compilation-mode-line-run, compilation-mode-line-exit):
2121 New faces.
2122 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2123
2124 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2125
2126 * progmodes/which-func.el (which-func-update-ediff-windows):
2127 New function. Use it in ediff-select-hook (Bug#11478).
2128
2129 2012-06-03 Chong Yidong <cyd@gnu.org>
2130
2131 * bindings.el: Remove explicit help text from format-mode-line.
2132 It is now supplied by mode-line-default-help-echo.
2133 (mode-line-front-space, mode-line-end-spaces)
2134 (mode-line-misc-info): New variables.
2135 (mode-line-modes, mode-line-position): Move the default value to
2136 the variable definition.
2137 (mode-line-default-help-echo): New defcustom.
2138 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2139 (mode-line-modified-help-echo): New functions.
2140 (mode-line-mule-info, mode-line-modified): Use them.
2141 (mode-line-eol-desc, propertized-buffer-identification):
2142 Consistency fixes for help text.
2143 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2144 set-buffer-file-coding-system (Bug#289).
2145 (mode-line-mule-info-help-echo): Update help text.
2146
2147 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * simple.el (execute-extended-command): Set real-this-command
2150 (bug#11506).
2151
2152 2012-06-02 Chong Yidong <cyd@gnu.org>
2153
2154 Remove incorrect uses of "modeline" in comments, docstrings, and
2155 function/variable names (Bug#10329).
2156
2157 * cus-edit.el (mode-line):
2158 * dframe.el (dframe-mouse-hscroll):
2159 * emacs-lisp/re-builder.el:
2160 * emacs-lisp/easy-mmode.el (define-minor-mode):
2161 * frame.el (set-frame-name):
2162 * help.el (lookup-minor-mode-from-indicator):
2163 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2164 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2165 (c-toggle-hungry-state):
2166 * progmodes/antlr-mode.el (antlr-language-alist):
2167 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2168 * progmodes/vhdl-mode.el (vhdl-mode):
2169 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2170 * term/ns-win.el (ns-face-at-pos):
2171 * term/sup-mouse.el (sup-mouse-report):
2172 * textmodes/flyspell.el (flyspell-mode-line-string):
2173 * textmodes/ispell.el (ispell-highlight-face):
2174 * textmodes/reftex-global.el:
2175 * vc/vc-arch.el (vc-arch-mode-line-string):
2176 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2177 * vc/vc-git.el (vc-git-mode-line-string):
2178 * vc/vc-hooks.el (vc-display-status)
2179 (vc-default-mode-line-string):
2180 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2181
2182 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2183
2184 * dired.el (dired-sort-set-mode-line): Rename from
2185 dired-sort-set-modeline. All callers changed.
2186
2187 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2188 eshell-status-in-modeline.
2189
2190 * foldout.el (foldout-mode-line-string): Rename from
2191 foldout-modeline-string. All callers changed.
2192 (foldout-update-mode-line): Rename from foldout-update-modeline.
2193
2194 * subr.el (redraw-modeline): Make into obsolete alias.
2195
2196 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2197 timeclock-modeline-display. Make old name an alias.
2198 (timeclock-update-mode-line): Likewise. All callers changed.
2199 (timeclock-mode-line-display): No need to check before using
2200 add-hook.
2201 (timeclock-relative, timeclock-day-over-hook)
2202 (timeclock-use-elapsed, timeclock-mode-string)
2203 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2204
2205 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2206 crisp-mode-modeline-string.
2207
2208 * play/solitaire.el (solitaire-build-mode-line): Rename from
2209 solitaire-build-modeline. All callers changed.
2210
2211 * play/zone.el (zone-hiding-mode-line): Rename from
2212 zone-hiding-modeline. All callers changed.
2213 (zone): Remove unusued `modeline-hidden-level' property.
2214
2215 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2216 xscheme-modeline-initialize. All callers changed.
2217
2218 * strokes.el (strokes-lighter): Rename from
2219 strokes-modeline-string.
2220
2221 * textmodes/sgml-mode.el (html-face-tag-alist)
2222 (html-tag-face-alist): Use mode-line face instead of obsolete
2223 alias modeline.
2224
2225 2012-06-02 Stefan Merten <smerten@oekonux.de>
2226
2227 * textmodes/rst.el: Always require `cl'.
2228 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2229
2230 2012-06-02 Chong Yidong <cyd@gnu.org>
2231
2232 * image.el (imagemagick-enabled-types): Rename from
2233 imagemagick-types-enable. Add many more types.
2234 (imagemagick-types-inhibit): Change default to nil.
2235 (imagemagick-filter-types): Caller changed.
2236
2237 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * emacs-lisp/cl-macs.el: Use backquotes.
2240 (cl-transform-function-property): Use eval-and-compile rather than
2241 abusing `require'.
2242 (defstruct): Use declare-function instead of with-no-warnings.
2243
2244 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2245 (byte-compile-output-docform): Re-add the print-circle bindings.
2246 (byte-compile-fix-header): Use #$ just because it's shorter.
2247 (byte-compile-output-file-form): Remove defun/defmacro.
2248
2249 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2250
2251 * simple.el (choose-completion): Remove now obsolete binding for
2252 owindow.
2253
2254 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2255
2256 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2257 in order to avoid "Stack overflow in regexp matcher".
2258
2259 2012-05-31 Glenn Morris <rgm@gnu.org>
2260
2261 * image.el: For clarity, call imagemagick-register-types at
2262 top-level, rather than relying on a custom :initialize.
2263 (imagemagick-types-enable): New option. (Bug#11557)
2264 (imagemagick-filter-types): New function. (Bug#7406)
2265 (imagemagick-register-types): Use imagemagick-filter-types.
2266 If disabling support, remove elements altogether rather
2267 than using an impossible regexp.
2268 (imagemagick-types-inhibit): Give it the default init function.
2269
2270 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2273 Handle arbitrary file name lengths (Bug#11585).
2274
2275 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2276
2277 * desktop.el (desktop-read): Clear previous and next buffers for
2278 all windows and bury *Messages* buffer (bug#11556).
2279
2280 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 Add `declare' for `defun'. Align `defmacro's with it.
2283 * emacs-lisp/easy-mmode.el (define-minor-mode)
2284 (define-globalized-minor-mode): Don't autoload the var definitions.
2285 * emacs-lisp/byte-run.el: Use lexical-binding.
2286 (defun-declarations-alist, macro-declarations-alist): New vars.
2287 (defmacro, defun): Use them.
2288 (make-obsolete, define-obsolete-function-alias)
2289 (make-obsolete-variable, define-obsolete-variable-alias):
2290 Use `declare'.
2291 (macro-declaration-function): Mark obsolete.
2292 * emacs-lisp/autoload.el: Use lexical-binding.
2293 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2294
2295 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2296
2297 * textmodes/ispell.el (ispell-with-no-warnings):
2298 Define as a macro.
2299 (ispell-kill-ispell, ispell-change-dictionary):
2300 Use `called-interactively-p' for Emacs instead of obsolete
2301 `interactive-p'.
2302
2303 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2306 (macro-declaration-function): Move var from C code.
2307 (macro-declaration-function): Define function with defalias.
2308 * emacs-lisp/macroexp.el (macroexpand-all-1):
2309 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2310 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2311 defun/defmacro any more.
2312 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2313 Provide fallback for unknown arglist.
2314 (byte-compile-arglist-warn): Change calling convention.
2315 (byte-compile-output-file-form): Move print-vars binding.
2316 (byte-compile-output-docform): Simplify accordingly.
2317 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2318 (byte-compile-defmacro-declaration): Remove.
2319 (byte-compile-file-form-defmumble): Generalize to defalias.
2320 (byte-compile-output-as-comment): Return byte-positions.
2321 Simplify callers accordingly.
2322 (byte-compile-lambda): Use `assert'.
2323 (byte-compile-defun, byte-compile-defmacro): Remove.
2324 (byte-compile-file-form-defalias):
2325 Use byte-compile-file-form-defmumble.
2326 (byte-compile-defalias-warn): Remove.
2327
2328 2012-05-29 Stefan Merten <smerten@oekonux.de>
2329
2330 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2331 possible. Fix authors. Improve comments. Improve loading of `cl'.
2332
2333 (rst-mode-abbrev-table): Merge definition.
2334 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2335 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2336
2337 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2338
2339 * calendar/icalendar.el
2340 (icalendar-export-region): Export UID properly.
2341
2342 2012-05-29 Leo Liu <sdl.web@gmail.com>
2343 * calendar/icalendar.el (icalendar-import-format):
2344 Add `icalendar-import-format-uid' (Bug#11525).
2345 (icalendar-import-format-uid): New.
2346 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2347 Export UID.
2348
2349 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2352 different alternative patterns.
2353 (pcase-codegen): Be more careful to preserve identity.
2354 (pcase--u1): Don't forget to mark vars as used.
2355
2356 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2357 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2358 (byte-compile-from-buffer): ...rather than here.
2359
2360 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2361 functions from byte-compile-function-environment.
2362
2363 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2364
2365 * window.el (window-deletable-p): Avoid deleting the root window
2366 of a frame with an active minibuffer.
2367
2368 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2369
2370 * simple.el (choose-completion): Use quit-window (Bug#11567).
2371
2372 2012-05-29 Chong Yidong <cyd@gnu.org>
2373
2374 * whitespace.el (whitespace-cleanup): Fix usage of
2375 whitespace-empty-at-bob-regexp (Bug#11492).
2376
2377 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2378
2379 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2380 revert (Bug#11488).
2381
2382 2012-05-29 Juri Linkov <juri@jurta.org>
2383
2384 * isearch.el (isearch-mode-map): Bind `M-s _' to
2385 `isearch-toggle-symbol'. Bind `M-s c' to
2386 `isearch-toggle-case-fold'.
2387 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2388 (isearch-forward): Add `M-s _' to the docstring.
2389 (isearch-forward-symbol, isearch-toggle-case-fold)
2390 (isearch-symbol-regexp): New functions. (Bug#11381)
2391
2392 2012-05-29 Juri Linkov <juri@jurta.org>
2393
2394 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2395 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2396 a function, call it to get the regexp.
2397 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2398 property `isearch-message-prefix' instead of the string "word ".
2399 (isearch-search-fun-default): For the case of `isearch-word',
2400 return a lambda that calls re-search-forward/re-search-backward
2401 with a regexp returned by `word-search-regexp' or by the function
2402 in `isearch-word'.
2403
2404 2012-05-29 Juri Linkov <juri@jurta.org>
2405
2406 * isearch.el (isearch-search-fun-default): New function.
2407 (isearch-search-fun): Move default part to the new function
2408 `isearch-search-fun-default'.
2409 (isearch-search-fun-function): Set the default value to
2410 `isearch-search-fun-default'. (Bug#11381)
2411
2412 * comint.el (comint-history-isearch-end):
2413 Use `isearch-search-fun-default'.
2414 (comint-history-isearch-search): Use `isearch-search-fun-default'
2415 and remove spacial case for `isearch-word'.
2416 (comint-history-isearch-wrap): Remove spacial case for
2417 `isearch-word'.
2418
2419 * hexl.el (hexl-isearch-search-function):
2420 Use `isearch-search-fun-default'.
2421
2422 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2423 Use `word-search-regexp' for `isearch-word'.
2424
2425 * misearch.el (multi-isearch-search-fun):
2426 Use `isearch-search-fun-default'.
2427
2428 * simple.el (minibuffer-history-isearch-search):
2429 Use `isearch-search-fun-default' and remove spacial case for
2430 `isearch-word'.
2431 (minibuffer-history-isearch-wrap): Remove spacial case for
2432 `isearch-word'.
2433
2434 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2435 Remove spacial case for `isearch-word'.
2436 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2437
2438 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2439
2440 Decrease XEmacs incompatibilities.
2441 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2442 Use `string-match'.
2443 (flyspell-delete-region-overlays): Use alternative definition for
2444 XEmacs.
2445 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2446 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2447 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2448 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2449 `define-obsolete-face-alias' under XEmacs, but old method.
2450
2451 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2452 `with-no-warnings' definition or Emacs alias.
2453 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2454 (ispell-word): Do not use `region-p' if XEmacs.
2455
2456 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2457
2458 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2459 Check for `ispell-dictionary-base-alist' instead of full
2460 `ispell-dictionary-alist'.
2461 (ispell-init-process): Show spellchecker when starting new Ispell
2462 process.
2463
2464 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2467 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2468
2469 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2470
2471 * version.el (motif-version-string, gtk-version-string)
2472 (ns-version-string): Declare.
2473
2474 2012-05-27 Juri Linkov <juri@jurta.org>
2475
2476 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2477 after the `eval-defun-1' specialcaseing
2478 like in `edebug-eval-defun' (bug#10181).
2479
2480 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2481 like in `eval-defun-1'.
2482
2483 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2484
2485 * mail/sendmail.el (mail-yank-region):
2486 Recognize rmail-yank-current-message in addition to insert-buffer.
2487 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2488 a *mail* buffer created through rmail-start-mail with sendmail as
2489 mail-user-agent.
2490
2491 2012-05-27 Chong Yidong <cyd@gnu.org>
2492
2493 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2494 Default to 256 (Bug#11267).
2495
2496 * help.el (describe-mode): Doc fix.
2497
2498 2012-05-26 Glenn Morris <rgm@gnu.org>
2499
2500 * w32-fns.el (w32-init-info): Remove.
2501 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2502
2503 * info.el (info-initialize): For self-contained NS builds, put the
2504 included info/ directory at the front. (Bug#2791)
2505
2506 * paths.el (Info-default-directory-list): Make it a defcustom,
2507 mainly so that we can use custom-initialize-delay.
2508
2509 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * subr.el (buffer-has-markers-at): Mark obsolete.
2512
2513 * subr.el (lambda): Use declare.
2514
2515 * emacs-lisp/lisp-mode.el (lambda):
2516 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2517
2518 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2519
2520 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2521
2522 2012-05-26 Glenn Morris <rgm@gnu.org>
2523
2524 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2525
2526 2012-05-25 Glenn Morris <rgm@gnu.org>
2527
2528 * paths.el: Remove no-byte-compile.
2529 * loadup.el: No need to load paths.el uncompiled.
2530
2531 * image.el (imagemagick-types-inhibit): Doc fix.
2532
2533 * version.el: Remove no-byte-compile and associated formatting.
2534 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2535 is ancient code from when there was an "inc-vers.el".
2536
2537 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * progmodes/gdb-mi.el: Minor style changes.
2540 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2541 Turn into minor modes.
2542 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2543 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2544 (gdb-shell): Remove unneeded let-binding.
2545 (gdb-get-many-fields): Eliminate O(n²) behavior.
2546
2547 2012-05-25 Eli Zaretskii <eliz@gnu.org>
2548
2549 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2550 platforms that don't link in fontset.c.
2551
2552 2012-05-25 Juri Linkov <juri@jurta.org>
2553
2554 Use the same diff color scheme as in modern VCSes (bug#10181).
2555
2556 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2557 to avoid confusion with `diff-added' that now uses green colors.
2558 (diff-removed): Use shades of red.
2559 (diff-added): Use shades of green.
2560 (diff-changed): Leave just the yellow color.
2561 (diff-use-changed-face): New variable.
2562 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2563 how to highlight context diff changes.
2564 (diff-refine-change): Use shades of yellow.
2565 (diff-refine-removed): New face that uses shades of red.
2566 (diff-refine-added): New face that uses shades of green.
2567 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2568 `diff-refine-removed' in the call to `smerge-refine-subst'
2569 depending on the value of `diff-use-changed-face'.
2570
2571 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2572 (smerge-other): Use shades of green.
2573 (smerge-base): Use shades of yellow.
2574 (smerge-refined-change): Empty face.
2575 (smerge-refined-removed): New face that uses shades of red.
2576 (smerge-refined-added): New face that uses shades of green.
2577 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2578 args `props-r' and `props-a', and use them. Doc fix.
2579 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2580 on its value use different faces `smerge-refined-change',
2581 `smerge-refined-removed', `smerge-refined-added' in the call to
2582 `smerge-refine-subst'.
2583
2584 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2585 Add face condition `min-colors 88' with shades of red.
2586 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2587 `min-colors 88' with shades of green.
2588 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2589 `min-colors 88' with shades of yellow.
2590
2591 2012-05-24 Glenn Morris <rgm@gnu.org>
2592
2593 * paths.el (prune-directory-list, remote-shell-program): Move to...
2594 * files.el (prune-directory-list, remote-shell-program): ...here.
2595 For the latter, delay initialization, prefer ssh, just search PATH.
2596
2597 * paths.el (term-file-prefix): Move to faces.el (the only user).
2598 * faces.el (term-file-prefix): Move here, make it a defcustom.
2599
2600 * paths.el (news-directory, news-path, news-inews-program):
2601 Move to gnus/nnspool.el.
2602
2603 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2604
2605 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2606 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2607 Make the latter a defcustom, with a delayed initialization.
2608
2609 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2610 These were deleted from Gnus itself late 2010.
2611
2612 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2613
2614 * progmodes/which-func.el (which-func-ff-hook):
2615 Check against user-error, not error.
2616
2617 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2618 cl-specs.el, which no longer exists.
2619
2620 2012-05-22 Glenn Morris <rgm@gnu.org>
2621
2622 * info.el (info-emacs-bug): New command.
2623 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2624 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2625
2626 2012-05-21 Glenn Morris <rgm@gnu.org>
2627
2628 * makefile.w32-in (update-subdirs-SH):
2629 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2630
2631 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2634
2635 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2636 Simplify Maven regexp, and make sure the file can't start with a space
2637 (bug#11517).
2638
2639 2012-05-21 Glenn Morris <rgm@gnu.org>
2640
2641 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2642 Scrap superfluous subshells.
2643
2644 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2647 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2648
2649 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2650
2651 * calc/calc.el (calc-ensure-consistent-units): New variable.
2652
2653 * calc/calc-units.el (math-consistent-units-p)
2654 (math-check-unit-consistency): New functions.
2655 (calc-quick-units, calc-convert-units):
2656 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2657 is non-nil.
2658 (calc-extract-units): Fix typo.
2659
2660 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2663
2664 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2665 (flyspell-default-deplacement-commands): Don't spell check after
2666 repeated window/frame switches (e.g. triggered by mouse-movement).
2667 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2668 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2669 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2670 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2671 Remove unused vars.
2672 (flyspell-get-casechars, flyspell-get-not-casechars):
2673 Simplify; Don't bother removing a ] just to add it back.
2674 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2675
2676 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2677
2678 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2679 New functions.
2680 (math-function-table): Add support for more C functions.
2681
2682 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2683
2684 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2685 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2686 Protect delay handling for otherchars against empty otherchars.
2687
2688 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2691 their respective macro declarations.
2692 * skeleton.el (define-skeleton):
2693 * progmodes/compile.el (define-compilation-mode):
2694 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2695 (define-ibuffer-filter):
2696 * emacs-lisp/generic.el (define-generic-mode):
2697 * emacs-lisp/easy-mmode.el (define-minor-mode)
2698 (define-globalized-minor-mode):
2699 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2700 * emacs-lisp/byte-run.el (defsubst):
2701 * custom.el (deftheme): Add doc-string metadata.
2702
2703 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2706
2707 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2710
2711 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2712 * emacs-lisp/cl-macs.el: Idem.
2713 * emacs-lisp/cl-specs.el: Remove.
2714
2715 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2716
2717 Minor renaming of internal CL functions and variables.
2718 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2719 (cl--position): Rename from cl-position.
2720 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2721 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2722 (cl--random-state): Rename from *random-state*.
2723
2724 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2725
2726 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2727 parens around the arg list (bug#11499).
2728
2729 2012-05-17 Juri Linkov <juri@jurta.org>
2730
2731 * isearch.el (word-search-regexp, word-search-backward)
2732 (word-search-forward, word-search-backward-lax)
2733 (word-search-forward-lax): Move functions from search.c
2734 (bug#10145, bug#11381).
2735
2736 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2737
2738 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2739 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2740 Delay for otherchars as for normal word components.
2741
2742 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * minibuffer.el (completion--sifn-requote): Fix last change.
2745 (minibuffer-local-must-match-filename-map):
2746 Move define-obsolete-variable-alias before its var.
2747
2748 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2751
2752 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2753 behavior.
2754 (completion--string-equal-p): New function.
2755 (completion--twq-all): Use it to get better assertion failure data.
2756
2757 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2758 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2759 (shell--requote-argument): New functions.
2760 (shell-completion-vars): Use them.
2761 (shell--parse-pcomplete-arguments): Rename from
2762 shell-parse-pcomplete-arguments.
2763 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2764 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2765 Obey comint-file-name-quote-list.
2766
2767 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2768 (smie-indent-keyword): Use it.
2769
2770 2012-05-14 Stefan Merten <smerten@oekonux.de>
2771
2772 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2773
2774 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * net/rlogin.el (rlogin-mode-map): Fix last change.
2777
2778 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2779
2780 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2781 the following \r\n using a single `process-send-string', since the
2782 Lotus SMTP server refuses to accept any commands if they are sent
2783 with two `process-send-string's (Bug#11444).
2784
2785 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * shell.el (shell-parse-pcomplete-arguments):
2788 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2789
2790 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2791
2792 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2793 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2794 (image-transform-width, image-transform-fit-width): New functions.
2795 (image-transform-properties): Use them.
2796 (image-transform-check-size): New function.
2797 (image-toggle-display-image): Use it (for testing).
2798 (image-transform-set-rotation): Reduce angle mod 360.
2799 Delete obsolete comment.
2800
2801 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2802
2803 * image-mode.el: Fix scaling (bug#11399).
2804 (image-transform-resize): Doc fix.
2805 (image-transform-properties): Default scale is 1 and height should
2806 be an integer.
2807
2808 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2809
2810 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2811 than hard-coding `car', to fix misbehavior when moving forward.
2812
2813 2012-05-13 Chong Yidong <cyd@gnu.org>
2814
2815 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2816 (tabulated-list-entries, tabulated-list-padding)
2817 (tabulated-list-sort-key): Make permanent-local.
2818
2819 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2820 (electric-buffer-list): Put electric buffer menu
2821 command descriptions in this docstring, instead of the docstring
2822 of electric-buffer-menu-mode. Code cleanups.
2823 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2824 Electric-buffer-menu-mode.
2825 (electric-buffer-update-highlight): Minor code cleanup.
2826
2827 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2828
2829 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2830 (Bug#11447)
2831
2832 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 Move define-obsolete-variable-alias before the var's definition.
2835 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2836 * tooltip.el (tooltip-hook):
2837 * textmodes/reftex-toc.el (reftex-toc-map):
2838 * textmodes/reftex-sel.el (reftex-select-label-map)
2839 (reftex-select-bib-map):
2840 * textmodes/reftex-index.el (reftex-index-map)
2841 (reftex-index-phrases-map):
2842 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2843 * progmodes/meta-mode.el (meta-mode-map):
2844 * novice.el (disabled-command-hook):
2845 * loadhist.el (unload-hook-features-list):
2846 * frame.el (blink-cursor):
2847 * files.el (find-file-not-found-hooks, write-file-hooks)
2848 (write-contents-hooks):
2849 * emulation/tpu-edt.el (GOLD-map):
2850 * emacs-lock.el (emacs-lock-from-exiting):
2851 * emacs-lisp/generic.el (generic-font-lock-defaults):
2852 * emacs-lisp/chart.el (chart-map):
2853 * dos-fns.el (register-name-alist):
2854 * dired-x.el (dired-omit-files-p):
2855 * desktop.el (desktop-enable):
2856 * cus-edit.el (custom-mode-hook):
2857 * buff-menu.el (buffer-menu-mode-hook):
2858 * bookmark.el (bookmark-read-annotation-text-func)
2859 (bookmark-exit-hooks):
2860 * allout.el (allout-mode-deactivate-hook)
2861 (allout-exposure-change-hook, allout-structure-added-hook)
2862 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2863 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2864 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2865 comes before the corresponding variable's definition.
2866
2867 2012-05-12 Chong Yidong <cyd@gnu.org>
2868
2869 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2870 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2871 (Buffer-menu-mode-map): Bind it.
2872 (Buffer-menu--pretty-name): Add a mouse-face property.
2873
2874 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2877 (prolog-upper-case-string, prolog-lower-case-string)
2878 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2879 (prolog-use-smie, prolog-smie-grammar): New vars.
2880 (prolog-smie-forward-token, prolog-smie-backward-token)
2881 (prolog-smie-rules): New funs.
2882 (prolog-comment-indent): Remove.
2883 (prolog-mode-variables): Use default comment indentation instead.
2884 Setup SMIE.
2885 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2886 (prolog-mode): Don't call them any more.
2887 (prolog-electric-colon, prolog-electric-dash)
2888 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2889
2890 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2891
2892 * minibuffer.el (completion--twq-all): Again, allow case differences.
2893
2894 * term.el: Move keymap initialization code to be more idiomatic.
2895 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2896 (term-terminal-menu): Move initialization into declaration.
2897 (term-escape-char): Let the user set it in her .emacs.
2898
2899 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2900 Provide SMIE-based indentation (not enabled by default yet).
2901 (sh-mode-map): Don't bind electric keys.
2902 Use electric-pair-mode instead of skeleton-pair.
2903 (sh-assignment-regexp): Fit within 80 columns.
2904 (sh-indent-supported): Specify actual shell name instead of boolean.
2905 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2906 (sh-maybe-here-document): Use it. Make obsolete.
2907 (sh-electric-here-document-mode) New minor mode.
2908 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2909 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2910 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2911 (sh-smie-rc-grammar, sh-use-smie): New vars.
2912 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2913 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2914 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2915 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2916 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2917 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2918 (sh-set-shell): Use smie-setup if requested.
2919
2920 * term.el (term-set-escape-char): Properly set term-escape-char.
2921 See http://stackoverflow.com/questions/10524656.
2922
2923 2012-05-10 Chong Yidong <cyd@gnu.org>
2924
2925 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2926 Use url-generic-parse-url, and handle host names and Windows
2927 filenames properly.
2928 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2929 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2930 URL schemes to work on.
2931 (ffap--toggle-read-only): New function.
2932 (ffap-read-only, ffap-read-only-other-window)
2933 (ffap-read-only-other-frame): Use it.
2934 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2935 necessary for ffap-url-unwrap-remote.
2936
2937 2012-05-10 Dave Abrahams <dave@boostpro.com>
2938
2939 * cus-start.el (create-lockfiles): Add it.
2940
2941 2012-05-09 Chong Yidong <cyd@gnu.org>
2942
2943 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2944 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2945
2946 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2949
2950 2012-05-09 Chong Yidong <cyd@gnu.org>
2951
2952 * ansi-color.el (ansi-color-process-output): Check for validity of
2953 comint-last-output-start before using it. This avoids a bad
2954 interaction with gdb-mi's input/output buffer.
2955
2956 2012-05-09 Glenn Morris <rgm@gnu.org>
2957
2958 * files.el (dir-locals-read-from-file):
2959 Mention dir-locals in any error message.
2960
2961 2012-05-09 Chong Yidong <cyd@gnu.org>
2962
2963 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2964 package (Bug#11410).
2965
2966 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2967 variables into description.
2968
2969 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2970
2971 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2972 shell-delimiter-argument-list (bug#11348).
2973 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2974
2975 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2976
2977 * textmodes/rst.el: Silence byte-compiler warnings.
2978 (rst-re-alist, rst-reset-section-caches): Move around.
2979 (rst-re): Use `characterp', not `char-valid-p'.
2980 (font-lock-beg, font-lock-end): Declare.
2981
2982 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2983 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2984
2985 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2986
2987 2012-05-08 Glenn Morris <rgm@gnu.org>
2988
2989 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2990
2991 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * vc/log-edit.el: Add GNU coding standards highlighting.
2994 (log-edit-font-lock-gnu-style)
2995 (log-edit-font-lock-gnu-keywords): New vars.
2996 (log-edit-font-lock-keywords): New fun.
2997 (log-edit-mode): Don't fold case in font-lock.
2998 (log-edit-font-lock-keywords): Do not assume case-folding.
2999
3000 * imenu.el: Misc cleanup. Make docstrings out of comments.
3001 Use lexical-binding.
3002 (imenu--index-alist, imenu--last-menubar-index-alist)
3003 (imenu-menubar-modified-tick): Use defvar-local.
3004 (imenu--split-menu): Remove unused var.
3005 (imenu--cleanup-seen): Declare as global.
3006 (imenu--cleanup): Use dolist.
3007
3008 * subr.el (defvar-local): Add debug spec and doc-string position.
3009
3010 2012-05-08 Glenn Morris <rgm@gnu.org>
3011
3012 * language/burmese.el, language/cham.el, language/czech.el:
3013 * language/english.el, language/georgian.el, language/greek.el:
3014 * language/japanese.el, language/khmer.el, language/korean.el:
3015 * language/lao.el, language/misc-lang.el, language/romanian.el:
3016 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3017 * language/thai.el, language/utf-8-lang.el:
3018 Remove no-byte-compile setting.
3019
3020 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3021
3022 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3023
3024 * progmodes/make-mode.el (makefile-browse):
3025 Remove unnecessary interactive. (Bug#11324)
3026
3027 2012-05-07 Glenn Morris <rgm@gnu.org>
3028
3029 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3030
3031 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3032
3033 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3034
3035 * loadup.el: Preload newcomment.el.
3036 * newcomment.el: Move autoload-only code to toplevel.
3037
3038 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3039 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3040 Handle new :right-align column property.
3041 (tabulated-list-print-col): Idem, plus use `display' text-property to
3042 try and preserve alignment for variable pitch fonts.
3043
3044 2012-05-07 Chong Yidong <cyd@gnu.org>
3045
3046 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3047 (tabulated-list-use-header-line): New var.
3048 (tabulated-list-init-header): Use it.
3049 (tabulated-list-print-fake-header): New function.
3050 (tabulated-list-print): Use it.
3051 (tabulated-list-sort-button-map): Add non-header-line commands.
3052 (tabulated-list-init-header): Add column name property to basic
3053 labels as well.
3054 (tabulated-list-col-sort): Handle non-header-line button case.
3055 (tabulated-list--sort-by-column-name): Fix a corner case.
3056
3057 * buff-menu.el (list-buffers--refresh):
3058 Handle Buffer-menu-use-header-line.
3059
3060 2012-05-06 Chong Yidong <cyd@gnu.org>
3061
3062 * buff-menu.el: Convert to Tabulated List mode.
3063 (Buffer-menu-buffer+size-width): Make obsolete.
3064 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3065 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3066 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3067 documentation into docstring of buffer-menu.
3068 (Buffer-menu-toggle-files-only): Add an informative message.
3069 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3070 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3071 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3072 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3073 (Buffer-menu-execute, Buffer-menu-select)
3074 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3075 (Buffer-menu-bury): Use Tabulated List machinery.
3076 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3077 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3078 Delete.
3079 (list-buffers--refresh): New function.
3080 (list-buffers-noselect): Use it.
3081 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3082 (Buffer-menu--pretty-file-name): New helper functions.
3083
3084 * loadup.el: Preload tabulated-list.
3085
3086 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3087 tabulated-list-sort-column.
3088 (tabulated-list-init-header): Add the initial aligning space even
3089 if tabulated-list-padding is zero.
3090
3091 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3092
3093 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3094 whose cdr is not a cons cell correctly (bug#11038).
3095
3096 2012-05-06 Chong Yidong <cyd@gnu.org>
3097
3098 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3099 Accept additional plist in column descriptors.
3100 (tabulated-list-init-header): Obey it.
3101 (tabulated-list-get-entry): New function.
3102 (tabulated-list-put-tag): Use it. Use string-width instead of
3103 length.
3104 (tabulated-list--column-number): New function.
3105 (tabulated-list-print): Use it.
3106 (tabulated-list-print-col): New function.
3107 Set `tabulated-list-column-name' property on each column's text.
3108 (tabulated-list-print-entry): Use it.
3109 (tabulated-list-delete-entry, tabulated-list-set-col):
3110 New functions.
3111 (tabulated-list-sort-column): New command (Bug#11337).
3112
3113 * buff-menu.el (list-buffers): Move C-x C-b binding from
3114 buff-menu.el to bindings.el.
3115
3116 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3117 :advertised-binding feature.
3118
3119 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3120
3121 * progmodes/compile.el (compilation-internal-error-properties):
3122 Calculate start position correctly when end-col is set but
3123 end-line is not (Bug#11382).
3124
3125 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3126
3127 * man.el (Man-unindent): Use text-property-default-nonsticky to
3128 prevent untabify from inheriting face properties (Bug#11408).
3129
3130 2012-05-05 Stefan Merten <smerten@oekonux.de>
3131
3132 * textmodes/rst.el: Major merge with upstream development up to
3133 Docutils SVN r7399 / rst.el V1.2.1.
3134
3135 Clarify maintainership and authors.
3136
3137 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3138 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3139 (rst-official-version, rst-official-cvs-rev, rst-version)
3140 (rst-package-emacs-version-alist): New functions and variables
3141 for version information.
3142
3143 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3144 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3145 (rst-mode-syntax-table, rst-mode): New and corrected functions
3146 and variables representing reStructuredText features.
3147
3148 (rst-re): New function for reStructuredText regexes. Use in
3149 many places.
3150
3151 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3152 (rst-mode-map): Rebind keys.
3153
3154 (rst-mode-lazy, rst-font-lock-keywords)
3155 (rst-font-lock-extend-region)
3156 (rst-font-lock-extend-region-internal)
3157 (rst-font-lock-extend-region-extend)
3158 (rst-font-lock-find-unindented-line-limit)
3159 (rst-font-lock-find-unindented-line-match)
3160 (rst-adornment-level, rst-font-lock-adornment-level)
3161 (rst-font-lock-adornment-match)
3162 (rst-font-lock-handle-adornment-pre-match-form)
3163 (rst-font-lock-handle-adornment-matcher): Major revision of
3164 font-locking. Integrate with other code. Use `jit-lock-mode'.
3165
3166 (rst-preferred-adornments, rst-adjust-hook)
3167 (rst-new-adornment-down, rst-preferred-bullets)
3168 (rst-preferred-bullets, rst-indent, rst-indent-width)
3169 (rst-indent-field, rst-indent-literal-normal)
3170 (rst-indent-literal-minimized, rst-indent-comment): Change,
3171 extend and improve customization.
3172
3173 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3174 (rst-normalize-cursor-position, rst-get-decoration)
3175 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3176 (rst-rstrip, rst-toc-insert-find-delete-contents)
3177 (rst-shift-fill-region, rst-compute-bullet-tabs)
3178 (rst-debug-print-tabs, rst-debug-mark-found)
3179 (rst-shift-region-guts, rst-shift-region-right)
3180 (rst-shift-region-left, rst-use-char-classes)
3181 (rst-font-lock-keywords-function)
3182 (rst-font-lock-indentation-point)
3183 (rst-font-lock-find-unindented-line-begin)
3184 (rst-font-lock-find-unindented-line-end)
3185 (rst-font-lock-find-unindented-line)
3186 (rst-font-lock-adornment-point, rst-font-lock-level)
3187 (rst-adornment-level-alist): Remove functions and variables.
3188
3189 (rst-compare-adornments, rst-get-adornment-match)
3190 (rst-suggest-new-adornment, rst-get-adornments-around)
3191 (rst-adornment-complete-p, rst-get-next-adornment)
3192 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3193 (rst-straighten-adornments): Standardize function names to
3194 use "adornment" instead of "decoration". Correct callers.
3195 Similar standardizing in many places.
3196
3197 (rst-update-section, rst-adjust, rst-promote-region)
3198 (rst-enumerate-region, rst-bullet-list-region)
3199 (rst-repeat-last-character): Correct use of `interactive'.
3200
3201 (rst-classify-adornment, rst-find-all-adornments)
3202 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3203 (rst-find-leftmost-column, rst-repeat-last-character):
3204 Refactor functions.
3205
3206 (rst-find-title-line, rst-reset-section-caches)
3207 (rst-get-adornments-around, rst-adjust-adornment-work)
3208 (rst-arabic-to-roman, rst-roman-to-arabic)
3209 (rst-insert-list-pos, rst-insert-list-new-item)
3210 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3211 New functions.
3212
3213 (rst-all-sections, rst-section-hierarchy)
3214 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3215 New variables.
3216
3217 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3218 configuration instead of only buffer. Change where necessary.
3219
3220 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3221 (rst-shift-region, rst-adaptive-fill): New functions for
3222 indentation and filling.
3223
3224 (rst-comment-line-break, rst-comment-indent)
3225 (rst-comment-insert-comment, rst-comment-region)
3226 (rst-uncomment-region): New functions for handling comments.
3227
3228 (rst-compile): Quote shell arguments.
3229
3230 (rst-compile-pdf-preview, rst-compile-slides-preview):
3231 Delete temporary files after use.
3232
3233 2012-05-05 Glenn Morris <rgm@gnu.org>
3234
3235 * calendar/cal-html.el: Optionally include holidays in the output.
3236 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3237 (cal-html-holidays): New option.
3238 (cal-html-css-default): Add holiday entry.
3239 (holiday-in-range): Autoload it.
3240 (cal-html-htmlify-entry): Add optional class argument.
3241 (cal-html-htmlify-list): Add optional holidays argument.
3242 (cal-html-insert-agenda-days): Include holidays in the output.
3243 (cal-html-one-month): Maybe include holidays.
3244
3245 * calendar/holidays.el (holiday-in-range):
3246 Move here from cal-tex-list-holidays.
3247 * calendar/cal-tex.el (cal-tex-list-holidays):
3248 Make it an obsolete alias for holiday-in-range. Update all callers.
3249
3250 2012-05-05 Chong Yidong <cyd@gnu.org>
3251
3252 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3253 Nextstep.
3254
3255 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3256
3257 * files.el (file-auto-mode-skip): New var.
3258 (set-auto-mode-1): Use it.
3259
3260 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * repeat.el: Use lexical-binding.
3263 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3264 (repeat-undo-count): Remove.
3265 (repeat):
3266 * progmodes/octave-mod.el (octave-abbrev-start):
3267 * progmodes/f90.el (f90-abbrev-start):
3268 * face-remap.el (text-scale-adjust):
3269 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3270
3271 * emacs-lisp/pcase.el (pcase--let*): New function.
3272 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3273 a bit more.
3274 (pcase--split-pred): Be more clever about ruling out overlap between
3275 a predicate and some constant pattern.
3276 (pcase--q1): Use `null' instead of (eq foo nil).
3277
3278 * subr.el (setq-local, defvar-local): New macros.
3279 (kbd): Redefine as an alias.
3280 (with-selected-window): Leave unrelated frames alone.
3281 (set-temporary-overlay-map): New function.
3282
3283 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * subr.el (user-error): New function.
3286 * window.el (switch-to-buffer):
3287 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3288 (smerge-match-conflict):
3289 * simple.el (previous-matching-history-element)
3290 (next-matching-history-element, goto-history-element, undo-more)
3291 (undo-start):
3292 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3293 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3294 (next-file, tags-loop-scan, list-tags, complete-tag):
3295 * progmodes/compile.el (compilation-loop):
3296 * mouse.el (mouse-minibuffer-check):
3297 * man.el (Man-bgproc-sentinel, Man-goto-page):
3298 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3299 (Info-history-forward, Info-follow-reference, Info-menu)
3300 (Info-extract-menu-item, Info-extract-menu-counting)
3301 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3302 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3303 (Info-next-reference, Info-prev-reference, Info-index)
3304 (Info-index-next, Info-follow-nearest-node)
3305 (Info-copy-current-node-name):
3306 * imenu.el (imenu--make-index-alist)
3307 (imenu-default-create-index-function, imenu-add-to-menubar):
3308 * files.el (basic-save-buffer, recover-file):
3309 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3310 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3311 (checkdoc-message-text, checkdoc-defun):
3312 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3313 * cus-edit.el (customize-changed-options, customize-rogue)
3314 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3315 (custom-variable-mark-to-reset-standard)
3316 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3317 (custom-file):
3318 * completion.el (check-completion-length):
3319 * comint.el (comint-search-arg)
3320 (comint-previous-matching-input-string-position)
3321 (comint-previous-matching-input)
3322 (comint-replace-by-expanded-history-before-point, comint-send-input)
3323 (comint-copy-old-input, comint-backward-matching-input)
3324 (comint-goto-process-mark, comint-set-process-mark):
3325 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3326 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3327
3328 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * dabbrev.el (dabbrev--ignore-case-p): New function.
3331 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3332 Use it.
3333
3334 * files.el (automount-dir-prefix): Mark as obsolete.
3335
3336 2012-05-04 Glenn Morris <rgm@gnu.org>
3337
3338 * patcomp.el, play/bruce.el: Move to obsolete/.
3339
3340 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3341
3342 Fix minor Y10k bugs.
3343 * arc-mode.el (archive-unixdate):
3344 * autoinsert.el (auto-insert-alist):
3345 * calc/calc-forms.el (math-this-year):
3346 * emacs-lisp/copyright.el (copyright-current-year)
3347 (copyright-update-year, copyright):
3348 * tar-mode.el (tar-clip-time-string):
3349 * time.el (display-time-update):
3350 Don't assume years have 4 digits.
3351
3352 2012-05-04 Chong Yidong <cyd@gnu.org>
3353
3354 * dos-w32.el (file-name-buffer-file-type-alist)
3355 (direct-print-region-use-command-dot-com):
3356 * ffap.el (ffap-menu-regexp):
3357 * find-file.el (ff-special-constructs):
3358 * follow.el (follow-debug):
3359 * forms.el (forms--debug):
3360 * iswitchb.el (iswitchb-all-frames):
3361 * ido.el (ido-all-frames):
3362 * emacs-lisp/timer.el (timer-max-repeats):
3363 * mail/feedmail.el (feedmail-mail-send-hook)
3364 (feedmail-mail-send-hook-queued):
3365 * mail/footnote.el (footnote-signature-separator):
3366 * mail/mailabbrev.el (mail-alias-separator-string)
3367 (mail-abbrev-mode-regexp):
3368 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3369 * progmodes/idlwave.el (idlwave-libinfo-file)
3370 (idlwave-default-completion-case-is-down)
3371 (idlwave-library-routines): Convert defvars to defcustoms.
3372
3373 * mail/rmail.el (rmail-decode-mime-charset):
3374 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3375 (idlwave-shell-fix-inserted-breaks)
3376 (idlwave-shell-activate-alt-keybindings)
3377 (idlwave-shell-use-breakpoint-glyph):
3378 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3379
3380 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3383
3384 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3385
3386 * progmodes/verilog-mode.el (font-lock-keywords):
3387 Fix mis-highligting auto. Reported by Craig Barner.
3388 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3389 defines from global name space. Reported by Dan Dever.
3390 (verilog-auto-reset, verilog-auto-reset-widths)
3391 (verilog-auto-tieoff): Support using unbased numbers for
3392 AUTORESET and AUTOTIEOFF.
3393 (verilog-submit-bug-report): Update variable list.
3394 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3395 parenthesis from not matching. Reported by Michael Rytting.
3396 (verilog-auto-template-lint): Fix hash error when linting modules
3397 with no used templates.
3398 (verilog-warn, verilog-warn-error)
3399 (verilog-warn-fatal): When non-interactive report multiple
3400 warnings before exiting. Suggested by Brad Dobbie.
3401 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3402 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3403 to report unused template errors. Reported by Brad Dobbie.
3404 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3405 nets, bug438. Reported by Vns Blore.
3406 (verilog-auto-inout-module, verilog-auto-reg)
3407 (verilog-read-decls, verilog-read-sub-decls-sig)
3408 (verilog-signals-edit-wire-reg, verilog-signals-with):
3409 Fix passing of Verilog data types in ANSI input/output ports
3410 such as "output logic" into the AUTOs. Special case "wire" and
3411 "reg" for backwards compatibility presuming Verilog 2001.
3412 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3413 (verilog-preprocess): Fix replication of preprocess output.
3414 Reported by Brad Dobbie.
3415 (verilog-auto-inst-interfaced-ports):
3416 Create verilog-auto-inst-interfaced-ports, bug429.
3417 Reported by Julian Gorfajn.
3418 (verilog-after-save-font-hook)
3419 (verilog-before-save-font-hook): New variable.
3420 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3421 (verilog-save-font-mods): Wrap disabling fontification, reported
3422 by David Rogoff.
3423 (verilog-do-indent, verilog-pretty-declarations-auto)
3424 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3425 Reported by Pierre-David Pfister.
3426 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3427 of class declarations, bug292. Reported by Kevin Heilman.
3428 (verilog-read-decls): Fix 'parameter type' not appearing in
3429 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3430 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3431 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3432 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3433 Reported by David Kravitz.
3434
3435 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3436
3437 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3438 assignment with tests in ifs and for loops.
3439 (verilog-extended-complete-re, verilog-complete-reg): Change so
3440 that DPI inport functions don't look like fuction declarations.
3441 (verilog-pretty-expr): Don't line up assignment
3442 operations to the test and increment in if and for loops
3443 (verilog-extended-complete-re, verilog-complete-reg): Change so
3444 that DPI inport functions don't look like fuction declarations.
3445
3446 2012-05-03 Kenichi Handa <handa@m17n.org>
3447
3448 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3449 decoding, and show a warning message without signaling an error
3450 (Bug#11282).
3451
3452 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * emacs-lisp/bytecomp.el
3455 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3456 since cconv.el might have introduced :fun-body, internal-make-closure,
3457 and friends for bytecomp to handle (bug#11391).
3458 * custom.el (defcustom): Avoid ((λ ..) ..).
3459
3460 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3463
3464 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3465
3466 * notifications.el (dbus-debug):
3467 * term/linux.el (gpm-mouse-enable):
3468 * term/screen.el (xterm-register-default-colors): Declare.
3469
3470 2012-05-02 Chong Yidong <cyd@gnu.org>
3471
3472 * cus-start.el (gc-cons-percentage, exec-suffixes)
3473 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3474 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3475 (make-cursor-line-fully-visible, void-text-area-pointer)
3476 (font-list-limit): Add customization data.
3477
3478 * allout.el (allout-exposure-change-functions)
3479 (allout-structure-added-functions)
3480 (allout-structure-deleted-functions)
3481 (allout-structure-shifted-functions): Rename abnormal hooks from
3482 *-hook, and convert to defcustoms.
3483 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3484 Convert to defcustoms.
3485 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3486
3487 * allout-widgets.el: Hook callers changed.
3488
3489 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3490
3491 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3492 the yanked message in preference to the default value of
3493 buffer-file-coding-system.
3494
3495 2012-05-02 Martin Rudalics <rudalics@gmx.at>
3496
3497 * window.el (display-buffer--action-function-custom-type):
3498 Fix entry.
3499
3500 2012-05-02 Alan Mackenzie <acm@muc.de>
3501
3502 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3503
3504 2012-05-01 Glenn Morris <rgm@gnu.org>
3505
3506 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3507
3508 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3509
3510 * cus-edit.el (custom-variable-documentation): Simplify with format.
3511
3512 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3513 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * simple.el (suggest-key-bindings, execute-extended-command):
3516 Move from keyboard.c.
3517
3518 2012-05-01 Chong Yidong <cyd@gnu.org>
3519
3520 * follow.el: Eliminate advice.
3521 (set-process-filter, process-filter, sit-for): Advice deleted.
3522 (follow-mode-off-hook): Obsolete hook removed.
3523 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3524 Vars deleted.
3525 (follow-auto): Use a :set function.
3526 (follow-mode): Rewritten. Don't advise process filters.
3527 (follow-switch-to-current-buffer-all, follow-scroll-up)
3528 (follow-scroll-down): Assume follow-mode is bound.
3529 (follow-comint-scroll-to-bottom)
3530 (follow-align-compilation-windows): New functions.
3531 (follow--window-sorter): New function.
3532 (follow-all-followers): Use it to explicitly sort windows by their
3533 positions; don't make assumptions about next-window order.
3534 (follow-windows-start-end, follow-delete-other-windows-and-split)
3535 (follow-calc-win-start): Doc fix.
3536 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3537 vertical-motion unnecessarily.
3538 (follow-adjust-window): New function.
3539 (follow-post-command-hook): Use it.
3540 (follow-call-set-process-filter, follow-call-process-filter)
3541 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3542 (follow-stop-intercept-process-output, follow-generic-filter):
3543 Functions deleted.
3544 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3545 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3546 New functions, replacing advice on scroll-bar-* commands.
3547 (follow-mwheel-scroll): New function (Bug#4112).
3548
3549 * comint.el (comint-adjust-point): New function.
3550 (comint-postoutput-scroll-to-bottom): Use it.
3551 Call follow-comint-scroll-to-bottom for Follow mode buffers.
3552
3553 2012-05-01 Glenn Morris <rgm@gnu.org>
3554
3555 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3556 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3557 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3558 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3559 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3560 Remove no-byte-compile setting.
3561
3562 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3565 all-completions code to not return a number in the last cdr.
3566
3567 2012-04-30 Leo Liu <sdl.web@gmail.com>
3568
3569 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3570 read-only error.
3571
3572 2012-04-29 Chong Yidong <cyd@gnu.org>
3573
3574 * follow.el (follow-calc-win-end): Rewrite to handle partial
3575 screen lines correctly (Bug#8390).
3576 (follow-avoid-tail-recenter): Minor cleanup.
3577
3578 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 Avoid the obsolete `assoc' package.
3581 * speedbar.el (speedbar-refresh): Avoid adelete.
3582 (speedbar-file-lists): Simplify and avoid aput.
3583 * man.el (Man--sections, Man--refpages): New vars, replacing
3584 Man-sections-alist and Man-refpages-alist.
3585 (Man-build-section-alist, Man-build-references-alist):
3586 Use them; avoid aput.
3587 (Man--last-section, Man--last-refpage): New vars.
3588 (Man-follow-manual-reference): Use them.
3589 Use the `default' arg of completing-read.
3590 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3591
3592 2012-04-27 Chong Yidong <cyd@gnu.org>
3593
3594 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3595
3596 * startup.el (x-apply-session-resources): New function.
3597
3598 * term/ns-win.el (ns-initialize-window-system):
3599 * term/w32-win.el (w32-initialize-window-system):
3600 * term/x-win.el (x-initialize-window-system): Use it to properly
3601 set menu-bar-mode and other vars from X resources, even if the
3602 initial frame is not a window-system frame (Bug#2299).
3603
3604 * subr.el (read-key): Avoid running filter function when setting
3605 up temporary tool bar entries (Bug#9922).
3606
3607 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3608
3609 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3610 (Bug#11344)
3611
3612 2012-04-27 Chong Yidong <cyd@gnu.org>
3613
3614 * select.el (xselect--encode-string): New function, split from
3615 xselect-convert-to-string.
3616 (xselect-convert-to-string): Use it.
3617 (xselect-convert-to-filename, xselect-convert-to-os)
3618 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3619 returned strings are properly encoded (Bug#11315).
3620
3621 2012-04-27 Chong Yidong <cyd@gnu.org>
3622
3623 * simple.el (delete-active-region): Move to killing custom group.
3624
3625 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3626
3627 * progmodes/which-func.el (which-func-current): Quote %
3628 characters for mode-line processing.
3629
3630 2012-04-27 Chong Yidong <cyd@gnu.org>
3631
3632 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3633 reaching eob (Bug#11286).
3634
3635 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3636
3637 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3638 (gdb): Make it buffer-local and init to zero.
3639 (gdb-control-commands-regexp): New variable.
3640 (gdb-send): Don't wrap in "-interpreter-exec console" if
3641 gdb-control-level is positive. Increment gdb-control-level
3642 whenever the command matches gdb-control-commands-regexp, and
3643 decrement it each time the command is "end". (Bug#11279)
3644
3645 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3646
3647 * window.el (adjust-window-trailing-edge, enlarge-window)
3648 (shrink-window, window-resize):
3649 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3650 windows (Bug#11276).
3651
3652 2012-04-27 Chong Yidong <cyd@gnu.org>
3653
3654 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3655 fix "missing prefix" warning. All callers changed.
3656
3657 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * emacs-lisp/assoc.el: Move to obsolete/.
3660
3661 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3664
3665 * term/ns-win.el (ns-define-service):
3666 * progmodes/pascal.el (pascal-goto-defun):
3667 * progmodes/js.el (js--read-tab):
3668 * progmodes/etags.el (tags-lazy-completion-table):
3669 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3670 * emacs-lisp/ewoc.el (ewoc--wrap):
3671 * emacs-lisp/assoc.el (aput, adelete, amake):
3672 * doc-view.el (doc-view-convert-current-doc):
3673 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3674
3675 2012-04-26 Chong Yidong <cyd@gnu.org>
3676
3677 * image.el (image-type-from-buffer): Only return supported image
3678 type (Bug#9045).
3679
3680 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3681 value, for symmetry with diff-end-of-hunk.
3682 (diff-split-hunk, diff-find-source-location)
3683 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3684 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3685 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3686 compute the relevant hunk or file properly (Bug#6005).
3687 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3688
3689 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3690
3691 * vc/vc-mtn.el:
3692 * vc/vc-hg.el:
3693 * vc/vc-git.el:
3694 * vc/vc-dir.el:
3695 * vc/vc-cvs.el:
3696 * vc/vc-bzr.el:
3697 * vc/vc-arch.el:
3698 * vc/vc.el: Replace lexical-let by lexical-binding.
3699 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3700 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3701 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3702
3703 2012-04-26 Chong Yidong <cyd@gnu.org>
3704
3705 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3706 (diff-mode-shared-map): Bind it to / and [remap undo].
3707
3708 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3709 (ediff-window-setup-function): Use it as the default, to set up
3710 windows based on whether the current frame is graphical (Bug#2138).
3711 (ediff-choose-window-setup-function-automatically): Make obsolete.
3712
3713 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3714
3715 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * ffap.el: Remove old code for obsolete package.
3718 (ffap-complete-as-file-p): Remove.
3719
3720 Use completion-table-with-quoting for comint and pcomplete.
3721 * comint.el (comint--unquote&requote-argument)
3722 (comint--unquote-argument, comint--requote-argument): New functions.
3723 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3724 (comint-quote-filename): Use regexp-opt-charset.
3725 (comint--common-suffix, comint--common-quoted-suffix)
3726 (comint--table-subvert): Remove.
3727 (comint-unquote-function, comint-requote-function): New vars.
3728 (comint--complete-file-name-data): Use them with
3729 completion-table-with-quoting.
3730 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3731 * pcomplete.el (pcomplete-arg-quote-list)
3732 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3733 (pcomplete-unquote-argument-function): Default to non-nil.
3734 (pcomplete-unquote-argument): Simplify.
3735 (pcomplete--common-quoted-suffix): Remove.
3736 (pcomplete-requote-argument-function): New var.
3737 (pcomplete--common-suffix): New function.
3738 (pcomplete-completions-at-point): Use completion-table-with-quoting
3739 and completion-table-subvert.
3740
3741 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3742 (minibuffer--double-dollars): Preserve properties.
3743 (completion--sifn-requote): New function.
3744 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3745
3746 * minibuffer.el: Add support for completion of quoted/escaped data.
3747 (completion-table-with-quoting, completion-table-subvert): New funs.
3748 (completion--twq-try, completion--twq-all): New functions.
3749 (completion--nth-completion): New function.
3750 (completion-try-completion, completion-all-completions): Use it.
3751
3752 2012-04-25 Leo Liu <sdl.web@gmail.com>
3753
3754 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3755 Use compilation-message if available to find real filename.
3756
3757 2012-04-25 Chong Yidong <cyd@gnu.org>
3758
3759 * vc/diff-mode.el (diff-setup-whitespace): New function.
3760 (diff-mode): Use it.
3761
3762 * vc/diff.el (diff-sentinel):
3763 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3764 Whitespace mode variables based on diff style (Bug#8612).
3765
3766 2012-04-25 Leo Liu <sdl.web@gmail.com>
3767
3768 * progmodes/python.el (python-send-region): Add suffix .py to the
3769 temp file.
3770
3771 * files.el (auto-mode-alist): Use javascript-mode instead.
3772
3773 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3774
3775 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3776
3777 * net/soap-client.el (soap-resolve-references-for-sequence-type)
3778 (soap-resolve-references-for-array-type): Hack to prevent self
3779 references, see Bug#9.
3780 (soap-parse-envelope): Report the contents of the 'detail' node
3781 when receiving a fault reply.
3782 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3783
3784 * net/soap-inspect.el (soap-sample-value-for-simple-type)
3785 (soap-inspect-simple-type): New function.
3786
3787 * net/soap-client.el (soap-simple-type): New struct.
3788 (soap-default-xsd-types, soap-default-soapenc-types)
3789 (soap-decode-basic-type, soap-encode-basic-type):
3790 support unsignedInt and double basic types.
3791 (soap-resolve-references-for-simple-type)
3792 (soap-parse-simple-type, soap-encode-simple-type): New function.
3793 (soap-parse-schema): Parse xsd:simpleType declarations.
3794
3795 * net/soap-client.el (soap-default-xsd-types)
3796 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3797 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3798 the local name of "soapenc:Array".
3799 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3800 decoding integer, byte and anyURI xsd types.
3801
3802 2012-04-25 Chong Yidong <cyd@gnu.org>
3803
3804 * cus-edit.el (custom-buffer-create-internal): Update header text.
3805
3806 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3807
3808 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3809 settings on 'system-type', not on 'window-system'. On MS-Windows,
3810 set interactive-mode on in GDB.
3811
3812 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3815 (ruby-syntax-propertize-regexp): Remove.
3816 (ruby-syntax-propertize-function): Split regexp into chunks.
3817 Match following code directly.
3818
3819 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3820
3821 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3822 (ruby-syntax-propertize-regexp): New function.
3823 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3824 by a special keyword.
3825
3826 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3827 (ruby-syntax-general-delimiters-goto-beg)
3828 (ruby-syntax-propertize-general-delimiters): New functions.
3829 (ruby-syntax-propertize-function): Use them to handle GDL.
3830 (ruby-font-lock-keywords): Move old handling of GDL...
3831 (ruby-font-lock-syntactic-keywords): .. to here.
3832 (ruby-calculate-indent): Adjust indentation for GDL.
3833
3834 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3835
3836 * notifications.el (top): Remove unneeded declarations.
3837 (notifications-specification-version): Change to "1.2".
3838 (notifications-interface, notifications-notify-method)
3839 (notifications-close-notification-method): Fix docstring.
3840 (notifications-get-capabilities-method): New defconst.
3841 (notifications-notify): Add :action-items, :resident and
3842 :transient hints. Change "image_data" to "image-data" and
3843 "image_path" to "image-path".
3844 (notifications-get-capabilities): New defun.
3845
3846 2012-04-24 Leo Liu <sdl.web@gmail.com>
3847
3848 * progmodes/python.el: Move hideshow setup to the end.
3849
3850 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3851
3852 * window.el (handle-select-window): Clear echo area since this is
3853 no more done by read_char (Bug#11304).
3854
3855 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3858 and `/ M' to filter-derived-mode.
3859 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3860 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3861 (ibuffer-mark-by-mode): Use default rather than initial-input.
3862 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3863
3864 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3865
3866 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3867 (ibuffer-filter-by-derived-mode): New filter.
3868 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3869
3870 2012-04-23 Andreas Politz <politza@fh-trier.de>
3871
3872 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3873
3874 2012-04-23 Chong Yidong <cyd@gnu.org>
3875
3876 * cus-edit.el (customize-apropos, customize-apropos-options):
3877 Disable matching of non-option variables (Bug#11176).
3878 (customize-option, customize-option-other-window)
3879 (customize-changed-options): Doc fix.
3880 (customize-apropos-options, customize-apropos-faces)
3881 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3882
3883 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3884 Fix word list splitting (Bug#11132).
3885 (apropos-symbol, apropos-keybinding, apropos-label)
3886 (apropos-property, apropos-function-button)
3887 (apropos-variable-button, apropos-misc-button): New faces.
3888 (apropos-symbol-face, apropos-keybinding-face)
3889 (apropos-label-face, apropos-property-face, apropos-match-face):
3890 Variables removed (Bug#8396).
3891 (apropos-library-button, apropos-format-plist, apropos-print)
3892 (apropos-print-doc, apropos-describe-plist): Callers changed.
3893
3894 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3895
3896 * net/xesam.el (xesam-mode-map): Use let-bound map in
3897 initialization. (Bug#11292)
3898
3899 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3900
3901 Preserve ispell session localwords when switching back to
3902 original buffer.
3903
3904 * textmodes/ispell.el (ispell-buffer-session-localwords):
3905 New buffer-local variable to hold buffer session localwords.
3906 (ispell-kill-ispell): Add option 'clear to delete session
3907 localwords.
3908 (ispell-command-loop, ispell-change-dictionary)
3909 (ispell-buffer-local-words): Preserve session localwords when
3910 needed.
3911
3912 * textmodes/flyspell.el (flyspell-process-localwords)
3913 (flyspell-do-correct): Preserve session localwords when needed.
3914
3915 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3916
3917 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3918 using obsolete `translation-table-for-input'.
3919 (ispell-word, ispell-process-line, ispell-complete-word):
3920 Use plain `insert' instead of removed `ispell-insert-word'.
3921
3922 2012-04-22 Chong Yidong <cyd@gnu.org>
3923
3924 * cus-edit.el (custom-variable-menu)
3925 (custom-variable-reset-saved, custom-face-menu)
3926 (custom-face-reset-saved): If there is no saved value, make the
3927 "reset-saved" operation bring back the default (Bug#9509).
3928 (custom-face-state): Properly detect themed faces.
3929
3930 * faces.el (face-spec-set): Stop supporting deprecated form of
3931 third arg.
3932
3933 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3934
3935 Move functions from C to Lisp. Make non-blocking method calls
3936 the default. Implement further D-Bus standard interfaces.
3937
3938 * net/dbus.el (dbus-message-internal): Declare function.
3939 Remove unneeded function declarations.
3940 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3941 (dbus-message-type-method-return, dbus-message-type-error)
3942 (dbus-message-type-signal): Declare variables. Remove local
3943 definitions.
3944 (dbus-interface-dbus, dbus-interface-peer)
3945 (dbus-interface-introspectable, dbus-interface-properties)
3946 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3947 Adapt docstring.
3948 (dbus-interface-objectmanager): New defconst.
3949 (dbus-call-method, dbus-call-method-asynchronously)
3950 (dbus-send-signal, dbus-method-return-internal)
3951 (dbus-method-error-internal, dbus-register-service)
3952 (dbus-register-signal, dbus-register-method): New defuns, moved
3953 from dbusbind.c
3954 (dbus-call-method-handler, dbus-setenv)
3955 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3956 New defuns.
3957 (dbus-call-method-non-blocking): Make it an obsolete function.
3958 (dbus-unregister-object, dbus-unregister-service)
3959 (dbus-handle-event, dbus-register-property)
3960 (dbus-property-handler): Obey the new structure of
3961 `bus-registered-objects'.
3962 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3963 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3964 Use `dbus-call-method'.
3965
3966 2012-04-22 Chong Yidong <cyd@gnu.org>
3967
3968 * cus-edit.el (custom-commands, custom-reset-menu)
3969 (Custom-reset-standard): Tweak labels.
3970 (custom-reset-button-menu): Change default to t.
3971 (custom-buffer-create-internal): For the custom-reset-button-menu
3972 case, put the revert button first.
3973 (custom-group-subtitle): New face.
3974 (custom-group-value-create): Align docstring to a specific column.
3975
3976 * wid-edit.el (widget-documentation-link-add): Don't handle
3977 indentation in this function.
3978 (widget-documentation-string-indent-to): New function.
3979 (widget-documentation-string-value-create): Use it.
3980
3981 * autorevert.el (auto-revert):
3982 * epg-config.el (epg):
3983 * ibuffer.el (ibuffer):
3984 * mpc.el (mpc):
3985 * ses.el (ses):
3986 * eshell/eshell.el (eshell):
3987 * net/ange-ftp.el (ange-ftp):
3988 * progmodes/ebnf2ps.el (postscript):
3989 * progmodes/flymake.el (flymake):
3990 * progmodes/prolog.el (prolog):
3991 * progmodes/verilog-mode.el (verilog-mode):
3992 * progmodes/which-func.el (which-func):
3993 * term/xterm.el (xterm):
3994 * textmodes/picture.el (picture):
3995 * textmodes/tildify.el (tildify):
3996 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3997 customization buffers.
3998
3999 2012-04-22 Alan Mackenzie <acm@muc.de>
4000
4001 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4002 Adding a ) can hide the resulting (..) from searches. Fix it.
4003 Bound the backward search to the position of the existing (.
4004
4005 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4006
4007 * progmodes/verilog-mode.el (verilog-mode): Check whether
4008 which-func-modes is t before adding verilog-mode.
4009 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4010
4011 2012-04-21 Leo Liu <sdl.web@gmail.com>
4012
4013 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4014
4015 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4016
4017 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4018 filling of the last column of a table (Bug#5635).
4019 (woman-find-next-control-line): New arg, specifying an additional
4020 regexp component for the control line.
4021 (woman2-roff-buffer): Use it.
4022 (woman-break-table): New function.
4023 (woman2-TS): Use it.
4024
4025 2012-04-21 Chong Yidong <cyd@gnu.org>
4026
4027 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4028 (woman-horizontal-escapes, woman-negative-vertical-space)
4029 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4030 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4031
4032 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4033
4034 * minibuffer.el (completion-file-name-table): Complete user names.
4035
4036 2012-04-20 Leo Liu <sdl.web@gmail.com>
4037
4038 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4039 and pcase-let*.
4040
4041 2012-04-20 Chong Yidong <cyd@gnu.org>
4042
4043 * server.el (server-execute): Respect initial-buffer-choice if it
4044 is a string and there are no files to open (Bug#2825).
4045 (server-create-window-system-frame, server-create-tty-frame):
4046 Don't switch buffers here.
4047 (server-process-filter): Only try to open a window system frame if
4048 compiled with graphical support (Bug#8314).
4049
4050 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4051
4052 * battery.el (battery-echo-area-format): Display remaining time
4053 for sysfs backend too (Bug#11269).
4054 (battery-linux-sysfs): Fix conditional for the charge.
4055
4056 2012-04-20 Chong Yidong <cyd@gnu.org>
4057
4058 * progmodes/gdb-mi.el (gdb): Revert previous change.
4059 (gdb-inferior-io--init-proc): New function.
4060 (gdb-init-1): Use it.
4061 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4062 responsible for allocating a new pty and hooking it to gdb when
4063 the old pty gets an EIO due to process exit.
4064 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4065 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4066 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4067
4068 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4069
4070 * window.el (window-min-size, window-sizable, window-min-delta)
4071 (window-max-delta, window--resizable, window-resizable)
4072 (window-total-size, window-full-height-p, window-full-width-p)
4073 (window-in-direction, window--resize-mini-window, window-resize)
4074 (window--resize-child-windows-normal)
4075 (window--resize-child-windows, window--resize-siblings)
4076 (window--resize-this-window, adjust-window-trailing-edge)
4077 (enlarge-window, shrink-window): Doc fixes.
4078
4079 2012-04-20 Chong Yidong <cyd@gnu.org>
4080
4081 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4082 New function to call delete-process on the gdb-inferior buffer's pty.
4083 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4084 pty process (Bug#11273).
4085 (gdb-update): New arg to suppress talking to the gdb process.
4086 (gdb-done-or-error): Use it.
4087 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4088 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4089 sentinel not being called.
4090
4091 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4092
4093 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4094
4095 2012-04-20 Glenn Morris <rgm@gnu.org>
4096
4097 * net/network-stream.el (open-network-stream): Doc fix.
4098
4099 2012-04-20 Chong Yidong <cyd@gnu.org>
4100
4101 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4102
4103 2012-04-20 Alan Mackenzie <acm@muc.de>
4104
4105 Ensure searching for keywords is case sensitive.
4106
4107 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4108 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4109 (c-defun-name, c-mark-function, c-cpp-define-name)
4110 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4111 (c-context-line-break): Bind case-fold-search to nil.
4112
4113 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4114 Bind case-fold-search to nil.
4115
4116 2012-04-20 Chong Yidong <cyd@gnu.org>
4117
4118 * mail/sendmail.el (mail-bury): Call return action with the right
4119 Rmail buffer (Bug#11242).
4120
4121 * server.el (server-process-filter): Handle corner case where both
4122 tty and nowait options are present (Bug#11102).
4123
4124 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4125
4126 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4127 (top level): Put into the executable the ident-style '$Id:' tag on
4128 windows-nt as well.
4129
4130 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4131
4132 * electric.el (electric-indent-post-self-insert-function): Check that
4133 electric-indent-mode is enabled in current buffer.
4134
4135 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4136
4137 * imenu.el (imenu-progress-message): Restore; it is "used" in
4138 erc/erc-imenu.el and net/snmp-mode.el.
4139
4140 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4141
4142 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4143 (mouse-avoidance-nudge-mouse): Remove unused binding.
4144
4145 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4146
4147 * descr-text.el (describe-char):
4148 * progmodes/python.el (python-describe-symbol):
4149 Don't call `toggle-read-only', set `buffer-read-only'.
4150
4151 * imenu.el (imenu-default-goto-function): Mark unused args.
4152 (imenu-progress-message): Remove obsolete macro; all callers changed.
4153
4154 * subr.el (keymap-canonicalize): Remove unused binding.
4155 (read-passwd): Mark unused arg.
4156
4157 * tutorial.el (tutorial--display-changes): Remove unused binding.
4158 (tutorial--save-tutorial-to): Remove unused variable.
4159
4160 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4161 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4162 (package-generate-autoloads, package-menu--generate)
4163 (package-menu--find-upgrades): Remove unused bindings.
4164
4165 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4166 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4167 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4168 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4169 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4170 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4171 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4172 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4173 (cua-delete-char-rectangle): Mark unused args.
4174 (cua-align-rectangle): Remove unused binding.
4175
4176 * mail/rmail.el (compilation--message->loc)
4177 (epa--find-coding-system-for-mime-charset): Declare.
4178
4179 * net/dbus.el (dbus-register-service): Declare.
4180 (dbus-name-owner-changed-handler): Remove unused binding.
4181
4182 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4183 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4184 (nxml-scan-backward-within): Mark unused arg.
4185 (nxml-dynamic-markup-word): Remove unused binding.
4186
4187 * mouse.el (mouse-menu-major-mode-map):
4188 * emacs-lisp/authors.el (authors-scan-change-log)
4189 (authors-add-to-author-list):
4190 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4191 * emacs-lisp/smie.el (smie-auto-fill):
4192 * mail/sendmail.el (mail-bury):
4193 * mail/unrmail.el (unrmail):
4194 * net/tls.el (open-tls-stream):
4195 * textmodes/picture.el (picture-mouse-set-point):
4196 Remove unused bindings.
4197
4198 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4199
4200 * net/tramp.el (tramp-action-password): Let-bind
4201 `enable-recursive-minibuffers' to t.
4202
4203 2012-04-18 Sam Steingold <sds@gnu.org>
4204
4205 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4206 instead of 'string to accommodate values like [f11].
4207 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4208 * progmodes/gdb-mi.el: Likewise.
4209
4210 2012-04-18 Leo Liu <sdl.web@gmail.com>
4211
4212 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4213 current buffer.
4214 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4215 LOCAL is nil.
4216
4217 2012-04-18 Chong Yidong <cyd@gnu.org>
4218
4219 * simple.el (line-move): Use forward-line if in batch mode
4220 (Bug#11053).
4221
4222 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4223
4224 * files.el (after-find-file): Do not try to add a final newline if
4225 the buffer is read-only (Bug#11156).
4226
4227 2012-04-17 Richard Stallman <rms@gnu.org>
4228
4229 * mail/rmail.el (rmail-start-mail):
4230 Pass (rmail-mail-return...) for the return-action.
4231 Pass (rmail-yank-current-message...) for the yank-action.
4232 (rmail-yank-current-message): New function.
4233 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4234 (rmail-reply): Likewise.
4235 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4236
4237 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4238 buffer, not the last. Reject temp buffers. Use the rmail-mode
4239 buffer, not newbuf.
4240
4241 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4242
4243 * server.el (server-ensure-safe-dir): Simplify.
4244
4245 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * emacs-lisp/smie.el: Provide smarter auto-filling.
4248 (smie-auto-fill): New function.
4249 (smie-setup): Use it.
4250
4251 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4252
4253 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4254
4255 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4256 (comment-indent): Use it.
4257
4258 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4259
4260 * ses.el: The overall change is to add cell renaming, that is
4261 setting fancy names for cell symbols other than name matching
4262 "\\`[A-Z]+[0-9]+\\'" regexp .
4263 (ses-localvars): Add ses--renamed-cell-symb-list.
4264 (ses-create-cell-variable): New defun.
4265 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4266 (ses-relocate-formula): Relocate formulas only for cells the
4267 symbols of which are not renamed, i.e. symbols whose names do not
4268 match regexp "\\`[A-Z]+[0-9]+\\'".
4269 (ses-relocate-all): Relocate values only for cells the symbols of
4270 which are not renamed.
4271 (ses-load): Create cells variables as the (ses-cell ...) are read,
4272 in order to check row col consistency with cell symbol name only
4273 for cells that are not renamed.
4274 (ses-replace-name-in-formula): New defun.
4275 (ses-rename-cell): New defun.
4276
4277 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4278
4279 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4280 New option (bug#11118).
4281 (perl-calculate-indent): Respect it.
4282
4283 2012-04-17 Glenn Morris <rgm@gnu.org>
4284
4285 * dired-aux.el (dired-mark-read-string): Doc fix.
4286
4287 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4288
4289 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4290 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4291
4292 2012-04-17 Glenn Morris <rgm@gnu.org>
4293
4294 * mouse.el (mouse-drag-track):
4295 * speedbar.el (speedbar-frame-mode):
4296 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4297
4298 2012-04-16 Leo Liu <sdl.web@gmail.com>
4299
4300 * progmodes/python.el: Trivial cleanup.
4301
4302 2012-04-16 Glenn Morris <rgm@gnu.org>
4303
4304 * vc/vc.el (vc-string-prefix-p):
4305 * vc/pcvs-util.el (cvs-string-prefix-p):
4306 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4307 * mpc.el (mpc-string-prefix-p):
4308 Make all of these into obsolete aliases for string-prefix-p.
4309 Update callers.
4310 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4311
4312 * textmodes/two-column.el: Move custom options to the start.
4313 (frame-width): Remove compat definition.
4314 (2C-associate-buffer, 2C-dissociate):
4315 Use with-current-buffer rather than save-excursion.
4316 (2C-dissociate): Force a mode-line update.
4317 (2C-autoscroll): Use ignore-errors.
4318
4319 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4320 Autoload trivia.
4321
4322 * emacs-lisp/cl-extra.el (*random-state*):
4323 Remove unnecessary declaration.
4324
4325 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4326
4327 * play/cookie1.el (cookie-snarf):
4328 Give an explicit error if input file cannot be read.
4329
4330 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4331
4332 * progmodes/perl-mode.el (c-macro-expand):
4333 Remove unnecessary autoload (it is in loaddefs.el).
4334
4335 * textmodes/picture.el (picture-desired-column)
4336 (picture-update-desired-column): Convert comments to doc-strings.
4337 (picture-substitute): Remove function.
4338 (picture-mode-map): Initialize in the defvar.
4339
4340 * woman.el: Remove eval-after-load for tar-mode.
4341 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4342 (woman-tar-extract-file): Autoload it.
4343
4344 * frame.el (automatic-hscrolling): Make this alias obsolete.
4345
4346 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4347
4348 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4349 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4350 (ispell-dictionary-base-alist): Revert to original XEmacs
4351 friendly version for default. [:alpha:] will be added in
4352 `ispell-set-spellchecker-params' if needed.
4353
4354 2012-04-16 Chong Yidong <cyd@gnu.org>
4355
4356 * image.el (imagemagick--file-regexp): New variable.
4357 (imagemagick-register-types): Use it.
4358 (imagemagick-types-inhibit): Add :set function. Allow new value
4359 of t to inhibit all types.
4360
4361 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4362 so we can preload it.
4363
4364 * loadup.el (fboundp): Preload regexp-opt, needed by
4365 imagemagick-register-types.
4366
4367 2012-04-15 Chong Yidong <cyd@gnu.org>
4368
4369 * frame.el (scrolling): Remove nearly unused customization group.
4370
4371 * scroll-all.el (scroll-all-mode): Move to windows group.
4372
4373 2012-04-15 Chong Yidong <cyd@gnu.org>
4374
4375 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4376
4377 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4380 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4381
4382 2012-04-15 Glenn Morris <rgm@gnu.org>
4383
4384 * simple.el (process-file-side-effects): Doc fix.
4385
4386 2012-04-15 Glenn Morris <rgm@gnu.org>
4387
4388 * international/mule-cmds.el (set-language-environment): Doc fix.
4389
4390 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4391
4392 * server.el (server-auth-key, server-generate-key): Doc fixes.
4393 (server-get-auth-key): Doc fix. Use `string-match-p'.
4394 (server-start): Reflow docstring.
4395
4396 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4397
4398 * server.el (server-generate-key): `called-interactively-p'
4399 requires a parameter.
4400
4401 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4402
4403 * server.el (server-auth-key): New variable.
4404 (server-generate-key, server-get-auth-key): New function.
4405 (server-start): Use the new variable and functions to allow
4406 setting a permanent server key (bug#9423).
4407
4408 2012-04-14 Leo Liu <sdl.web@gmail.com>
4409
4410 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4411
4412 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4413
4414 Spelling fixes.
4415 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4416 Emacs uses American spelling.
4417
4418 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4419
4420 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4421 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4422 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4423 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4424
4425 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4426
4427 * progmodes/which-func.el (which-func-modes): Change default.
4428
4429 2012-04-14 Kim F. Storm <storm@cua.dk>
4430
4431 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4432 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4433
4434 2012-04-14 Chong Yidong <cyd@gnu.org>
4435
4436 * custom.el (custom-theme-set-variables): Doc fix.
4437
4438 2012-04-14 Glenn Morris <rgm@gnu.org>
4439
4440 * international/mule.el (set-auto-coding-for-load): Doc fix.
4441
4442 2012-04-14 Alan Mackenzie <acm@muc.de>
4443
4444 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4445 imenu work again for Objective C Mode. Correct the *-index values,
4446 these having been disturbed by a previous change in 2011-08.
4447
4448 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4449 Correct two search limits.
4450
4451 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4454
4455 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4456
4457 * international/characters.el: Fix sorting.
4458
4459 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4460
4461 * international/characters.el: Add more missing Latin case pairs.
4462
4463 2012-04-14 Glenn Morris <rgm@gnu.org>
4464
4465 * files.el (dir-locals-set-class-variables): Doc fix.
4466
4467 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4468
4469 * international/characters.el: Add set-case-syntax-pair call for
4470 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4471 counterpart. (Bug#11209)
4472
4473 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4474
4475 2012-04-14 Glenn Morris <rgm@gnu.org>
4476
4477 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4478
4479 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4480
4481 * textmodes/ispell.el (ispell-dictionary-base-alist):
4482 Add data for Hebrew.
4483
4484 2012-04-14 Chong Yidong <cyd@gnu.org>
4485
4486 * net/rcirc.el (rcirc-cmd-quit):
4487 Revert 2012-03-18 change (Bug#11192).
4488
4489 2012-04-14 Glenn Morris <rgm@gnu.org>
4490
4491 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4492
4493 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4494
4495 * minibuffer.el (completion-in-region-mode-map):
4496 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
4497
4498 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4499
4500 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4501
4502 2012-04-13 Masatake YAMATO <yamato@redhat.com>
4503
4504 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4505 to allow `C-M-f' and `C-M-b' to move to the nearest path
4506 separator (bug#9511).
4507
4508 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4509
4510 * avoid.el: Require cl when compiling. And also move the
4511 `provide' to the end.
4512
4513 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4514
4515 * avoid.el (mouse-avoidance-banish-position): New variable.
4516 (mouse-avoidance-banish-destination): Use it (bug#10165).
4517
4518 2012-04-13 Leo Liu <sdl.web@gmail.com>
4519
4520 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4521
4522 2012-04-13 Ken Brown <kbrown@cornell.edu>
4523
4524 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4525 this is no longer needed now that cygstart understands file:// URLs.
4526 (browse-url-filename-alist): For the same reason, don't modify
4527 file:// URLs on Cygwin.
4528
4529 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4532 the region on shift if the binding is already shifted (bug#11221).
4533
4534 2012-04-12 Glenn Morris <rgm@gnu.org>
4535
4536 * mail/mailpost.el: Move to obsolete/.
4537
4538 2012-04-12 Drew Adams <drew.adams@oracle.com>
4539
4540 * imenu.el (imenu--generic-function): Ignore invisible definitions
4541 (bug#10123).
4542
4543 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4544
4545 * hexl.el (hexl-bits): New variable.
4546 (hexl-options): Mention the variable in the doc string.
4547 (hexl-rulerise, hexl-line-displen): New functions.
4548 (hexl-mode): Mention the new variable.
4549 (hexl-mode, hexl-current-address, hexl-current-address):
4550 Use the displen.
4551 (hexl-ascii-start-column): New function.
4552 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4553 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4554
4555 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4556
4557 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4558 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4559 the encoding, as expected by hunspell.
4560
4561 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * battery.el (battery--linux-sysfs-regexp): New const.
4564 (battery-status-function): Use it. Remove yeeloong special case.
4565 (battery-yeeloong-sysfs): Remove.
4566 (battery-echo-area-format): Remove yeeloong special case.
4567
4568 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4571 Reported by Noah Friedman.
4572
4573 * subr.el (read-passwd): Use read-string.
4574
4575 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4576
4577 * vcursor.el (vcursor-move): Increase the priority of the overlay
4578 (bug#9663).
4579
4580 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4581
4582 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4583 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4584
4585 2012-04-11 William Stevenson <yhvh2000@gmail.com>
4586
4587 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4588 define-minor-mode (bug#10760).
4589
4590 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4591
4592 * progmodes/grep.el (rgrep): Tweak the find command line so
4593 that directories matching `grep-find-ignored-files' won't be
4594 pruned (bug#10351).
4595
4596 2012-04-11 Chong Yidong <cyd@gnu.org>
4597
4598 * startup.el (command-line): Remove support for long-obsolete
4599 variable font-lock-face-attributes.
4600
4601 2012-04-11 Glenn Morris <rgm@gnu.org>
4602
4603 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4604
4605 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4606
4607 * window.el (window--state-get-1): Obey window-point-insertion-type.
4608
4609 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4610
4611 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4612 to previous function when point is on the first character of a
4613 function. Take care of that in `narrow-to-defun' (bug#6157).
4614
4615 2012-04-11 Glenn Morris <rgm@gnu.org>
4616
4617 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4618 not just file-errors.
4619
4620 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4621 (vc-bzr-sha1): Use internal sha1.
4622
4623 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4626
4627 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4628
4629 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4630 that start in the middle of the line (bug#10496).
4631
4632 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4633
4634 * battery.el (battery-linux-proc-acpi): Only one battery is
4635 discharged at a time, but that seems to confuse battery.el when
4636 computing `rate-type' for the battery not being discharged
4637 (bug#10332).
4638
4639 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4642
4643 * international/quail.el: Use dolist and simplify.
4644 (quail-define-package, quail-update-keyboard-layout)
4645 (quail-define-rules): Use dolist.
4646 (quail-insert-kbd-layout, quail-get-translation): CSE.
4647
4648 * tmm.el: Use dolist, remove left over hook.
4649 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4650 Use dolist.
4651 (calendar-load-hook): Don't mess with it.
4652
4653 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4654 Use derived-mode-p. Run the diff asynchronously.
4655
4656 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4657
4658 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4659
4660 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4661
4662 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4663 (list-dynamic-libraries--loaded): New function.
4664 (list-dynamic-libraries--refresh): Use it.
4665
4666 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4667
4668 * progmodes/python.el (python-fill-paragraph):
4669 Make python-fill-region in a multiline string work when font-lock is
4670 disabled (bug#7018).
4671
4672 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4673
4674 * language/european.el (cp775): Add oem/legacy (en)coding on
4675 DOS/MS Windows for the Baltic languages. There are still plenty
4676 of texts written in this encoding/codepage (bug#6519).
4677
4678 2012-04-10 Glenn Morris <rgm@gnu.org>
4679
4680 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4681 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4682
4683 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4684
4685 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4686 next-line "n" and previous-line "p" in order to make recentf more
4687 consistent with ibuffer, dired or org-mode (bug#9387).
4688
4689 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4690
4691 * image.el (put-image): Return the overlay created instead of the
4692 optional input string (bug#7834). Note that this may break code
4693 that is (for some reason or other) depending on `put-image'
4694 returning the string.
4695
4696 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4697
4698 * simple.el (zap-to-char): Allow zapping using input methods
4699 (bug#1580).
4700
4701 * textmodes/fill.el (fill-region): Leave point and mark where they
4702 were before filling (bug#5399).
4703
4704 2012-04-09 Glenn Morris <rgm@gnu.org>
4705
4706 * version.el (emacs-bzr-get-version):
4707 Handle lightweight checkouts of local branches.
4708
4709 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4710
4711 * international/characters.el: Recover lost case pairs. (Bug#11209)
4712
4713 2012-04-09 Chong Yidong <cyd@gnu.org>
4714
4715 * custom.el (custom-variable-p): Return nil for non-symbol
4716 arguments instead of signaling an error.
4717 (user-variable-p): Obsolete alias for custom-variable-p.
4718
4719 * apropos.el (apropos-variable):
4720 * files-x.el (read-file-local-variable):
4721 * simple.el (set-variable):
4722 * woman.el (woman-mini-help):
4723 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4724
4725 2012-04-09 Glenn Morris <rgm@gnu.org>
4726
4727 * startup.el (normal-top-level): Don't look for leim-list.el
4728 in places where it will not be found. (Bug#910)
4729
4730 * international/mule-cmds.el (set-default-coding-systems):
4731 * files.el (normal-mode):
4732 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4733 This function was removed with ucs-tables.el in 2008.
4734
4735 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4736
4737 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4738 ispell-encoding8-command to "-i", without a trailing space.
4739 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4740 separate command-line arguments, to specify the encoding, since
4741 that's how hunspell expects it.
4742
4743 2012-04-08 Glenn Morris <rgm@gnu.org>
4744
4745 * loadup.el: Load bindings before cus-start.
4746 This reduces somewhat the number of "rogue" settings in emacs -Q.
4747
4748 2012-04-07 Glenn Morris <rgm@gnu.org>
4749
4750 * version.el (emacs-bzr-get-version): New function.
4751 (emacs-bzr-version): New variable.
4752 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4753 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4754
4755 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4756
4757 * international/uni-bidi.el, international/uni-category.el:
4758 * international/uni-combining.el, international/uni-decimal.el:
4759 * international/uni-decomposition.el, international/uni-digit.el:
4760 * international/uni-lowercase.el, international/uni-mirrored.el:
4761 * international/uni-name.el, international/uni-numeric.el:
4762 * international/uni-titlecase.el, international/uni-uppercase.el:
4763 Update for Unicode 6.1.
4764
4765 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4766
4767 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4768
4769 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4770
4771 * window.el (shrink-window): Mention the `window-min-height'
4772 variable in the doc string.
4773
4774 2012-04-05 Bastien Guerry <bzg@altern.org>
4775
4776 * color.el (color-lighten-name): Fix typo.
4777
4778 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 * server.el (server--on-display-p): New function.
4781 (server--on-display-p): Use it.
4782
4783 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4784
4785 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4786 (bug#11145).
4787
4788 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * comint.el (comint--common-quoted-suffix): Check string boundary
4791 before comparing (bug#11158).
4792 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4793
4794 2012-04-04 Chong Yidong <cyd@gnu.org>
4795
4796 * minibuffer.el (completion-extra-properties): Doc fix.
4797
4798 * subr.el (delayed-warnings-hook): Doc fix.
4799
4800 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4801
4802 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4803 selection (Bug#11159).
4804 (epa-insert-keys): Inform that the default public key will be
4805 exported if no key is selected.
4806
4807 2012-04-04 Richard Stallman <rms@gnu.org>
4808
4809 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4810
4811 2012-04-03 Chong Yidong <cyd@gnu.org>
4812
4813 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4814 mail-insert-file, not its obsolete alias mail-attach-file.
4815
4816 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4817
4818 * notifications.el (notifications-notify): Fix docstring.
4819
4820 2012-04-02 Glenn Morris <rgm@gnu.org>
4821
4822 * emacs-lisp/authors.el (authors-aliases): Another addition.
4823
4824 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4825
4826 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4827 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4828 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4829
4830 2012-04-01 Chong Yidong <cyd@gnu.org>
4831
4832 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4833 Handle root directory properly.
4834 (copy-directory): Caller changed.
4835
4836 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4837 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4838
4839 2012-03-31 Glenn Morris <rgm@gnu.org>
4840
4841 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4842
4843 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4844
4845 * calendar/calendar.el (calendar-window-list)
4846 (calendar-hide-window): Restore. (Bug#11140)
4847 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4848
4849 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4850
4851 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4852
4853 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4854 Check if file is a symlink (Bug#10489).
4855
4856 * files.el (copy-directory): Likewise.
4857
4858 2012-03-30 Chong Yidong <cyd@gnu.org>
4859
4860 * image.el (imagemagick-types-inhibit)
4861 (imagemagick-register-types): Doc fix.
4862
4863 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4864
4865 * textmodes/ispell.el (ispell-get-extended-character-mode):
4866 Disable extended-char-mode for hunspell. hunspell does not support it
4867 and treats ~word as ordinary words in pipe mode.
4868
4869 2012-03-30 Glenn Morris <rgm@gnu.org>
4870
4871 * tutorial.el (help-with-tutorial): Ensure local variables don't
4872 happen to make the buffer read-only. (Bug#11127)
4873
4874 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4875
4876 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4877 (perl-calculate-indent): Return `noindent' in strings.
4878
4879 2012-03-28 Sam Steingold <sds@gnu.org>
4880
4881 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4882 instead of the broken adhockery which does not prevent calendar
4883 buffers from being displayed at random after exit.
4884 (calendar-window-list, calendar-hide-window): Remove the broken
4885 adhockery.
4886
4887 2012-03-28 Glenn Morris <rgm@gnu.org>
4888
4889 * replace.el (query-replace-map): Doc fix.
4890
4891 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4892
4893 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4894 contents. (Bug#11109)
4895
4896 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4897
4898 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4899 (bug#11077).
4900 (avl-tree--check, avl-tree--check-node): New funs.
4901
4902 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4903
4904 * window.el (switch-to-visible-buffer): New option.
4905 (switch-to-prev-buffer, switch-to-next-buffer):
4906 Observe switch-to-visible-buffer. Make sure that checking for a window
4907 showing a buffer already is done on the same frame.
4908
4909 2012-03-27 Glenn Morris <rgm@gnu.org>
4910
4911 * startup.el (mail-host-address): Doc fix.
4912
4913 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4916 than 197 variables.
4917
4918 2012-03-26 Ami Fischman <ami@fischman.org>
4919
4920 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4921
4922 2012-03-26 Glenn Morris <rgm@gnu.org>
4923
4924 * files.el (save-buffers-kill-emacs): Doc fix.
4925
4926 * startup.el (normal-top-level, command-line, command-line-1):
4927 Give them doc strings.
4928
4929 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4930
4931 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4932 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4933
4934 2012-03-25 Chong Yidong <cyd@gnu.org>
4935
4936 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4937 theme if it was previously enabled before (Bug#11031).
4938
4939 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4940 spec with custom-face-get-current-spec if its :shown-value is not
4941 determined yet (Bug#9337).
4942 (customize-create-theme, custom-theme-revert): Doc fixes.
4943
4944 * button.el (button-at): Minor addition to docstring.
4945
4946 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4947
4948 * vc/vc.el (vc-merge): Fix a prompt.
4949
4950 2012-03-24 Chong Yidong <cyd@gnu.org>
4951
4952 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4953 point (Bug#9623).
4954
4955 * button.el (button-at): Minor addition to docstring.
4956
4957 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * newcomment.el (comment-choose-indent): No space after BOL.
4960
4961 2012-03-22 Sam Steingold <sds@gnu.org>
4962
4963 * window.el (switch-to-prev-buffer): Revert last patch because the
4964 bug turned out to be an advertised feature (Elisp manual 28.14).
4965
4966 2012-03-22 Glenn Morris <rgm@gnu.org>
4967
4968 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4969 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4970
4971 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4972
4973 * net/network-stream.el (network-stream-open-starttls): Make error
4974 message under Windows be less misleading.
4975
4976 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4977
4978 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4979 understands (bug#9942).
4980
4981 2012-03-22 Chong Yidong <cyd@gnu.org>
4982
4983 * simple.el (end-of-visible-line): Handle return value of
4984 next-single-property-change properly (Bug#9371).
4985
4986 2012-03-22 Kenichi Handa <handa@m17n.org>
4987
4988 * international/quail.el (quail-insert-kbd-layout): Fix previous
4989 change. To avoid unwanted bidi reordering, use
4990 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4991
4992 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4993
4994 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4995 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4996 (ruby-beginning-of-indent): Be more careful with the difference
4997 between word-boundary and symbol boundary.
4998 (ruby-mode-syntax-table): Make : a symbol constituent.
4999
5000 2012-03-21 Andreas Politz <politza@fh-trier.de>
5001
5002 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5003
5004 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5005
5006 * progmodes/etags.el (tags-completion-at-point-function):
5007 Improve last fix.
5008
5009 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5010
5011 2012-03-21 Sam Steingold <sds@gnu.org>
5012
5013 * progmodes/etags.el (tags-completion-at-point-function):
5014 Avoid the error when point is inside the pattern.
5015
5016 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5017
5018 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5019 line (Bug#10855).
5020
5021 2012-03-21 Drew Adams <drew.adams@oracle.com>
5022
5023 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5024
5025 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5026
5027 * ido.el (ido-set-current-directory, ido-read-internal)
5028 (ido-choose-completion-string, ido-completion-help): Handle nil
5029 value of ido-completion-buffer (Bug#11008).
5030
5031 2012-03-21 Sam Steingold <sds@gnu.org>
5032
5033 * window.el (switch-to-prev-buffer): Do not switch to a visible
5034 window previous buffer, just like with the frame previous buffers.
5035
5036 2012-03-21 Chong Yidong <cyd@gnu.org>
5037
5038 * faces.el (make-face, make-empty-face, copy-face):
5039 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5040 Doc fixes.
5041
5042 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5045 (widget-complete): Remove broken use of it.
5046
5047 2012-03-20 Chong Yidong <cyd@gnu.org>
5048
5049 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5050 Use string-width and truncate-string-width to handle arbitrary
5051 characters.
5052
5053 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5054
5055 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5056 to draw rectangles, not squares. (Regression introduced by revno
5057 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5058
5059 2012-03-18 Chong Yidong <cyd@gnu.org>
5060
5061 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5062 it is not yet defined (for temacs).
5063
5064 2012-03-18 Leo Liu <sdl.web@gmail.com>
5065
5066 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5067
5068 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5069
5070 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5071 (ispell-choices-win-default-height, ispell-silently-savep)
5072 (ispell-dictionary-alist, ispell-encoding8-command)
5073 (ispell-check-version, ispell-aspell-find-dictionary)
5074 (ispell-valid-dictionary-list, ispell-words-keyword)
5075 (ispell-get-word, ispell-internal-change-dictionary)
5076 (ispell-region, ispell-skip-region-list)
5077 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5078 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5079 (ispell-message-text-end, ispell-message)
5080 (ispell-buffer-local-parsing): Doc fix.
5081
5082 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5083
5084 * htmlfontify.el: Add support for code block fontification for ODT
5085 export (Bug #9914).
5086 (hfy-optimisations): Define new option
5087 `body-text-only'
5088 (hfy-fontify-buffer): Honor above setting.
5089 (hfy-begin-span, hfy-end-span): New routines factored out form
5090 `hfy-fontify-buffer'.
5091 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5092 that permit insertion of custom tags.
5093 (hfy-fontify-buffer): Use above handlers.
5094 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5095 (hfy-face-to-css): Re-defined to be a variable.
5096 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5097 over multiple runs. This is made possible by having the caller let
5098 bind a special variable `hfy-user-sheet-assoc'.
5099 (htmlfontify-string): New defun.
5100 (hfy-compile-face-map): Make sure that the last char in the
5101 buffer is correctly fontified.
5102 (hfy-face-resolve-face): Whitespace only change.
5103
5104 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5105
5106 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5107 message more clear.
5108
5109 2012-03-16 Leo Liu <sdl.web@gmail.com>
5110
5111 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5112
5113 2012-03-16 Alan Mackenzie <acm@muc.de>
5114
5115 Further optimise the handling of large macros.
5116
5117 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5118 limit to a call of `c-literal-limits'.
5119 (c-determine-+ve-limit): New function.
5120 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5121 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5122 In CASE 5B, restrict a search limit to 500.
5123 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5124
5125 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5126 Restrict macro bounds to +-500 from after-change's BEG END.
5127
5128 2012-03-16 Leo Liu <sdl.web@gmail.com>
5129
5130 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5131
5132 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5133
5134 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5135 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5136
5137 2012-03-16 Glenn Morris <rgm@gnu.org>
5138
5139 * view.el (view-buffer, view-buffer-other-window)
5140 (view-buffer-other-frame): Doc fixes re special mode-class.
5141
5142 * subr.el (eval-after-load): If named feature is provided not from
5143 a file, run after-load forms. (Bug#10946)
5144
5145 * calendar/calendar.el (calendar-insert-at-column):
5146 Handle non-unit-width characters a bit better. (Bug#10978)
5147
5148 2012-03-15 Chong Yidong <cyd@gnu.org>
5149
5150 * emacs-lisp/ring.el (ring-extend): New function.
5151 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5152
5153 * comint.el (comint-read-input-ring)
5154 (comint-add-to-input-history): Grow comint-input-ring lazily.
5155
5156 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5157
5158 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5159 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5160
5161 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5162 (imenu-add-to-menubar): Don't add a redundant index.
5163 (imenu-update-menubar): Handle a dynamically composed keymap.
5164
5165 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5166
5167 * mail/sendmail.el (mail-encode-header):
5168 Bind rfc2047-encode-encoded-words to nil.
5169
5170 2012-03-13 Glenn Morris <rgm@gnu.org>
5171
5172 * calendar/calendar.el (calendar-string-spread):
5173 Handle non-unit-width characters a bit better. (Bug#10978)
5174
5175 2012-03-13 Leo Liu <sdl.web@gmail.com>
5176
5177 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5178 directory and file as argument (Bug#10822).
5179
5180 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5181
5182 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5183 For dynamically generated code, follow $PC.
5184 (gdb-disassembly-handler-custom): Handle no function name case.
5185
5186 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5187
5188 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5189 * emulation/ws-mode.el (ws-query-replace):
5190 * sort.el (sort-regexp-fields):
5191 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5192
5193 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * dabbrev.el: Fix cycle completion order (bug#10963).
5196 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5197 (dabbrev-completion): Don't use an obarray; provide
5198 a cycle-sort-function.
5199
5200 2012-03-12 Leo Liu <sdl.web@gmail.com>
5201
5202 * simple.el (kill-new): Use equal-including-properties for comparison.
5203 (kill-do-not-save-duplicates): Doc fix.
5204
5205 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * dabbrev.el: Fix cycle completion (bug#10963).
5208 Use lexical binding and wrap to 80 columns.
5209 (dabbrev-completion): Delay computing the list of completions.
5210
5211 2012-03-12 Kenichi Handa <handa@m17n.org>
5212
5213 * international/quail.el (quail-insert-kbd-layout): Surround each
5214 row by LRO and PDF instead of inserting many LRMs. Pad the left
5215 and right of each non-spacing marks. Insert invisible space
5216 between lower and upper characters to prevent composition.
5217
5218 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * minibuffer.el (minibuffer-complete): Don't get confused when the
5221 function is run twice via different commands (bug#10958).
5222 (complete-with-action): Fix docstring.
5223
5224 2012-03-12 Chong Yidong <cyd@gnu.org>
5225
5226 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5227 (nxml-completion-at-point-function): New function.
5228 (nxml-mode): Use it.
5229 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5230
5231 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5232 Load generated autoloads file before byte compiling (Bug#10970).
5233 (package--make-autoloads-and-compile): New helper fun.
5234
5235 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5236
5237 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5238
5239 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5240
5241 * autorevert.el (auto-revert-handler): Ensure, that
5242 file-readable-p is applied only for local files or in
5243 auto-revert-tail-mode.
5244
5245 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5246
5247 * server.el (server-eval-at): Handle non-tcp connections.
5248 Decode result string.
5249
5250 * server.el (server-msg-size): New constant.
5251 (server-reply-print): New function.
5252 (server-eval-and-print): Use it.
5253 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5254 Handle -print-nonl.
5255
5256 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5257
5258 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5259 (Bug#10987).
5260
5261 2012-03-11 Chong Yidong <cyd@gnu.org>
5262
5263 * simple.el (goto-line): Doc fix (Bug#9938).
5264
5265 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5266
5267 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5268 when finished (Bug#10963).
5269
5270 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5271
5272 * window.el (split-window-below): Fix bug in case where
5273 split-window-keep-point is nil (Bug#10971).
5274
5275 2012-03-11 Juri Linkov <juri@jurta.org>
5276
5277 * replace.el (replace-highlight): Set isearch-word to nil
5278 unconditionally. (Bug#10887)
5279
5280 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5281
5282 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5283 mairix-replace-illegal-chars; all callers changed. Don't remove
5284 ^, ~, and = characters: they are meaningful in mairix search specs.
5285 (mairix-widget-create-query): Add usage information about mairix
5286 search forms: negating words, searching for substrings, etc.
5287
5288 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5289
5290 * international/fontset.el (font-encoding-alist): Add an entry for
5291 ksx1001 (Bug#5667).
5292
5293 2012-03-10 Richard Stallman <rms@gnu.org>
5294
5295 * mail/sendmail.el (mail-encode-header):
5296 Set rfc2047-encode-encoded-words.
5297
5298 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5299
5300 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5301 view buffer means not swapped.
5302 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5303 (rmail-write-region-annotate): Error if real text has disappeared.
5304
5305 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5306
5307 2012-03-10 Chong Yidong <cyd@gnu.org>
5308
5309 * emulation/cua-rect.el (cua--init-rectangles):
5310 * emulation/cua-base.el (cua--init-keymaps):
5311 Add delete-forward-char to remappings (Bug#9666).
5312
5313 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5314
5315 * speedbar.el (speedbar-unhighlight-one-tag-line):
5316 Avoid unhighlighting due to frame switching (Bug#10275).
5317
5318 2012-03-10 Chong Yidong <cyd@gnu.org>
5319
5320 * minibuffer.el (completion-in-region, completion-help-at-point):
5321 Give the completion field overlay a high priority (Bug#6830).
5322
5323 * dired.el (dired-goto-file): Recognize absolute file name
5324 listings (Bug#7126).
5325 (dired-goto-file-1): New helper function.
5326 (dired-toggle-read-only): Inhibit warnings.
5327
5328 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5329
5330 * net/dbus.el (dbus-property-handler): Return empty array if
5331 there are no properties.
5332
5333 2012-03-09 Leo Liu <sdl.web@gmail.com>
5334
5335 * savehist.el (savehist-printable): Stricter check for string
5336 value (Bug#10937).
5337
5338 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5339
5340 * mail/smtpmail.el (smtpmail-send-it):
5341 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5342 valid mbox format.
5343
5344 2012-03-09 Glenn Morris <rgm@gnu.org>
5345
5346 * files.el (dir-locals-find-file):
5347 Don't check result is regular, readable.
5348 (dir-locals-read-from-file): Demote errors.
5349
5350 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5351
5352 * international/quail.el (quail-insert-kbd-layout):
5353 Insert invisible LRM characters before each character in a keyboard
5354 layout cell, to prevent their reordering by bidi display engine.
5355 For details, see the discussion in
5356 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5357
5358 2012-03-08 Alan Mackenzie <acm@muc.de>
5359
5360 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5361 the starting position; make it extend the marked region when
5362 invoked repeatedly - all under appropriate circumstances.
5363 Fixes bugs #5525, #10906.
5364
5365 2012-03-08 Glenn Morris <rgm@gnu.org>
5366
5367 * files.el (locate-dominating-file, dir-locals-find-file):
5368 Undo 2012-03-06 change.
5369
5370 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5371
5372 * international/quail.el (quail-help):
5373 Force bidi-paragraph-direction be left-to-right. See discussion in
5374 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5375 for the reason.
5376
5377 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5378
5379 Avoid superfluous registering of signals. (Bug#10807)
5380
5381 * notifications.el (notifications-on-action-object)
5382 (notifications-on-close-object): New defvars.
5383 (notifications-on-action-signal, notifications-on-closed-signal):
5384 Unregister the signal if not needed any longer.
5385 (notifications-notify): Register `notifications-action-signal' or
5386 `notifications-closed-signal', if :on-action or :on-close has been
5387 passed as argument.
5388
5389 2012-03-07 Chong Yidong <cyd@gnu.org>
5390
5391 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5392 non-X platforms.
5393
5394 2012-03-06 Glenn Morris <rgm@gnu.org>
5395
5396 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5397 (x-disown-selection-internal, x-get-selection-internal):
5398 Doc fix (add arglist signatures). (Bug#10783)
5399
5400 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5401
5402 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5403 Handle breakpoints with no "type".
5404
5405 2012-03-06 Glenn Morris <rgm@gnu.org>
5406
5407 * files.el (locate-dominating-file): Add optional predicate argument.
5408 (dir-locals-find-file): Make use of above change.
5409
5410 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5411
5412 * info.el (Info-insert-dir): Also try "dir.gz".
5413
5414 2012-03-06 Glenn Morris <rgm@gnu.org>
5415
5416 * files.el (dir-locals-find-file):
5417 Ignore non-readable or non-regular files. (Bug#10928)
5418
5419 * files.el (locate-dominating-file): Doc fix.
5420
5421 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5422
5423 * calendar/calendar.el (calendar-set-mode-line):
5424 `getenv' returns a string. (Bug#10951)
5425
5426 2012-03-05 Leo Liu <sdl.web@gmail.com>
5427
5428 * simple.el (backward-delete-char-untabify): Constrain point to
5429 field (Bug#10939).
5430
5431 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5432
5433 2012-03-05 Chong Yidong <cyd@gnu.org>
5434
5435 * simple.el (count-words): If called from Lisp, return the word
5436 count, for symmetry with `count-lines'. Arglist changed.
5437 (count-words--message): Args changed. Consolidate counting code
5438 from count-words and count-words-region.
5439 (count-words-region): Caller changed.
5440 (count-lines-region): Make it an obsolete alias.
5441
5442 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5443
5444 * saveplace.el (save-place-to-alist)
5445 (save-place-ignore-files-regexp): Allow value nil to disable this
5446 feature.
5447
5448 2012-03-04 Chong Yidong <cyd@gnu.org>
5449
5450 * faces.el (face-spec-reset-face): For the default face, reset the
5451 attributes to default values (Bug#10748).
5452
5453 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5454
5455 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5456 previous patch: Check `message-send-mail-function', and not the
5457 default function (bug#10897).
5458
5459 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5460
5461 * notifications.el (notifications-on-action-signal)
5462 (notifications-on-closed-signal): Check for unique service name of
5463 incoming event. Fix error in removing entry.
5464 (top): Register for signals with wildcard service name.
5465 (notifications-notify): Use daemon unique service name for map entries.
5466
5467 2012-03-04 Chong Yidong <cyd@gnu.org>
5468
5469 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5470
5471 2012-03-04 Glenn Morris <rgm@gnu.org>
5472
5473 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5474 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5475 (expand-abbrev, define-abbrev-table): Doc fixes.
5476
5477 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5478
5479 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5480 `message-default-send-mail-function' and not `send-mail-function'
5481 when doing the prompting for `sendmail-query-once' before sending
5482 in Message buffers (bug#10897).
5483
5484 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5485 This is inconsistent with all the other stream functions, which leave
5486 the setting up to the higher levels (if so wanted) (bug#10931).
5487
5488 2012-03-02 Alan Mackenzie <acm@muc.de>
5489
5490 Depessimize the handling of very large macros.
5491
5492 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5493 (c-macro-cache-syntactic): New variables to implement a one
5494 element macro cache.
5495 (c-invalidate-macro-cache): New function.
5496 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5497 Adapt to use the new cache.
5498 (c-state-safe-place): Use better the cache of safe positions.
5499 (c-state-semi-nonlit-pos-cache)
5500 (c-state-semi-nonlit-pos-cache-limit):
5501 New variables for...
5502 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5503 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5504 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5505 Use c-state-semi-safe-place.
5506
5507 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5508 Add c-invalidate-macro-cache to the C, C++, Obj entries.
5509
5510 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
5511
5512 * jka-compr.el (jka-compr-call-process):
5513 Apply `file-accessible-directory-p' only when the default directory is
5514 not remote.
5515
5516 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
5517
5518 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5519 access of FILE2, if FILE1 does not exist.
5520
5521 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5522 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5523
5524 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5525 Add "PAGER=" to `process-environment'.
5526
5527 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5528
5529 * progmodes/sql.el: Bug fix
5530 (sql-get-login-ext): Save login values in globals.
5531 (sql-get-login): Use new version of `sql-get-login-ext'.
5532 (sql-interactive-mode): Set global `sql-connection' to nil.
5533 (sql-connect): Set global values for connection.
5534 (sql-product-interactive): Save global values as buffer local.
5535
5536 2012-02-29 Leo Liu <sdl.web@gmail.com>
5537
5538 * abbrev.el (define-abbrevs): Reset sys to nil.
5539
5540 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5541
5542 * files.el (file-equal-p): Rename from `files-equal-p'.
5543 Return nil when one or both files don't exist.
5544 (file-subdir-of-p): Now only top directory must exists,
5545 return nil if it doesn't.
5546 (copy-directory): No need to test with `file-subdir-of-p' after
5547 creating dir.
5548 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5549 to `file-equal-p'.
5550
5551 2012-02-28 Glenn Morris <rgm@gnu.org>
5552
5553 * shell.el (shell-mode):
5554 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5555 * play/landmark.el (landmark-font-lock-face-O):
5556 * play/handwrite.el (handwrite):
5557 * play/gomoku.el (gomoku-O):
5558 * net/browse-url.el (browse-url-browser-display):
5559 * international/mule.el (define-charset):
5560 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5561 * filesets.el (filesets-find-file-delay):
5562 * eshell/em-xtra.el (eshell-xtra):
5563 * eshell/em-unix.el (eshell-grep):
5564 * emulation/viper.el (viper-mode):
5565 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5566 * emacs-lisp/easymenu.el (easy-menu-define):
5567 * calendar/timeclock.el (timeclock-use-display-time):
5568 * bs.el (bs-mode):
5569 * bookmark.el (bookmark-save-flag):
5570 Doc fix (standardize possessive apostrophe usage).
5571
5572 2012-02-27 Chong Yidong <cyd@gnu.org>
5573
5574 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5575 Fix key-binding lookup for ESC key (Bug#9146).
5576
5577 * font-lock.el (font-lock-specified-p): Rename from
5578 font-lock-spec-present. Callers changed.
5579
5580 2012-02-27 Daniel Hackney <dan@haxney.org>
5581
5582 * emacs-lisp/package.el (package-compute-transaction):
5583 Handle holding a package version to t in package-load-list.
5584
5585 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
5586
5587 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5588 (tramp-get-inode, tramp-get-device): Use cached values.
5589
5590 2012-02-26 Alan Mackenzie <acm@muc.de>
5591
5592 Check there is a font-lock specification before doing initial
5593 fontification.
5594
5595 * font-core.el (font-lock-mode): Move the conditional from
5596 :after-hook to font-lock-initial-fontify.
5597 (font-lock-default-function): Move the check for a specification
5598 to font-lock-spec-present.
5599
5600 * font-lock.el (font-lock-initial-fontify): Call ...
5601 (font-lock-spec-present): New function.
5602
5603 2012-02-26 Jim Blandy <jimb@red-bean.com>
5604
5605 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5606 (gdb-send): Apply it to the operand of the '-interpreter-exec
5607 console' command, so that we can pass arguments with (say) quotes
5608 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5609
5610 2012-02-26 Chong Yidong <cyd@gnu.org>
5611
5612 * help-fns.el (describe-function-1): Clarify description of
5613 remapping (Bug#10844).
5614
5615 * files.el (files-equal-p): Doc fix.
5616 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5617 and quit the loop once a mismatch is found.
5618
5619 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5620
5621 * bs.el (bs--show-with-configuration): Don't throw an error
5622 if the window cannot be split; otherwise, subsequent calls to
5623 bs-show fail, restoring a stale window config. (Bug#10882)
5624
5625 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5626
5627 * term/ns-win.el (global-map): Bind ns-drag-file to
5628 ns-find-file (Bug#5855, Bug#10050).
5629
5630 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5631
5632 * calendar/parse-time.el (parse-time-string): Allow extractor to
5633 return nil.
5634
5635 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5636
5637 * net/tramp.el (tramp-file-name-for-operation):
5638 Add `files-equal-p' and `file-subdir-of-p'.
5639
5640 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5641 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5642 Add COPY-CONTENTS argument.
5643
5644 2012-02-25 Chong Yidong <cyd@gnu.org>
5645
5646 Add custom groups for VC backends, for consistency with vc-bzr.
5647
5648 * vc/vc-arch.el (vc-arch):
5649 * vc/vc-cvs.el (vc-cvs):
5650 * vc/vc-git.el (vc-git):
5651 * vc/vc-hg.el (vc-hg):
5652 * vc/vc-mtn.el (vc-mtn):
5653 * vc/vc-rcs.el (vc-rcs):
5654 * vc/vc-sccs.el (vc-sccs):
5655 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5656 All relevant defcustoms reassigned.
5657
5658 2012-02-25 Chong Yidong <cyd@gnu.org>
5659
5660 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5661
5662 * term/x-win.el (x-initialize-window-system): Reduce default for
5663 x-selection-timeout to 5 seconds (Bug#8869).
5664
5665 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5666
5667 * files.el (files-equal-p, file-subdir-of-p): New functions.
5668 (copy-directory): Error when trying to copy a directory on itself.
5669 Add missing copy-contents arg to tramp handler.
5670 * dired-aux.el (dired-copy-file-recursive): Same.
5671 (dired-create-files): Modify destination when source is equal to
5672 dest when copying files.
5673 Return also when dest is a subdir of source. (Bug#10489)
5674
5675 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5676
5677 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5678 (Bug#10874)
5679
5680 2012-02-23 Alan Mackenzie <acm@muc.de>
5681
5682 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5683 parameter "after-hook:" to allow the expansion to run code after
5684 the execution of the mode hooks.
5685
5686 * font-lock.el (font-lock-initial-fontify): New function extracted
5687 from font-lock-mode-internal.
5688
5689 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5690 :after-hook.
5691
5692 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5693
5694 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5695 (completion--cache-all-sorted-completions): New function.
5696 (completion-all-sorted-completions): Use it.
5697 (completion--do-completion, minibuffer-force-complete):
5698 Use it to re-instate the flush hook.
5699
5700 * icomplete.el (icomplete-completions): Replace last fix with a better
5701 one (bug#10850).
5702
5703 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5704
5705 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5706 when it might call us back infinitely (bug#10797).
5707
5708 2012-02-23 Glenn Morris <rgm@gnu.org>
5709
5710 * minibuffer.el (completion-category-overrides): Doc fix.
5711
5712 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5715 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5716
5717 2012-02-23 Glenn Morris <rgm@gnu.org>
5718
5719 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5720 (authors-obsolete-files-regexps, authors-ignored-files)
5721 (authors-ambiguous-files, authors-renamed-files-alist):
5722 Add more entries.
5723
5724 2012-02-23 Juri Linkov <juri@jurta.org>
5725
5726 * isearch.el (isearch-occur): Sync interactive spec with occur's
5727 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5728
5729 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5730
5731 2012-02-22 Juri Linkov <juri@jurta.org>
5732
5733 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5734 (ucs-insert): Doc fix. Check for hex digits in the string.
5735 Don't display `nil' in the error message. (Bug#10857)
5736
5737 2012-02-22 Alan Mackenzie <acm@muc.de>
5738
5739 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5740
5741 2012-02-22 Glenn Morris <rgm@gnu.org>
5742
5743 * ffap.el (ffap-c-path):
5744 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5745
5746 2012-02-22 Chong Yidong <cyd@gnu.org>
5747
5748 * custom.el (load-theme): Doc fix.
5749
5750 2012-02-22 Glenn Morris <rgm@gnu.org>
5751
5752 * dired-x.el (dired-guess-shell-alist-default):
5753 Remove escape sequences from nroff output. (Bug#172)
5754
5755 2012-02-21 Glenn Morris <rgm@gnu.org>
5756
5757 * vc/emerge.el (emerge-defvar-local):
5758 Set `permanent-local' property rather than unused `preserved'.
5759
5760 * textmodes/picture.el (picture-delete-char): New alias.
5761 (picture-mode-map): Use it. (Bug#10860)
5762 (picture-mode): Doc fix.
5763
5764 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5765
5766 * newcomment.el (uncomment-region-default): Remove unused binding.
5767
5768 2012-02-21 Glenn Morris <rgm@gnu.org>
5769
5770 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5771 (picture-self-insert, picture-tab-chars): Doc fix.
5772 (picture-mode-map): Fix C-a, C-e.
5773
5774 2012-02-20 Glenn Morris <rgm@gnu.org>
5775
5776 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5777
5778 2012-02-20 Leo Liu <sdl.web@gmail.com>
5779
5780 * icomplete.el (icomplete-completions): Check FROM arg before
5781 passing to substring (Bug#10850).
5782
5783 2012-02-19 Chong Yidong <cyd@gnu.org>
5784
5785 * comint.el: Require ansi-color.
5786 (comint-output-filter-functions): Add ansi-color-process-output.
5787
5788 * ansi-color.el: Don't set comint-output-filter-functions; it is
5789 now in the initial value defined in comint.el.
5790 (ansi-color-apply-face-function): New variable.
5791 (ansi-color-apply-on-region): Use it.
5792 (ansi-color-apply-overlay-face): New function.
5793
5794 * shell.el (shell): No need to require ansi-color.
5795 (shell-mode): Use ansi-color-apply-face-function to highlight
5796 color escapes using font-lock-face property (Bug#10835).
5797
5798 2012-02-19 Chong Yidong <cyd@gnu.org>
5799
5800 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5801 mode-line formats (Bug#10839).
5802
5803 2012-02-18 Glenn Morris <rgm@gnu.org>
5804
5805 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5806
5807 * mail/undigest.el (unforward-rmail-message): Doc fix.
5808
5809 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5810
5811 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5812
5813 * international/characters.el (script-list): Sync with the latest
5814 Unicode Character Database.
5815
5816 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5817
5818 * international/titdic-cnv.el: Remove duplicate coding tag.
5819 * language/cham.el: Likewise.
5820 * language/tai-viet.el: Likewise.
5821
5822 2012-02-18 Glenn Morris <rgm@gnu.org>
5823
5824 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5825 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5826 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5827 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5828 * calendar/holidays.el (holiday-bahai-holidays)
5829 (calendar-holidays, list-holidays):
5830 Use utf-8 Bahá'í in doc-strings, menus, etc.
5831
5832 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5833
5834 * saveplace.el (save-place-ignore-files-regexp): New variable
5835 allowing for excluding files from saving their location of point.
5836 The default value matches the temporary commit message editing
5837 files from Git, SVN, Bazaar, and Mercurial.
5838 (save-place-to-alist): Use it.
5839
5840 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5841 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * newcomment.el (uncomment-region-default): Don't leave extra space
5844 when an arg is provided (bug#8150).
5845
5846 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5847
5848 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5849
5850 2012-02-17 Glenn Morris <rgm@gnu.org>
5851
5852 * net/socks.el: Require network-stream. (Bug#10599)
5853
5854 2012-02-17 Kenichi Handa <handa@m17n.org>
5855
5856 * international/charprop.el:
5857 * international/uni-name.el:
5858 * international/uni-old-name.el:
5859 * international/uni-comment.el: Regenerate.
5860
5861 2012-02-16 Glenn Morris <rgm@gnu.org>
5862
5863 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5864 Interactively in calendar buffer, give an error if not on a date.
5865
5866 2012-02-15 Glenn Morris <rgm@gnu.org>
5867
5868 * shell.el (shell-delimiter-argument-list):
5869 Revert 2011-02-17 change. (Bug#8027)
5870
5871 2012-02-15 Chong Yidong <cyd@gnu.org>
5872
5873 * minibuffer.el (completion-at-point-functions): Doc fix.
5874
5875 * custom.el (defcustom): Doc fix; note use of defvar.
5876
5877 2012-02-15 Glenn Morris <rgm@gnu.org>
5878
5879 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5880 Doc fixes.
5881
5882 2012-02-14 Glenn Morris <rgm@gnu.org>
5883
5884 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5885
5886 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5887
5888 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5889 way the ports list is computed.
5890 (smtpmail-query-smtp-server): Prompt the user for a port number if
5891 we can't connect to any of the standard ports (bug#10810).
5892
5893 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5894
5895 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5896
5897 2012-02-13 Glenn Morris <rgm@gnu.org>
5898
5899 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5900
5901 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5902
5903 * net/gnutls.el (gnutls-trustfiles): New variable.
5904 (gnutls-negotiate): Use it.
5905
5906 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5907
5908 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5909 does its stuff if Gnus is running.
5910
5911 2012-02-13 Alan Mackenzie <acm@muc.de>
5912
5913 Fix a loop in c-set-fl-decl-start.
5914
5915 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5916 c-backward-syntactic-ws actually moves backwards.
5917
5918 2012-02-13 Leo Liu <sdl.web@gmail.com>
5919
5920 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5921 beginning so that all \C-o chars are removed.
5922
5923 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5924
5925 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5926
5927 2012-02-12 Alan Mackenzie <acm@muc.de>
5928
5929 Fix infinite loop with long macros.
5930 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5931
5932 2012-02-12 Chong Yidong <cyd@gnu.org>
5933
5934 * window.el (display-buffer): Doc fix (Bug#10785).
5935
5936 2012-02-12 Glenn Morris <rgm@gnu.org>
5937
5938 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5939 (x-disown-selection-internal, x-get-selection-internal):
5940 Sync docs with the xselect.c versions.
5941
5942 * allout-widgets.el: Add missing license notice.
5943
5944 2012-02-11 Glenn Morris <rgm@gnu.org>
5945
5946 * select.el (x-get-selection-internal, x-own-selection-internal)
5947 (x-disown-selection-internal):
5948 * x-dnd.el (x-get-selection-internal): Update declarations.
5949
5950 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5951
5952 * window.el (window-sides-slots):
5953 * tool-bar.el (tool-bar-position):
5954 * term/xterm.el (xterm-extra-capabilities):
5955 * ses.el (ses-self-reference-early-detection):
5956 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5957 (verilog-auto-wire-type)
5958 (verilog-auto-delete-trailing-whitespace)
5959 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5960 (verilog-auto-tieoff-declaration):
5961 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5962 (sql-oracle-statement-starters, sql-oracle-scan-on):
5963 * progmodes/prolog.el (prolog-align-comments-flag)
5964 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5965 (prolog-left-indent-regexp, prolog-paren-indent-p)
5966 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5967 (prolog-types, prolog-mode-specificators)
5968 (prolog-determinism-specificators, prolog-directives)
5969 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5970 (prolog-electric-dot-flag)
5971 (prolog-electric-dot-full-predicate-template)
5972 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5973 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5974 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5975 (prolog-program-switches, prolog-prompt-regexp)
5976 (prolog-debug-on-string, prolog-debug-off-string)
5977 (prolog-trace-on-string, prolog-trace-off-string)
5978 (prolog-zip-on-string, prolog-zip-off-string)
5979 (prolog-use-standard-consult-compile-method-flag)
5980 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5981 (prolog-imenu-max-lines, prolog-info-predicate-index)
5982 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5983 (prolog-char-quote-workaround):
5984 * progmodes/cc-vars.el (c-defun-tactic):
5985 * net/tramp.el (tramp-encoding-command-interactive)
5986 (tramp-local-end-of-line):
5987 * net/soap-client.el (soap-client):
5988 * net/netrc.el (netrc-file):
5989 * net/gnutls.el (gnutls):
5990 * minibuffer.el (completion-category-overrides)
5991 (completion-cycle-threshold)
5992 (completion-pcm-complete-word-inserts-delimiters):
5993 * man.el (Man-name-local-regexp):
5994 * mail/feedmail.el (feedmail-display-full-frame):
5995 * international/characters.el (glyphless-char-display-control):
5996 * eshell/em-ls.el (eshell-ls-date-format):
5997 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5998 (lisp-lambda-list-keyword-parameter-indentation)
5999 (lisp-lambda-list-keyword-parameter-alignment):
6000 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6001 * dired-x.el (dired-omit-verbose):
6002 * cus-theme.el (custom-theme-allow-multiple-selections):
6003 * calc/calc.el (calc-highlight-selections-with-faces)
6004 (calc-lu-field-reference, calc-lu-power-reference)
6005 (calc-note-threshold):
6006 * battery.el (battery-mode-line-limit):
6007 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6008 (archive-7z-update):
6009 * allout.el (allout-prefixed-keybindings)
6010 (allout-unprefixed-keybindings)
6011 (allout-inhibit-auto-fill-on-headline)
6012 (allout-flattened-numbering-abbreviation):
6013 * allout-widgets.el (allout-widgets-auto-activation)
6014 (allout-widgets-icons-dark-subdir)
6015 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6016 (allout-widgets-theme-dark-background)
6017 (allout-widgets-theme-light-background)
6018 (allout-widgets-item-image-properties-emacs)
6019 (allout-widgets-item-image-properties-xemacs)
6020 (allout-widgets-run-unit-tests-on-load)
6021 (allout-widgets-time-decoration-activity)
6022 (allout-widgets-hook-error-post-time)
6023 (allout-widgets-track-decoration):
6024 Add missing :version tags to new defcustoms and defgroups.
6025
6026 * progmodes/sql.el (sql-ansi-statement-starters)
6027 (sql-oracle-statement-starters): Add custom type.
6028
6029 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6030 (prolog-system-version): Give it a type.
6031
6032 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6033
6034 * term/pc-win.el (x-select-text, x-selection-owner-p)
6035 (x-own-selection-internal, x-disown-selection-internal)
6036 (x-get-selection-internal): Sync doc strings and argument lists
6037 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6038
6039 2012-02-11 Leo Liu <sdl.web@gmail.com>
6040
6041 * progmodes/python.el (python-end-of-statement): Fix infinite
6042 loop. (Bug#10788)
6043
6044 2012-02-10 Glenn Morris <rgm@gnu.org>
6045
6046 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6047 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6048
6049 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6050
6051 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6052 about SMTP before checking the From header.
6053
6054 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6055 into own function for reuse by emacsbug.el.
6056
6057 2012-02-10 Leo Liu <sdl.web@gmail.com>
6058
6059 * subr.el (condition-case-unless-debug): Rename from
6060 condition-case-no-debug. All callers changed.
6061 (with-demoted-errors): Fix caller.
6062
6063 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6064 * nxml/rng-valid.el (rng-do-some-validation):
6065 * emacs-lisp/package.el (package-refresh-contents)
6066 (package-menu-execute):
6067 * desktop.el (desktop-create-buffer):
6068 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6069
6070 2012-02-10 Glenn Morris <rgm@gnu.org>
6071
6072 * textmodes/bibtex.el:
6073 Add missing :version tags for new/changed defcustoms.
6074
6075 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6076
6077 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6078
6079 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6080 (smtpmail-via-smtp): Use it, or fall back on the From address.
6081 (smtpmail-send-it): Ditto.
6082
6083 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6086 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6087 (byte-compile-tmp-var): New const.
6088 (byte-compile-defvar): Use it to minimize .elc size.
6089 Just use `defvar' rather than simulate it (bug#10761).
6090
6091 2012-02-09 Glenn Morris <rgm@gnu.org>
6092
6093 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6094
6095 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6096 Add :version tags.
6097
6098 * progmodes/compile.el (compilation-error-screen-columns)
6099 (compilation-first-column, compilation-filter-start): Doc fixes.
6100
6101 * vc/log-view.el (log-view-toggle-entry-display):
6102 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6103
6104 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6105 (report-emacs-bug-can-use-xdg-email):
6106 (report-emacs-bug-insert-to-mailer): Doc fixes.
6107 (report-emacs-bug): Message fix.
6108
6109 * net/browse-url.el (browse-url-can-use-xdg-open)
6110 (browse-url-xdg-open): Doc fixes.
6111
6112 * electric.el (electric-indent-mode, electric-pair-mode)
6113 (electric-layout-rules, electric-layout-mode): Doc fixes.
6114 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6115
6116 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6117
6118 * server.el (server-unselect-display): Don't inadvertently kill
6119 the current buffer. (Bug#10729)
6120
6121 2012-02-08 Glenn Morris <rgm@gnu.org>
6122
6123 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6124 (sql-list-table): Doc fixes.
6125
6126 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6127 Comment out (does nothing).
6128
6129 * completion.el (dynamic-completion-mode):
6130 * dirtrack.el (dirtrack-debug-mode):
6131 * electric.el (electric-layout-mode):
6132 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6133 * face-remap.el (text-scale-mode, buffer-face-mode):
6134 * iimage.el (iimage-mode):
6135 * image-mode.el (image-transform-mode):
6136 * minibuffer.el (completion-in-region-mode):
6137 * scroll-lock.el (scroll-lock-mode):
6138 * simple.el (next-error-follow-minor-mode):
6139 * tar-mode.el (tar-subfile-mode):
6140 * tooltip.el (tooltip-mode):
6141 * vcursor.el (vcursor-use-vcursor-map):
6142 * wid-browse.el (widget-minor-mode):
6143 * emulation/tpu-edt.el (tpu-edt-mode):
6144 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6145 * international/iso-ascii.el (iso-ascii-mode):
6146 * language/thai-util.el (thai-word-mode):
6147 * mail/supercite.el (sc-minor-mode):
6148 * net/goto-addr.el (goto-address-mode):
6149 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6150 * progmodes/cwarn.el (cwarn-mode):
6151 * progmodes/flymake.el (flymake-mode):
6152 * progmodes/glasses.el (glasses-mode):
6153 * progmodes/hideshow.el (hs-minor-mode):
6154 * progmodes/pascal.el (pascal-outline-mode):
6155 * textmodes/enriched.el (enriched-mode):
6156 * vc/smerge-mode.el (smerge-mode):
6157 Doc fixes (minor mode argument).
6158
6159 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6160
6161 * ls-lisp.el (ls-lisp-sanitize): New function.
6162 (ls-lisp-insert-directory): Use it to fix or remove any elements
6163 in file-alist with missing attributes. (Bug#4673)
6164
6165 2012-02-07 Alan Mackenzie <acm@muc.de>
6166
6167 Fix spurious recognition of c-in-knr-argdecl.
6168
6169 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6170 putative K&R region.
6171
6172 2012-02-07 Alan Mackenzie <acm@muc.de>
6173
6174 * progmodes/cc-engine.el (c-forward-objc-directive):
6175 Prevent looping in "#pragma mark @implementation".
6176
6177 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6178
6179 * notifications.el (notifications-on-closed-signal): Make `reason'
6180 optional. (Bug#10744)
6181
6182 2012-02-07 Glenn Morris <rgm@gnu.org>
6183
6184 * emacs-lisp/easy-mmode.el (define-minor-mode):
6185 Doc fixes for the macro and the mode it defines.
6186
6187 * image.el (imagemagick-types-inhibit): Doc fix.
6188
6189 * cus-start.el (imagemagick-render-type): Add it.
6190
6191 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6192
6193 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6194 Set the default at load time, too, so that `font-lock-fontify-buffer'
6195 can be called without setting up the entire mode first. This fixes
6196 a bug in `mm-inline-text' with C MIME parts.
6197
6198 2012-02-06 Chong Yidong <cyd@gnu.org>
6199
6200 * simple.el (list-processes--refresh): Delete exited processes
6201 (Bug#8094).
6202
6203 * comint.el (comint-next-prompt): next-single-char-property-change
6204 and prev-single-char-property-change never return nil (Bug#8657).
6205
6206 * custom.el (defcustom): Doc fix (Bug#9711).
6207
6208 2012-02-05 Chong Yidong <cyd@gnu.org>
6209
6210 * cus-edit.el (custom-variable-reset-backup): Quote the value
6211 before storing it in the customized-value property (Bug#6712).
6212 (custom-display): Add a customization type tag.
6213 (custom-buffer-create-internal): Improve tooltip message.
6214
6215 * wid-edit.el (widget-field-value-get): New optional arg to
6216 suppress trailing whitespace truncation.
6217 (character): Use it (Bug#2689).
6218
6219 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6220
6221 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6222 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6223
6224 2012-02-05 Chong Yidong <cyd@gnu.org>
6225
6226 * cus-edit.el (custom-variable-value-create): For mismatched
6227 types, show the current value (Bug#7600).
6228
6229 * custom.el (defcustom): Doc fix.
6230
6231 2012-02-05 Glenn Morris <rgm@gnu.org>
6232
6233 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6234
6235 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6238 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6239 (pp-last-sexp): Use `looking-at-p'.
6240
6241 2012-02-04 Glenn Morris <rgm@gnu.org>
6242
6243 * files.el (revert-buffer):
6244 Doc fix (mention revert-buffer-in-progress-p).
6245
6246 * emacs-lisp/ert-x.el (ert-simulate-command):
6247 Check deferred-action-list (which is obsolete) is bound.
6248
6249 * subr.el (with-wrapper-hook): Doc fixes.
6250
6251 * simple.el (filter-buffer-substring-functions)
6252 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6253
6254 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6255
6256 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6257 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6258
6259 2012-02-04 Leo Liu <sdl.web@gmail.com>
6260
6261 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6262
6263 2012-02-04 Glenn Morris <rgm@gnu.org>
6264
6265 * image.el (image-extension-data): Add obsolete alias.
6266
6267 * isearch.el (isearch-update): Doc fix.
6268
6269 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6270
6271 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6272
6273 2012-02-03 Glenn Morris <rgm@gnu.org>
6274
6275 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6276 (image-animate-timeout): Doc fix.
6277
6278 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6279
6280 2012-02-02 Glenn Morris <rgm@gnu.org>
6281
6282 * server.el (server-auth-dir): Doc fix.
6283 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6284
6285 * subr.el (run-mode-hooks): Doc fix.
6286
6287 2012-02-02 Juri Linkov <juri@jurta.org>
6288
6289 * image-mode.el (image-toggle-display-image): Remove tautological
6290 `major-mode' from the `derived-mode-p' test.
6291
6292 2012-02-02 Kenichi Handa <handa@m17n.org>
6293
6294 * composite.el (compose-region): Cancel previous change.
6295
6296 2012-02-02 Kenichi Handa <handa@m17n.org>
6297
6298 * composite.el (compose-region, compose-string): Signal error for
6299 a null string component (Bug#6988).
6300
6301 2012-02-01 Chong Yidong <cyd@gnu.org>
6302
6303 * view.el (view-buffer-other-window, view-buffer-other-frame):
6304 Handle special modes like view-buffer (Bug#10650).
6305 (view-buffer): Simplify.
6306
6307 * frame.el (set-frame-font): Tweak meaning of third argument.
6308
6309 * dynamic-setting.el (font-setting-change-default-font):
6310 Use set-frame-font (Bug#9982).
6311
6312 2012-02-01 Glenn Morris <rgm@gnu.org>
6313
6314 * progmodes/compile.el (compilation-internal-error-properties):
6315 Respect compilation-first-column in the "*compilation*" buffer.
6316
6317 * emacs-lisp/easy-mmode.el (define-minor-mode):
6318 Relax :variable's test for a named function.
6319
6320 2012-01-31 Alan Mackenzie <acm@muc.de>
6321
6322 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6323 off by one error.
6324
6325 2012-01-31 Chong Yidong <cyd@gnu.org>
6326
6327 * frame.el (set-frame-font): New arg ALL-FRAMES.
6328
6329 * menu-bar.el (menu-set-font): Use set-frame-font.
6330
6331 * faces.el (face-spec-reset-face): Don't apply unspecified
6332 attribute values to the default face.
6333
6334 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6335
6336 * progmodes/cwarn.el (cwarn): Remove dead link.
6337 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6338 Remove * from defcustom docstrings.
6339 (turn-on-cwarn-mode): Make obsolete.
6340 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6341 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6342
6343 2012-01-31 Glenn Morris <rgm@gnu.org>
6344
6345 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6346 Fix :variable handling of mode a symbol not equal to modefun.
6347 Allow named functions to be used as the cdr of :variable.
6348
6349 2012-01-30 Glenn Morris <rgm@gnu.org>
6350
6351 * emacs-lisp/authors.el (authors-fixed-entries):
6352 Remove reference to deleted file rnewspost.el.
6353
6354 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6355
6356 * window.el (window-with-parameter): Remove unused variable `windows'.
6357 (window--side-check): Remove unused variable `code'.
6358 (window--resize-siblings): Remove unused variable `first'.
6359 (adjust-window-trailing-edge): Remove unused variable `failed'.
6360 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6361 Use `let', not `let*'.
6362 (balance-windows-2): Remove unused variable `found'.
6363 (window--state-put-2): Remove unused variable `splits'.
6364 (window-state-put): Remove unused variable `selected'.
6365 (same-window-p): Use `string-match-p'.
6366 (display-buffer-assq-regexp): Remove unused variable `value'.
6367 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6368 Mark argument ALIST as ignored.
6369 (pop-to-buffer): Remove unused variable `old-window'.
6370
6371 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6372
6373 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6374 and .lzma compressed files.
6375
6376 2012-01-29 Chong Yidong <cyd@gnu.org>
6377
6378 * frame.el (window-system-default-frame-alist): Doc fix.
6379
6380 * dynamic-setting.el (font-setting-change-default-font): Don't
6381 change the default face if SET-FONT argument is non-nil (Bug#9982).
6382
6383 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6384
6385 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6386
6387 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6388
6389 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6390 breakpoints in files outside current directory (Bug#6098).
6391
6392 2012-01-29 Chong Yidong <cyd@gnu.org>
6393
6394 * progmodes/python.el: Require ansi-color at top-level.
6395
6396 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6397 Define and use in Emacs Lisp mode (Bug#9360).
6398 (lisp-mode-abbrev-table): Add doc.
6399 (lisp-mode-variables): Don't set local-abbrev-table.
6400 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6401
6402 2012-01-28 Roland Winkler <winkler@gnu.org>
6403
6404 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6405
6406 2012-01-28 Roland Winkler <winkler@gnu.org>
6407
6408 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6409 (bibtex-set-dialect): Use it. Either set global values of
6410 dialect-dependent variables or bind these variables buffer-locally
6411 (Bug#10254).
6412 (bibtex-mode): Call bibtex-set-dialect via
6413 hack-local-variables-hook.
6414 (bibtex-dialect): Update docstring.
6415 Add safe-local-variable predicate.
6416 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6417 bibtex-set-dialect.
6418 (bibtex-mode-map): Define menu for each dialect.
6419 (bibtex-entry): Fix docstring.
6420
6421 2012-01-28 Chong Yidong <cyd@gnu.org>
6422
6423 * eshell/esh-arg.el (eshell-quote-argument): New function.
6424
6425 * eshell/esh-ext.el (eshell-invoke-batch-file):
6426 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6427 first arg to eshell-parse-command (Bug#10523).
6428
6429 2012-01-28 Drew Adams <drew.adams@oracle.com>
6430
6431 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6432 `default-directory' is non-nil.
6433
6434 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6435
6436 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6437 line that displays system-configuration-options. (Bug#9924)
6438
6439 2012-01-28 Drew Adams <drew.adams@oracle.com>
6440
6441 * descr-text.el (describe-char): Show information about POS, in
6442 addition to information about the character at POS. Improve and
6443 update the doc string. Change "code point" to "code point in
6444 charset", to avoid confusion with the character's Unicode code
6445 point shown above that. (Bug#10129)
6446
6447 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6448
6449 * descr-text.el (describe-char): Show the raw character, not only
6450 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6451 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6452 for the reasons.
6453
6454 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6455
6456 * emacs-lisp/package.el (package-install):
6457 Run package-refresh-contents if there is no archive yet (Bug#9798).
6458
6459 2012-01-28 Chong Yidong <cyd@gnu.org>
6460
6461 * emacs-lisp/package.el (package-maybe-load-descriptor):
6462 New function, split from package-maybe-load-descriptor.
6463 (package-maybe-load-descriptor): Use it.
6464 (package-download-transaction): Fully load required packages
6465 inside the loop, so that `require' calls work (Bug#10593).
6466 (package-install): No need to call package-initialize now.
6467
6468 2012-01-28 Chong Yidong <cyd@gnu.org>
6469
6470 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6471
6472 * tooltip.el (tooltip-mode): Doc fix.
6473 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6474
6475 * frame.el (set-cursor-color): Doc fix (Bug#352).
6476
6477 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6478 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6479
6480 * cus-edit.el (custom-buffer-create-internal): Fix search button
6481 action (Bug#10542).
6482 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6483
6484 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6485
6486 * dired.el (dired-mark-files-regexp):
6487 Include any subdirectory components. (Bug#10445)
6488
6489 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6490
6491 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6492 Handle [host]:port syntax. (Bug#10533)
6493
6494 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
6495
6496 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6497
6498 2012-01-26 Glenn Morris <rgm@gnu.org>
6499
6500 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6501 * term.el (term-raw-escape-map): Use Control-X-prefix.
6502 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6503
6504 2012-01-25 Martin Rudalics <rudalics@gmx.at>
6505
6506 * window.el (window-state-get, window--state-get-1): Don't deal
6507 with fixed-sizeness of windows. Simplify code.
6508
6509 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6510
6511 * window.el (window--state-get-1, window--state-put-2):
6512 Don't save and restore the mark.
6513
6514 2012-01-25 Chong Yidong <cyd@gnu.org>
6515
6516 * custom.el (custom-variable-p): Doc fix.
6517
6518 2012-01-25 Glenn Morris <rgm@gnu.org>
6519
6520 * dired.el (dired-goto-file): Handle some of the more common
6521 characters that `ls -b' escapes. (Bug#10596)
6522
6523 * progmodes/compile.el (compilation-next-error-function):
6524 Respect compilation-first-column in the "*compilation*" buffer.
6525 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6526
6527 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6528
6529 2012-01-24 Glenn Morris <rgm@gnu.org>
6530
6531 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6532
6533 2012-01-24 Julien Danjou <julien@danjou.info>
6534
6535 * color.el (color-rgb-to-hsl): Fix value computing.
6536 (color-hue-to-rgb): New function.
6537 (color-hsl-to-rgb): New function.
6538 (color-clamp, color-saturate-hsl, color-saturate-name)
6539 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6540 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6541
6542 2012-01-24 Glenn Morris <rgm@gnu.org>
6543
6544 * vc/vc-rcs.el (vc-rcs-create-tag):
6545 * vc/vc-sccs.el (vc-sccs-create-tag):
6546 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6547
6548 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6549
6550 * eshell/esh-util.el (eshell-read-hosts-file):
6551 Skip comment lines. (Bug#10549)
6552
6553 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6554
6555 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
6556
6557 * subr.el (display-delayed-warnings): Doc fix.
6558 (collapse-delayed-warnings): New function to collapse identical
6559 adjacent warnings.
6560 (delayed-warnings-hook): Add it.
6561
6562 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
6563
6564 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6565
6566 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6567 (tramp-default-user-alist): Don't add "pscp".
6568 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6569 property "login-as", if set. (Bug#10530)
6570
6571 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
6572
6573 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6574 "plink1" and "psftp". (Bug#10530)
6575
6576 2012-01-21 Kenichi Handa <handa@m17n.org>
6577
6578 * international/mule-cmds.el (prefer-coding-system): Show a
6579 warning message if the default value of file-name-coding-system
6580 was not changed.
6581
6582 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6583
6584 * windmove.el (windmove-reference-loc):
6585 Fix windmove-reference-loc miscalculation.
6586
6587 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6588
6589 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6590 default unit.
6591
6592 2012-01-21 Glenn Morris <rgm@gnu.org>
6593
6594 * international/mule.el (auto-coding-alist): Add .tbz.
6595
6596 * files.el (local-enable-local-variables): Doc fix.
6597 (inhibit-local-variables-regexps): Rename from
6598 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6599 Doc fix. Add some extensions from auto-coding-alist.
6600 (inhibit-local-variables-suffixes):
6601 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6602 (inhibit-local-variables-p):
6603 New function, extracted from set-auto-mode-1.
6604 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6605 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6606 (hack-local-variables): Doc fix. Make the mode-only case
6607 respect enable-local-variables and friends.
6608 Respect inhibit-local-variables-regexps for file-locals, but
6609 not for directory-locals.
6610 (set-visited-file-name):
6611 Take account of inhibit-local-variables-regexps.
6612 Whether it applies may change as the file name is changed.
6613 * jka-cmpr-hook.el (jka-compr-install):
6614 * jka-compr.el (jka-compr-uninstall):
6615 Update for inhibit-first-line-modes-suffixes name change.
6616
6617 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6618
6619 * help-macro.el (make-help-screen): Temporarily restore original
6620 binding for minor-mode-map-alist (Bug#10454).
6621
6622 2012-01-19 Julien Danjou <julien@danjou.info>
6623
6624 * color.el (color-name-to-rgb): Use the white color to find the max
6625 color component value and return correctly computed values.
6626 (color-name-to-rgb): Add missing float conversion for max value.
6627
6628 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6629
6630 * window.el (window--state-get-1, window-state-get): Do not use
6631 special state value for window-persistent-parameters.
6632 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6633 (window--state-put-2): Reset all window parameters to nil before
6634 assigning values of persistent parameters.
6635
6636 2012-01-18 Alan Mackenzie <acm@muc.de>
6637
6638 Eliminate sluggishness and hangs in fontification of "semicolon
6639 deserts".
6640
6641 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6642 Change value 10000 -> 3000.
6643 (c-state-safe-place): Reformulate so it doesn't stack up an
6644 infinite number of wrong entries in c-state-nonlit-pos-cache.
6645 (c-determine-limit-get-base, c-determine-limit): New functions to
6646 determine backward search limits disregarding literals.
6647 (c-find-decl-spots): Amend commenting.
6648 (c-cheap-inside-bracelist-p): New function which detects "={".
6649
6650 * progmodes/cc-fonts.el
6651 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6652 backward search.
6653 (c-font-lock-declarations): Fix an occurrence of point being
6654 undefined. Check additionally for point being in a bracelist or
6655 near a macro invocation without a semicolon so as to avoid a
6656 fruitless time consuming search for a declarator. Give a more
6657 precise search limit for declarators using the new
6658 c-determine-limit.
6659
6660 2012-01-18 Glenn Morris <rgm@gnu.org>
6661
6662 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6663 (set-auto-mode): Doc fixes.
6664
6665 2012-01-17 Glenn Morris <rgm@gnu.org>
6666
6667 * isearch.el (search-nonincremental-instead): Fix doc typo.
6668
6669 * dired.el (dired-insert-directory): Handle newlines in directory name.
6670 (dired-build-subdir-alist): Unescape newlines in directory name.
6671
6672 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6673
6674 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6675 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6676 (tramp-action-terminal): Use it. (Bug#10530)
6677
6678 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6679
6680 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6681
6682 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6683
6684 * window.el (window-state-ignored-parameters): Remove variable.
6685 (window--state-get-1): Rename argument MARKERS to IGNORE.
6686 Handle persistent window parameters. Make copy of clone-of
6687 parameter only if requested. (Bug#10348)
6688 (window--state-put-2): Install a window parameter only if it has
6689 a non-nil value or an existing parameter shall be overwritten.
6690
6691 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6692
6693 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6694
6695 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6696
6697 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6698 don't pass the (nil) value of `upnode' to string-match.
6699
6700 2012-01-14 Chong Yidong <cyd@gnu.org>
6701
6702 * startup.el (command-line): Fix X resource class for cursorColor.
6703 Fix values recognized by the cursorBlink resource.
6704
6705 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6706
6707 * epg.el (epg--make-temp-file): Avoid permission race condition
6708 when running on old Emacs versions (bug#10403).
6709
6710 2012-01-14 Glenn Morris <rgm@gnu.org>
6711
6712 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6713
6714 2012-01-13 Alan Mackenzie <acm@muc.de>
6715
6716 Fix filling for when filladapt mode is enabled.
6717
6718 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6719 c-mask-paragraph, pass in `fill-paragraph' rather than
6720 `fill-region-as-paragraph'. (This is a reversion of a previous
6721 change.)
6722 * progmodes/cc-mode.el (c-basic-common-init):
6723 Make fill-paragraph-handle-comment buffer local and set it to nil.
6724
6725 2012-01-13 Glenn Morris <rgm@gnu.org>
6726
6727 * dired.el (dired-switches-escape-p): New function.
6728 (dired-insert-directory): Use dired-switches-escape-p.
6729 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6730
6731 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6732
6733 2012-01-12 Glenn Morris <rgm@gnu.org>
6734
6735 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6736 changes in adaptive-fill-regexp. (Bug#10276)
6737
6738 2012-01-11 Alan Mackenzie <acm@muc.de>
6739
6740 Fix Emacs bug #10463 - put `widen's around the critical spots.
6741
6742 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6743 widen around each invocation of c-state-pp-to-literal. Remove an
6744 unused let variable.
6745
6746 2012-01-11 Glenn Morris <rgm@gnu.org>
6747
6748 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6749 Doc fix.
6750
6751 2012-01-10 Chong Yidong <cyd@gnu.org>
6752
6753 * net/network-stream.el (network-stream-open-starttls):
6754 Avoid emitting a confusing error message when the server gives a bad
6755 response to the capability command.
6756
6757 2012-01-10 Glenn Morris <rgm@gnu.org>
6758
6759 * mail/unrmail.el (unrmail): Tweak previous change.
6760
6761 2012-01-09 Chong Yidong <cyd@gnu.org>
6762
6763 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6764
6765 2012-01-08 Alan Mackenzie <acm@muc.de>
6766
6767 Optimise font locking in long enum definitions.
6768
6769 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6770 arm to a cond form to handle enums.
6771 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6772 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6773
6774 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6775
6776 * files.el (move-file-to-trash): Preserve default file modes on error.
6777 (Bug#10401)
6778
6779 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6780
6781 * faces.el (set-face-attribute): Clarify the meaning of the nil
6782 frame (bug#10294).
6783
6784 * subr.el (with-selected-frame): Mention that the selected frame
6785 is restored (bug#9980).
6786
6787 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6788 (bug#9759).
6789
6790 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6791 (password-read): Don't autoload unused function.
6792
6793 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6794
6795 * progmodes/which-func.el (which-func-mode): Turn into a
6796 non-interactive function and mark as obsolete (bug#10428).
6797
6798 2012-01-06 Chong Yidong <cyd@gnu.org>
6799
6800 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6801 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6802 functions, along with 1 and -1.
6803
6804 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6805
6806 * time.el (display-time-load-average)
6807 (display-time-default-load-average): Doc fixes. See the thread
6808 starting at
6809 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6810 for the details.
6811
6812 2012-01-06 Glenn Morris <rgm@gnu.org>
6813
6814 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6815 has no messages. (Bug#10377)
6816
6817 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6818 than Info-edit. (Bug#10385)
6819
6820 * time.el (display-time-load-average, display-time-next-load-average):
6821 Doc fixes.
6822
6823 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6824 local setting of buffer-read-only to the input buffer. (Bug#10419)
6825
6826 * calendar/calendar.el (calendar-mode):
6827 Locally set scroll-margin to 0. (Bug#10379)
6828
6829 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6830
6831 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6832
6833 2012-01-05 Glenn Morris <rgm@gnu.org>
6834
6835 * eshell/em-unix.el (diff-no-select): Autoload it.
6836 (eshell/diff): Use diff-no-select. (Bug#10420)
6837
6838 2012-01-05 Chong Yidong <cyd@gnu.org>
6839
6840 * shell.el (shell-dynamic-complete-functions): Revert last change.
6841 (shell-command-completion-function): New function.
6842 (shell-completion-vars): Use it to implement
6843 shell-completion-execonly (Bug#10417).
6844
6845 * custom.el (enable-theme): Don't set custom-safe-themes.
6846
6847 * cus-theme.el (custom-theme-merge-theme):
6848 Ignore custom-enabled-themes and custom-safe-themes.
6849
6850 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6851
6852 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6853 first prompt in `sql-interacive-mode'.
6854 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6855 keywords.
6856 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6857 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6858 context of original buffer. Invoke `sql-login-hook'.
6859
6860 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6861
6862 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6863 letters in cite-prefix.
6864
6865 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6866
6867 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6868
6869 2012-01-03 Chong Yidong <cyd@gnu.org>
6870
6871 * shell.el (shell-dynamic-complete-functions):
6872 Put pcomplete-completions-at-point, so as to try
6873 comint-filename-completion first (Bug#10417).
6874
6875 2012-01-02 Richard Stallman <rms@gnu.org>
6876
6877 * battery.el (battery-status-function):
6878 Detect when to use battery-yeeloong-sysfs.
6879 (battery-echo-area-format): Add string for Yeeloong.
6880 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6881 (battery-yeeloong-sysfs): New function.
6882
6883 2012-01-02 Chong Yidong <cyd@gnu.org>
6884
6885 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6886 (dirtrack): Merge code for handling relative filenames in prompt
6887 from shell-dir-cookie-watcher.
6888 (dirtrack-debug-message): New arg to avoid excess format calls.
6889
6890 * shell.el (shell-dir-cookie-re): Variable deleted.
6891 (shell-dir-cookie-watcher): Function deleted.
6892 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6893 with dirtrack-mode.
6894
6895 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6896
6897 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6898 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6899 libgnutls-26.dll.
6900
6901 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6902
6903 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6904
6905 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6906
6907 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6908 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6909
6910 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6911
6912 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6913 also for alternative shells.
6914 (tramp-open-connection-setup-interactive-shell): Check, whether
6915 the shell is a busybox.
6916 (tramp-send-command): Don't suppress multiple prompts for
6917 busyboxes, it hurts.
6918
6919 2011-12-28 Chong Yidong <cyd@gnu.org>
6920
6921 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6922 (gdb-get-source-file): Move mode line update to
6923 gdb-get-source-file (Bug#10087).
6924
6925 2011-12-25 Chong Yidong <cyd@gnu.org>
6926
6927 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6928 gud-gdb-marker-filter without taking it as an argument.
6929 (gud-gdb-run-command-fetch-lines): Caller changed.
6930 (gud-gdb-completion-function): New variable.
6931 (gud-gdb-completion-at-point): Use it.
6932 (gud-gdb-completions-1): Split from gud-gdb-completions.
6933
6934 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6935 function as separate arguments.
6936 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6937 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6938 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6939 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6940 (gdb-stopped, def-gdb-auto-update-trigger)
6941 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6942 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6943 Callers changed.
6944 (gud-gdbmi-completions): New function.
6945 (gdb): Use it for generating the completion table.
6946
6947 2011-12-24 Alan Mackenzie <acm@muc.de>
6948
6949 Introduce a mechanism to widen the region used in context font
6950 locking. Use this to protect declarations from losing their contexts.
6951
6952 * progmodes/cc-langs.el (c-before-font-lock-functions):
6953 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6954 (c-before-context-fontification-functions): New defvar, a list of
6955 functions to be run just before context (etc.) font locking.
6956
6957 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6958 New, functionality extracted from
6959 c-neutralize-syntax-in-and-mark-CPP.
6960 (c-in-after-change-fontification): New variable.
6961 (c-after-change): Set c-in-after-change-fontification.
6962 (c-set-fl-decl-start): Rejig its interface, so it can be called
6963 from both after-change and context fontifying.
6964 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6965 New functions.
6966 (c-standard-font-lock-fontify-region-function): New variable.
6967 (c-font-lock-fontify-region): New function.
6968
6969 2011-12-24 Juri Linkov <juri@jurta.org>
6970
6971 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6972 (Bug#10348)
6973
6974 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6975
6976 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6977 existence of source file. (Bug#10325)
6978
6979 2011-12-23 Alan Mackenzie <acm@muc.de>
6980
6981 Fix unstable fontification inside templates.
6982
6983 * progmodes/cc-langs.el (c-before-font-lock-functions):
6984 Newly created from the singular version. The (c c++ objc) entry now
6985 additionally has c-set-fl-decl-start. The other languages (apart
6986 from AWK) have that as a single entry.
6987
6988 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6989 The functionality for "local" declarations has been extracted to
6990 c-set-fl-decl-start.
6991
6992 * progmodes/cc-mode.el (c-common-init, c-after-change):
6993 Changes due to pluralisation of c-before-font-lock-functions.
6994 (c-set-fl-decl-start): New function, extracted from
6995 c-font-lock-enclosing-decls and enhanced.
6996
6997 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6998
6999 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7000
7001 2011-12-22 Juri Linkov <juri@jurta.org>
7002
7003 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7004
7005 2011-12-22 Chong Yidong <cyd@gnu.org>
7006
7007 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7008
7009 2011-12-21 Drew Adams <drew.adams@oracle.com>
7010
7011 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7012
7013 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7014
7015 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7016
7017 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7018
7019 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7020 highlighting and support. Fix up comments for capitalization.
7021 (cfengine-mode-debug): New var.
7022 (cfengine3-mode): Change the modeline indicator to "CFE3".
7023 (cfengine3-font-lock-keywords): Improve defun highlighting.
7024 (cfengine2-actions): Rename from `cfengine-actions'.
7025 (cfengine2-font-lock-keywords): Rename from
7026 `cfengine-font-lock-keywords'.
7027 (cfengine2-imenu-expression): Rename from
7028 `cfengine-imenu-expression'.
7029 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7030 (cfengine2-beginning-of-defun): Rename from
7031 `cfengine-beginning-of-defun'.
7032 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7033 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7034 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7035 modeline indicator to "CFE2".
7036 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7037 (cfengine-mode-abbrevs): Mark obsolete.
7038
7039 2011-12-21 Chong Yidong <cyd@gnu.org>
7040
7041 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7042 filename argument.
7043
7044 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7045
7046 * window.el (window-normalize-buffer-to-display): Remove.
7047 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7048
7049 2011-12-19 Chong Yidong <cyd@gnu.org>
7050
7051 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7052 Don't signal an error in a predicate function; return non-nil.
7053 (vc-dir-mark-file): Move the error here.
7054 (vc-dir-mark-unmark): If acting on the region, keep going if one
7055 of the entries cannot be marked/unmarked.
7056 (vc-dir-mark-all-files): If current entry is a directory, mark
7057 only child files, as documented.
7058
7059 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7060
7061 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7062 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7063 addition.
7064
7065 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7066
7067 * term/ns-win.el (ns-get-selection-internal)
7068 (ns-store-selection-internal): Declare.
7069 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7070 Declare as obsolete.
7071 (ns-get-pasteboard, ns-paste-secondary):
7072 Use ns-get-selection-internal.
7073 (ns-set-pasteboard, ns-copy-including-secondary):
7074 Use ns-store-selection-internal.
7075
7076 2011-12-17 Chong Yidong <cyd@gnu.org>
7077
7078 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7079 (vc-deduce-fileset): Doc fix.
7080
7081 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7082
7083 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7084
7085 2011-12-13 Sam Steingold <sds@gnu.org>
7086
7087 * man.el (Man-getpage-in-background): When running under a
7088 window-system, ignore $MANWIDTH and $COLUMNS.
7089
7090 2011-12-15 Kenichi Handa <handa@m17n.org>
7091
7092 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7093 (setup-ethiopic-environment-internal): Comment out key-binding for
7094 ethio-toggle-punctuation.
7095
7096 2011-12-13 Alan Mackenzie <acm@muc.de>
7097
7098 Add the switch statement to AWK Mode.
7099
7100 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7101 "default" to the keywords regexp.
7102
7103 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7104 expression as the rest.
7105 (c-nonlabel-token-key): Allow string literals for AWK.
7106 Refactor for the other modes.
7107
7108 Large brace-block initialisation makes CC Mode slow: Fix.
7109 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7110 routines. Limit backward searching in c-font-lock-enclosing.decl.
7111
7112 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7113 pp-state and literal type in addition to the limits.
7114 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7115 (c-state-literal-at): Use the above new defun.
7116 (c-slow-in-literal, c-fast-in-literal): Remove.
7117 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7118
7119 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7120 being in a literal. Add a limit for backward searching.
7121
7122 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7123 c-slow-in-literal.
7124
7125 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7126
7127 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7128
7129 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7130
7131 * window.el (delete-other-windows): Use correct frame in call to
7132 window-with-parameter.
7133
7134 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7135
7136 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7137 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7138 (makefile-gmake-statements, makefile-makepp-statements):
7139 Use it and add new makepp keywords.
7140 (makefile-makepp-font-lock-keywords): Add new patterns.
7141 (makefile-match-function-end): Match new [...] and [[...]].
7142
7143 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7144
7145 * ses.el (ses-call-printer-return, ses-cell-property-get)
7146 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7147 (ses-create-cell-variable, ses-reset-header-string)
7148 (ses-cell-set-formula, ses-repair-cell-reference-all)
7149 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7150 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7151 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7152 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7153 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7154 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7155 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7156 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7157 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7158 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7159 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7160 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7161
7162 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7163
7164 * ses.el: The overall change is to add cell renaming, that is
7165 setting fancy names for cell symbols other than name matching
7166 "\\`[A-Z]+[0-9]+\\'" regexp .
7167 (ses-create-cell-variable): New defun.
7168 (ses-relocate-formula): Relocate formulas only for cells the
7169 symbols of which are not renamed, i.e. symbols whose names do not
7170 match regexp "\\`[A-Z]+[0-9]+\\'".
7171 (ses-relocate-all): Relocate values only for cells the symbols of
7172 which are not renamed.
7173 (ses-load): Create cells variables as the (ses-cell ...) are read,
7174 in order to check row col consistency with cell symbol name only
7175 for cells that are not renamed.
7176 (ses-replace-name-in-formula): New defun.
7177 (ses-rename-cell): New defun.
7178
7179 2011-12-11 Chong Yidong <cyd@gnu.org>
7180
7181 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7182 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7183
7184 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7185
7186 * window.el (other-window): Fix docstring.
7187
7188 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7189
7190 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7191 `from' or `to' address before taking its substring.
7192 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7193 encoded name is chopped in the middle of the encoded string, and
7194 thus displayed encoded.
7195
7196 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7197
7198 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7199
7200 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7201
7202 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7203 to use texinfo-update-node and commands that call it if the
7204 Texinfo file uses @node lines without next/prev/up pointers.
7205 Correct outdated description about texinfo-master-menu.
7206 (texinfo-all-menus-update, texinfo-master-menu)
7207 (texinfo-update-node, texinfo-every-node-update)
7208 (texinfo-multiple-files-update): Doc fix. Warn against updating
7209 all the @node lines.
7210 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7211 argument is numeric. Explain better in the doc string what the
7212 function really does.
7213 (texinfo-insert-master-menu-list): Improve the error message
7214 displayed if there's no menu in the Top node.
7215 (Bug#2975) See also this thread:
7216 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7217
7218 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7219
7220 * speedbar.el (speedbar-supported-extension-expressions):
7221 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7222
7223 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7224
7225 * printing.el (pr-mode-alist):
7226 * simple.el (filter-buffer-substring-functions)
7227 (completion-list-insert-choice-function):
7228 * window.el (window-with-parameter, window-atom-root)
7229 (window-sides-slots, window-size-fixed, window-min-delta)
7230 (window-max-delta, window--resize-mini-window)
7231 (window--resize-child-windows-normal, window-tree)
7232 (delete-other-windows, quit-window, split-window)
7233 (display-buffer-record-window, special-display-buffer-names)
7234 (special-display-regexps, special-display-popup-frame)
7235 (same-window-p, split-window-sensibly)
7236 (display-buffer-overriding-action, display-buffer-alist)
7237 (display-buffer-base-action, display-buffer, switch-to-buffer)
7238 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7239 (fit-window-to-buffer, recenter-positions)
7240 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7241 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7242 and remove unneeded backslashes in docstrings.
7243
7244 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7245
7246 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7247
7248 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7249 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7250 end in ".mk".
7251 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7252 when reading the makefile (bug#10116).
7253
7254 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7255
7256 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7257 (bug#10116).
7258
7259 2011-12-06 Glenn Morris <rgm@gnu.org>
7260
7261 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7262
7263 2011-12-06 Chong Yidong <cyd@gnu.org>
7264
7265 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7266
7267 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7268
7269 * textmodes/table.el (table-shorten-cell): Fix typo.
7270
7271 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7272
7273 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7274
7275 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7276
7277 * descr-text.el (describe-char): Fix display of strong
7278 right-to-left characters and directional embeddings and overrides.
7279
7280 * simple.el (what-cursor-position): Fix display of codepoints of
7281 strong right-to-left characters.
7282
7283 2011-12-05 Chong Yidong <cyd@gnu.org>
7284
7285 * faces.el (read-color): Doc fix.
7286
7287 2011-12-05 Glenn Morris <rgm@gnu.org>
7288
7289 * align.el (align--set-marker): Add doc-string.
7290 Don't try to move something that is not a marker. (Bug#10216)
7291
7292 2011-12-04 Glenn Morris <rgm@gnu.org>
7293
7294 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7295 overly zealous deletion of trailing whitespace.
7296
7297 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7298
7299 * server.el (server-delete-client): On Windows, do not try to delete
7300 the only terminal.
7301 (server-process-filter): On Windows, treat requests for a tty frame as
7302 if they were for a GUI frame if the running server is in GUI mode.
7303
7304 2011-12-03 Glenn Morris <rgm@gnu.org>
7305
7306 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7307
7308 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * electric.el: Streamline electric-indent's hook.
7311 (electric-indent-chars): Revert to simple list.
7312 (electric-indent-functions): New var.
7313 (electric-indent-post-self-insert-function): Use it.
7314
7315 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7316 there's no inferior buffer (bug#10196).
7317 (prolog-consult-compile): Don't use toggle-read-only.
7318
7319 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7320
7321 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7322 interrupt. (Bug#10187)
7323
7324 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7325
7326 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7327 (bug#9160).
7328
7329 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7330 (bug#10191).
7331
7332 2011-12-02 Juri Linkov <juri@jurta.org>
7333
7334 * info.el (Info-search): Display "end of manual" when Isearch
7335 reaches the end of single-file Info manual. (Bug#9918)
7336
7337 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7338
7339 * isearch.el (isearch-message-prefix): Run the input method part
7340 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7341
7342 2011-12-02 Juri Linkov <juri@jurta.org>
7343
7344 * isearch.el (isearch-occur): Use `word-search-regexp' for
7345 `isearch-word'.
7346 (isearch-search-and-update): Add condition for `isearch-word' and
7347 call `word-search-regexp'. (Bug#10145)
7348
7349 2011-12-01 Glenn Morris <rgm@gnu.org>
7350
7351 * eshell/em-hist.el (eshell-hist-initialize):
7352 Handle eshell-history-size nil and HISTSIZE set or unset.
7353 (eshell-history-file-name, eshell-history-size): Fix custom type.
7354
7355 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7358
7359 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7360
7361 * progmodes/verilog-mode.el (verilog-pretty-expr):
7362 Rework verilog-pretty-expr to handle new assignment operators in system
7363 verilog, such as += *= and the like.
7364 (verilog-assignment-operator-re): Regular expression to find the
7365 assigment operator in a verilog assignment.
7366 (verilog-assignment-operation-re): Regular expression to find an
7367 assignment statement for pretty-expr.
7368 (verilog-in-attribute-p): Query returns true if point is in an
7369 attribute context; used to skip these for expression line up from
7370 pretty-expr.
7371 (verilog-in-parameter-p): Query returns true if point is in an
7372 parameter definition context; used to skip these for expression
7373 line up from pretty-expr.
7374 (verilog-in-parenthesis-p): Query returns true if point is in a
7375 parenthetical expression, specifically ( ) but not [ ] or { };
7376 used by pretty-expr.
7377 (verilog-just-one-space): If there is no space, don't add one.
7378 (verilog-get-lineup-indent-2): Specifically skip just attribute
7379 contexts for expression lineup, rather than skipping all
7380 parenthetical expressions.
7381 (verilog-calculate-indent): Fix comment, and fix indent.
7382 (verilog-do-indent): Indent declarations in lists (suggested by
7383 Joachim Lechner).
7384 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7385 skeleton items.
7386 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7387 by Alain Mellan).
7388
7389 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7390
7391 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7392 parameters with embedded comments. Reported by Ray Stevens.
7393 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7394 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7395 Reported by Tim Holt.
7396 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7397 instantiated by upper module causing wrong expansion until AUTOed a
7398 second time. Reported by K C Buckenmaier.
7399 (verilog-diff-auto): Fix showing .* as a difference when
7400 `verilog-auto-star-save' off. Reported by Dan Dever.
7401 (verilog-auto-reset, verilog-read-always-signals)
7402 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7403 temporary signals in reset list if
7404 verilog-auto-reset-blocking-in-non is nil, and match assignment
7405 style to each signal's assignment type, bug381.
7406 Reported by Thomas Esposito.
7407 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7408 (verilog-uvm-statement-re): Support UVM indentation and
7409 highlighting, with old OVM keywords only.
7410 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7411 Support AUTOTIEOFF creating non-wire data types.
7412 Suggested by Jonathan Greenlaw.
7413 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7414 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7415 (verilog-inject-sense, verilog-read-inst-pins)
7416 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7417 Fix mismatching parenthesis inside commented out code when deleting
7418 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7419 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7420 non-numeric vector width. Reported by Alex Reed.
7421 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7422 detecting signals with parameter widths. Reported by Alex Reed.
7423 (verilog-auto-delete-trailing-whitespace):
7424 With `verilog-auto-delete-trailing-whitespace' remove trailing
7425 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7426 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7427 Fix verilog-scan-cache corruption when running user AUTO expansion
7428 hooks that call indentation routines.
7429 (verilog-simplify-range-expression): Fix typo ignoring lower case
7430 identifiers.
7431 (verilog-delete-auto): Fix delete-autos to also remove user created
7432 automatics, as long as they start with AUTO.
7433 (verilog-batch-diff-auto, verilog-diff-auto)
7434 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7435 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7436 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7437 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7438 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7439 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7440 is disabled and its cache will get corrupt, causing AUTOS not to
7441 expand. Instead use only -quick functions.
7442 (verilog-scan-region): Fix scanning over escaped quotes.
7443 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7444 (verilog-re-search-backward-quick)
7445 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7446 related functions now ignore strings, to fix misparsing of strings
7447 with magic comments embedded in them.
7448 (verilog-read-auto-template):
7449 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7450 Reported by Brad Dobbie.
7451 (verilog-read-auto-template):
7452 Fix 'verilog-auto-inst-template-numbers' with comments.
7453 Reported by Brad Dobbie.
7454 (verilog-auto-inst, verilog-auto-inst-param)
7455 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7456 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7457 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7458 debugging templates without merge conflicts, bug357.
7459 Reported by Brad Dobbie.
7460 (verilog-read-auto-template):
7461 Fix verilog-auto-inst-template-numbers with multiple templates.
7462 Reported by Brad Dobbie.
7463 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7464 abbrevs so user won't be asked to save.
7465 (verilog-read-auto-lisp-present): Fix to start at beginning of
7466 buffer in case called outside of verilog-auto.
7467 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7468 to "X-2". Reported by Matthew Myers.
7469 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7470 all inputs from module templates. Reported by Leith Johnson.
7471 (verilog-module-inside-filename-p): Fix locating programs as with
7472 modules.
7473 (verilog-auto-inst-port): Fix vl-width expressions when using
7474 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7475 (verilog-decls-get-regs, verilog-decls-get-signals,
7476 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7477 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7478 verilog-read-decls): Combine reg and wire structures into one var
7479 structure to represent SystemVerilog concepts.
7480 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7481 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7482 (verilog-auto-wire-type, verilog-insert-definition):
7483 Add verilog-auto-wire-type and AUTOLOGIC to support using
7484 SystemVerilog "logic" keyword instead of "wire"/"reg".
7485 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7486 to declares outputs that also have assignments (presumably in an
7487 ifdef or generate if so there's not a driver conflict).
7488 Reported by Matthew Myers.
7489 (verilog-auto-declare-nettype, verilog-insert-definition):
7490 Add verilog-auto-declare-nettype to fix declarations using
7491 `default_nettype none. Reported by Julian Gorfajn.
7492 (verilog-read-always-signals-recurse, verilog-read-decls)
7493 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7494 malformed end statement, bug325. Reported by Joshua Wise and
7495 Andrew Drake.
7496 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7497 (verilog-inst-comment-re): Fix not deleting Interfaced comment
7498 when expanding .* in interfaces, bug320.
7499 Reported by Pierre-David Pfister.
7500 (verilog-read-module-name): Fix import statements between module
7501 name and open parenthesis, bug317.
7502 Reported by Pierre-David Pfister.
7503 (verilog-simplify-range-expression): Fix simplification of
7504 multiplications inside AUTOWIRE connections, bug303.
7505 (verilog-auto-inst-port): Support parameter expansion in
7506 multidimensional arrays.
7507 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7508 after "assert property". Reported by Julian Gorfajn.
7509 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7510 with multiplication, bug303.
7511 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7512 Reported by Jan Frode Lonnum.
7513
7514 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
7515
7516 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7517 (hfy-shell-file-name, hfy-shell):
7518 * international/fontset.el (x-decompose-font-name): Fix typos.
7519
7520 2011-11-29 Ken Brown <kbrown@cornell.edu>
7521
7522 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7523 (gdb-version): Remove defvar.
7524 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7525 (gdb-gud-context-command, gdb-non-stop-handler)
7526 (gdb-current-context-command, gdb-stopped): Use it.
7527 (gdb-init-1): Enable pretty printing here.
7528 (gdb-non-stop-handler): Don't enable pretty-printing here.
7529 Check to see if the target supports non-stop mode; if not, turn off
7530 non-stop mode. Use the following.
7531 (gdb-check-target-async): New defun.
7532 (gud-watch, gdb-stopped): Fix whitespace.
7533 (gdb-get-source-file): Don't try to display the source file if
7534 `gdb-main-file' is nil.
7535
7536 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7537
7538 * align.el: Try to generate fewer markers (bug#10047).
7539 (align--set-marker): New macro.
7540 (align-region): Use it.
7541
7542 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7545
7546 2011-11-29 Chong Yidong <cyd@gnu.org>
7547
7548 * indent.el (indent-for-tab-command, indent-according-to-mode):
7549 Doc fix.
7550 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7551
7552 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
7553
7554 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7555 aware of remote file names. (Bug#10124)
7556
7557 2011-11-29 Chong Yidong <cyd@gnu.org>
7558
7559 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7560
7561 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * files.el (find-file): Don't use force-same-window (bug#10144).
7564 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7565 use pop-to-buffer if the selected window can't be used.
7566 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7567
7568 2011-11-28 Eli Zaretskii <eliz@gnu.org>
7569
7570 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7571 special-mode-map.
7572
7573 2011-11-28 Chong Yidong <cyd@gnu.org>
7574
7575 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7576
7577 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
7578
7579 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7580 gdb-get-source-file-list on gdb-create-source-file-list.
7581
7582 2011-11-26 Eli Zaretskii <eliz@gnu.org>
7583
7584 * whitespace.el (whitespace-newline): Use a different foreground
7585 color for 16-color light-background displays.
7586
7587 2011-11-24 Chong Yidong <cyd@gnu.org>
7588
7589 * window.el (display-buffer--special-action): Doc fix.
7590
7591 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
7592
7593 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7594 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7595 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7596 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7597 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7598 (avl-tree-stack-first):
7599 * emacs-lisp/cconv.el (cconv--analyse-use):
7600 * net/gnutls.el (gnutls-negotiate): Fix typos.
7601
7602 2011-11-24 Glenn Morris <rgm@gnu.org>
7603
7604 * lpr.el (lpr-windows-system, lpr-lp-system):
7605 * mail/binhex.el (binhex-begin-line):
7606 * progmodes/grep.el (grep-history, grep-find-history):
7607 * textmodes/flyspell.el:
7608 * vc/pcvs-defs.el (cvs-global-menu):
7609 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7610 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7611 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7612
7613 * net/tls.el: Fix case of "GnuTLS".
7614
7615 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7616
7617 * version.el (emacs-build-system): Give it a doc-string.
7618
7619 2011-11-24 Juri Linkov <juri@jurta.org>
7620
7621 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7622
7623 2011-11-24 Glenn Morris <rgm@gnu.org>
7624
7625 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7626 if called on a non-mime message just toggle the headers. (Bug#8006)
7627
7628 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7629
7630 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7631 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7632 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7633 (allout-rebullet-heading, allout-open-sibtopic)
7634 (allout-toggle-current-subtree-encryption)
7635 (allout-toggle-subtree-encryption, allout-encrypt-string)
7636 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7637 (allout-distinctive-bullets-string, allout-auto-activation):
7638 * window.el (window-normalize-buffer-to-display):
7639 * progmodes/verilog-mode.el (verilog-batch-indent):
7640 * textmodes/bibtex.el (bibtex-field-braces-opt)
7641 (bibtex-field-strings-opt):
7642 * vc/cvs-status.el (cvs-tree-merge):
7643 Fix typos.
7644
7645 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7646
7647 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7648 `non-essential' to t, in order to avoid remote connections.
7649
7650 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7651
7652 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7653 On MS-DOS and MS-Windows, compare with loaddefs.el
7654 case-insensitively.
7655
7656 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7657
7658 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7659
7660 2011-11-23 Glenn Morris <rgm@gnu.org>
7661
7662 * paths.el (rmail-file-name): Reformat the doc-string so that it
7663 is picked up.
7664
7665 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7666 (rmail-auto-file): Ignore case in the "special" field names,
7667 as mail-fetch-field does for all others.
7668
7669 * mail/rmail.el (rmail-forward):
7670 * mail/rmailkwd.el (rmail-set-label):
7671 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7672 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7673
7674 * mail/rmail.el (rmail-current-message): Doc fix.
7675
7676 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7677
7678 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7681
7682 2011-11-22 Glenn Morris <rgm@gnu.org>
7683
7684 * mail/rmailmm.el (test-rmail-mime-handler)
7685 (test-rmail-mime-bulk-handler)
7686 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7687
7688 2011-11-21 Juri Linkov <juri@jurta.org>
7689
7690 * calc/calc.el (calc-read-key-sequence):
7691 Let-bind `input-method-function' to nil. (Bug#10018)
7692
7693 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7694
7695 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7696 Tell the caller that the next line needs recomputation, even
7697 though it doesn't start a sexp (bug#10094).
7698
7699 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7702
7703 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7706 Use force-same-window.
7707
7708 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7709
7710 * descr-text.el (describe-char-unicode-data):
7711 * json.el (json-string-escape):
7712 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7713 (Footnote-unicode, Footnote-style-p):
7714 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7715
7716 2011-11-20 Chong Yidong <cyd@gnu.org>
7717
7718 * window.el (replace-buffer-in-windows): Restore interactive spec.
7719
7720 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7723
7724 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7725 (byte-compile-global-not-obsolete-vars): New var.
7726 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7727 Use it.
7728 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7729
7730 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7731
7732 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7733 * progmodes/pascal.el (electric-pascal-equal):
7734 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7735 * xml.el (xml-substitute-special): Fix typos.
7736
7737 2011-11-20 Glenn Morris <rgm@gnu.org>
7738
7739 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7740 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7741 Doc fixes.
7742 (rmail-decode-mime-charset): Mark as obsolete.
7743
7744 * mail/rmailsum.el (rmail-message-regexp-p-1):
7745 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7746 Before using mime functions, check they are set. (Bug#10077)
7747
7748 2011-11-19 Juri Linkov <juri@jurta.org>
7749
7750 * info.el (Info-finder-find-node): Use `package--builtins' instead
7751 of `package-alist'. Use node names formed by the pattern "Keyword "
7752 and the keyword name.
7753
7754 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7755
7756 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7757
7758 2011-11-19 Juri Linkov <juri@jurta.org>
7759
7760 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7761 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7762 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7763 `old-history', `old-history-forward'. Add let-binding
7764 `window-selected'. Remove calls to `kill-buffer',
7765 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7766 before calling `Info-find-node', so `Info-find-node-2' will reread
7767 the Info file. Restore window positions only when `window-selected'
7768 is non-nil.
7769
7770 2011-11-19 Juri Linkov <juri@jurta.org>
7771
7772 * isearch.el (isearch-lazy-highlight-new-loop):
7773 Remove condition `(not isearch-error)'. (Bug#9918)
7774
7775 * misearch.el (multi-isearch-search-fun): Add condition
7776 `(not bound)' to ignore lazy-highlighting search.
7777 Add the search-failed message "end of multi" when the end of
7778 multi-sequence is reached. Uncapitalize the search-failed
7779 message "Repeat for next buffer".
7780
7781 * info.el (Info-search): Add the search-failed message
7782 "end of the manual" when the end of the manual is reached
7783 in Isearch mode.
7784
7785 2011-11-19 Juri Linkov <juri@jurta.org>
7786
7787 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7788 Use non-destructive `remove' instead of `delete' because
7789 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7790 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7791
7792 2011-11-19 Juri Linkov <juri@jurta.org>
7793
7794 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7795 to nil instead of binding `search-ring' and `regexp-search-ring'.
7796 (Bug#9185)
7797
7798 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7799
7800 * simple.el (line-move): Force movement by logical lines for any
7801 hscrolled window, not only when auto-hscroll-mode is on.
7802 (line-move-visual): Update doc string to that effect. (Bug#10076)
7803
7804 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7805
7806 * language/european.el (macintosh): Define as alias for mac-roman.
7807
7808 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7809
7810 * mail/rmailmm.el (rmail-mime-display-header)
7811 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7812 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7813 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7814 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7815 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7816 of a raw aref.
7817 (rmail-mime-entity-segment): To get past the tagline, move forward
7818 2 more lines, to account for the 2 empty lines that precede and
7819 follow the line with the buttons.
7820 (rmail-mime-update-tagline): Move one more line, to get past the
7821 empty line that follows the buttons in the tagline. (Bug#9520)
7822
7823 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7824
7825 * window.el (window-max-delta-1, window-min-delta-1)
7826 (window-min-size-1, window-state-get-1, window-state-put-1)
7827 (window-state-put-2): Use "window--" prefix.
7828
7829 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7832 (smie-warning-count): New var.
7833 (smie-set-prec2tab): Use it.
7834 (smie-bnf->prec2): Improve warnings. Add docstring.
7835 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7836 (smie-bnf--set-class): New function.
7837 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7838 corner case.
7839
7840 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7841 (compilation-error-properties, compilation-move-to-column):
7842 Handle compilation-first-column while in the target buffer.
7843
7844 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7845 Don't hardcode point-min==1.
7846
7847 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7848 (eshell-rewrite-for-command): Remove workaround.
7849 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7850 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7851 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7852
7853 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7854
7855 2011-11-17 Glenn Morris <rgm@gnu.org>
7856
7857 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7858 Ignore buffer-local generated-autoload-file if it is the same
7859 as the global value. (Bug#10049)
7860
7861 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7864 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7865 (reftex-toc-previous-heading, reftex-toc-max-level)
7866 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7867 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7868 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7869 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7870 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7871 (reftex-toc-rename-label, reftex-toc-visit-location)
7872 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7873 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7874 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7875 leaving "*toc*" only for references to the buffer.
7876
7877 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7878
7879 * window.el (window-resize, delete-window, split-window):
7880 Replace window-splits by window-combination-resize.
7881 * cus-start.el (window-splits): Replace by window-combination-resize.
7882
7883 2011-11-17 Glenn Morris <rgm@gnu.org>
7884
7885 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7886 Make bash entry derive from sh entry, not shell entry.
7887
7888 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7889
7890 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7891 local file name.
7892
7893 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7894
7895 * menu-bar.el (menu-bar-file-menu):
7896 * printing.el (pr-ps-utility):
7897 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7898 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7899 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7900 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7901 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7902 (icalendar--convert-cyclic-to-ical)
7903 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7904 (icalendar--convert-ical-to-diary)
7905 (icalendar--convert-recurring-to-diary)
7906 (icalendar--convert-non-recurring-all-day-to-diary)
7907 (icalendar-import-format-sample):
7908 * progmodes/idlw-shell.el (idlwave-shell-mode):
7909 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7910 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7911 (vhdl-ps-print-init): Fix typos.
7912
7913 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7914
7915 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7916 FSF and collapse date sequence, obscure author/maintainer email address
7917 better, remove extra version line, track relocation of author's webpage.
7918
7919 * progmodes/python.el (python-pdbtrack-input-prompt)
7920 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7921 regular python pdb prompts. Adjustments shamelessly taken exactly as
7922 suggested in EmacsWiki page (tiny change):
7923 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7924
7925 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7926
7927 * expand.el (expand-pos, expand-index, expand-point):
7928 Remove redundant info from docstring.
7929 (expand-add-abbrevs): Doc fix.
7930 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7931 (expand-sample-perl-mode-expand-list): Fix typos.
7932
7933 * net/dbus.el (dbus-event-member-name):
7934 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7935 * term/pc-win.el (msdos-create-frame-with-faces):
7936 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7937
7938 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7939
7940 * window.el (split-window, window-state-get-1)
7941 (window-state-put-1, window-state-put-2): Rename occurrences of
7942 window-nest to window-combination-limit.
7943 * cus-start.el (window-nest): Rename to window-combination-limit.
7944
7945 2011-11-16 Chong Yidong <cyd@gnu.org>
7946
7947 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7948 regexp (Bug#10033).
7949
7950 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7953 `completing-read' will remove *Completions* and will preserve
7954 current-buffer for us.
7955 (tmm-add-prompt): Users of *Completions* will always (re)set its
7956 major mode.
7957 (tmm-old-comp-map): Remove.
7958
7959 2011-11-16 Glenn Morris <rgm@gnu.org>
7960
7961 * mail/rmailedit.el: Require rmailmm when compiling.
7962 (rmail-old-mime-state): New declaration.
7963 (rmail-edit-current-message): If editing a mime message,
7964 edit the "raw" message from the mbox buffer.
7965 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7966
7967 2011-11-15 Glenn Morris <rgm@gnu.org>
7968
7969 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7970 which wasn't being used. Add optional arg to force given state.
7971 (rmail-mime): Add optional arg to force given state.
7972
7973 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7974
7975 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7976 * frame.el (display-mm-dimensions-alist):
7977 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7978 (outline-move-subtree-down):
7979 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7980 (newsticker--treeview-do-get-node):
7981 * net/quickurl.el (quickurl-list-buffer-name):
7982 * progmodes/dcl-mode.el (dcl-mode):
7983 * progmodes/gdb-mi.el (gdb-mapcar*):
7984 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7985
7986 2011-11-15 Glenn Morris <rgm@gnu.org>
7987
7988 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7989 in a boolean sense, so just make it a boolean, and fix the doc.
7990 (rmail-show-mime-function, rmail-mime-feature)
7991 (rmail-require-mime-maybe): Doc fixes.
7992 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7993
7994 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7995
7996 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7997
7998 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7999 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8000 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8001 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8002
8003 2011-11-15 Glenn Morris <rgm@gnu.org>
8004
8005 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8006 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8007 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8008 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8009 (rmail-mime, rmail-show-mime): Doc fixes.
8010
8011 * term/ns-win.el (mode-line-frame-identification):
8012 Leave it alone. (Bug#10051)
8013
8014 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8015
8016 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8017 Handle empty buffers. (Bug#9978)
8018
8019 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * international/mule.el (define-charset):
8022 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8023 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8024 * progmodes/verilog-mode.el (verilog-backward-token):
8025 * textmodes/ispell.el (lookup-words):
8026 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8027
8028 2011-11-14 Glenn Morris <rgm@gnu.org>
8029
8030 * progmodes/executable.el
8031 (executable-make-buffer-file-executable-if-script-p):
8032 Handle file-modes returning nil.
8033
8034 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8035 message - not necessary, and causes problems. (Bug#9831)
8036
8037 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8038
8039 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8040
8041 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8042 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8043 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8044
8045 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8046
8047 * window.el (window-resize, delete-window): Use window-splits
8048 variable instead of function.
8049 (window-state-get-1, window-state-put-2, window-state-put):
8050 Don't deal with windows' splits status.
8051
8052 2011-11-12 Glenn Morris <rgm@gnu.org>
8053
8054 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8055 (apropos-documentation): Doc fixes.
8056
8057 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8058
8059 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8060 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8061
8062 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * electric.el (electric-indent-post-self-insert-function): Make it
8065 possible for a char to only indent in some circumstances.
8066 (electric-indent-mode): Simplify.
8067
8068 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8069
8070 * window.el (windows-with-parameter): Remove unused function.
8071 (windows-at-side): Rename to window-at-side-list.
8072 (window-check, window-atom-check, window-atom-check-1)
8073 (window-side-check, window-size-ignore, window-size-fixed-1)
8074 (window-in-direction-2): Prefix with "window--".
8075 (window-tree-1): Rename to window--subtree, fix doc-string.
8076
8077 2011-11-11 Glenn Morris <rgm@gnu.org>
8078
8079 * subr.el (eval-after-load): If FILE is already loaded,
8080 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8081
8082 2011-11-10 Glenn Morris <rgm@gnu.org>
8083
8084 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8085 Call svn via vc-svn-command rather than vc-do-command.
8086 (vc-svn-command): Add --non-interactive. (Bug#9993)
8087 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8088
8089 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8090 Add toggle-read-only. (Bug#7292)
8091 * files.el (toggle-read-only): Mention that it should only
8092 be used interactively. (Bug#10006)
8093
8094 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8097 Adjust regexp for OCaml warnings.
8098
8099 * electric.el (electric-pair-post-self-insert-function): Let user
8100 turn it off buffer-locally (bug#9932).
8101
8102 * progmodes/python.el (python-beginning-of-statement):
8103 Rewrite (bug#2703).
8104
8105 * progmodes/compile.el: Better handle TABs (bug#9749).
8106 (compilation-internal-error-properties)
8107 (compilation-next-error-function): Obey the target buffer's
8108 compilation-error-screen-columns.
8109
8110 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8111
8112 * progmodes/meta-mode.el: Remove obsolete comments.
8113 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8114 Fix typos in docstrings.
8115
8116 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8117
8118 * window.el (window-size-fixed-p): Rewrite doc-string.
8119 (window-resizable-p): Rename to window--resizable-p. Update callers.
8120 (window--resizable): New function. Make all callers of
8121 window-resizable call window--resizable instead.
8122 (window-resizable): Rewrite in terms of window--resizable.
8123
8124 2011-11-08 Glenn Morris <rgm@gnu.org>
8125
8126 * progmodes/delphi.el (delphi-mode-syntax-table):
8127 Let define-derived-mode define a proper syntax table. (Bug#9994)
8128
8129 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * window.el: Stay away from defsubst.
8132 (window-list-no-nils): Remove.
8133 (window-state-get-1, window-state-get): Use backquote instead.
8134
8135 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8136
8137 * emacs-lisp/find-func.el (find-function-read):
8138 Fix incorrect use of default argument in `completing-read'.
8139
8140 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8141
8142 * window.el (display-buffer-function, special-display-function):
8143 Mention display-buffer-record-window but do not mention
8144 help-setup parameter in doc-strings.
8145 (window-min-delta): Fix doc-string typo.
8146
8147 2011-11-08 Chong Yidong <cyd@gnu.org>
8148
8149 * window.el (window-total-height, window-total-width): Doc fix.
8150 (window-body-size): Move from C.
8151 (window-body-height, window-body-width): Move to C.
8152
8153 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * window.el: Make special-display like display-buffer-alist (bug#9532).
8156 (display-buffer--special-action): New function, morphed
8157 from display-buffer--special.
8158 (display-buffer): Use it to handle special-display-buffers at higher
8159 priority (just after display-buffer-alist).
8160 (display-buffer-fallback-action, display-buffer--other-frame-action)
8161 (pop-to-buffer-same-window): Remove display-buffer--special.
8162
8163 2011-11-07 Glenn Morris <rgm@gnu.org>
8164
8165 * calendar/cal-menu.el (cal-menu-set-date-title):
8166 Do nothing if not in a calendar. (Bug#9976)
8167
8168 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * files.el (find-file): Always use selected-window.
8171
8172 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8173
8174 * window.el (window-combinations): Make WINDOW argument
8175 mandatory. Rewrite doc-string.
8176 (walk-window-subtree, window-atom-check, window-min-delta)
8177 (window-max-delta, window--resize-this-window)
8178 (window--resize-root-window-vertically, window-tree)
8179 (balance-windows, window-state-put): Rewrite doc-strings as to
8180 not mention the term "subwindow".
8181 (window--resize-subwindows-skip-p): Rename to
8182 window--resize-child-windows-skip-p.
8183 (window--resize-subwindows-normal): Rename to
8184 window--resize-child-windows-normal.
8185 (window--resize-subwindows): Rename to
8186 window--resize-child-windows.
8187 (window-or-subwindow-p): Rename to window--in-subtree-p.
8188
8189 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8190
8191 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8192 Ensure that mbox format messages end in two newlines (Bug#9974).
8193
8194 2011-11-06 Chong Yidong <cyd@gnu.org>
8195
8196 * window.el (window-combination-p): Function deleted; its
8197 side-effect is not used in any existing code.
8198 (window-combinations, window-combined-p): Call window-*-child
8199 directly.
8200
8201 2011-11-05 Chong Yidong <cyd@gnu.org>
8202
8203 * window.el (window-valid-p): Rename from window-any-p.
8204 (window-size-ignore, window-state-get): Callers changed.
8205 (window-normalize-window): Rename from window-normalize-any-window.
8206 New arg LIVE-ONLY, replacing window-normalize-live-window.
8207 (window-normalize-live-window): Delete.
8208 (window-combination-p, window-combined-p, window-combinations)
8209 (walk-window-subtree, window-atom-root, window-min-size)
8210 (window-sizable, window-sizable-p, window-size-fixed-p)
8211 (window-min-delta, window-max-delta, window-resizable)
8212 (window-resizable-p, window-full-height-p, window-full-width-p)
8213 (window-current-scroll-bars, window-point-1, set-window-point-1)
8214 (window-at-side-p, window-in-direction, window-resize)
8215 (adjust-window-trailing-edge, maximize-window, minimize-window)
8216 (window-deletable-p, delete-window, delete-other-windows)
8217 (record-window-buffer, unrecord-window-buffer)
8218 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8219 (quit-window, split-window, window-state-put)
8220 (set-window-text-height, fit-window-to-buffer)
8221 (shrink-window-if-larger-than-buffer): Callers changed.
8222
8223 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8224
8225 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8226 rfc2047-decode-string.
8227 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8228 warnings.
8229
8230 * window.el (window-body-height, window-body-width): Mention in
8231 the doc string that the return values are in frame's canonical
8232 units. (Bug#9949)
8233
8234 2011-11-03 Alan Mackenzie <acm@muc.de>
8235
8236 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8237 change in cc-engine.el.
8238
8239 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8242
8243 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8244
8245 * window.el (quit-window): Call unrecord-window-buffer after
8246 showing another buffer in the window. (Bug#9937)
8247 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8248
8249 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8250
8251 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8252 Accept status with more than 9 shelves. (Bug#9935)
8253 Reported by Colin D Bennett <colin@gibibit.com>.
8254
8255 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8256
8257 * help.el (with-help-window): Don't reference
8258 temp-buffer-show-specifiers in doc-string.
8259
8260 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8261
8262 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8263 menu-item.
8264
8265 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8266
8267 * whitespace.el: New version 13.2.2.
8268 (whitespace-newline-mode): Disable properly. Reported by Sarah
8269 <EmacsWiki>.
8270
8271 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8272
8273 * net/newst-treeview.el: Remove "Time-stamp".
8274 (newsticker--group-manage-orphan-feeds): Do not call
8275 newsticker--treeview-tree-update.
8276 (newsticker-treeview-update, newsticker-treeview):
8277 Call newsticker--treeview-tree-update if necessary.
8278
8279 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8280
8281 * window.el (window-iso-combination-p, window-iso-combined-p)
8282 (window-iso-combinations): Remove "iso-" infix.
8283 Suggested by Chong Yidong.
8284 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8285 (window-max-delta-1, window-resize, window--resize-siblings)
8286 (window--resize-this-window, adjust-window-trailing-edge)
8287 (split-window, balance-windows-1)
8288 (shrink-window-if-larger-than-buffer):
8289 * calendar/calendar.el (calendar-generate-window):
8290 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8291
8292 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8293
8294 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8295 in place (bug#9907).
8296 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8297 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8298 (eshell-structure-basic-command, eshell-rewrite-while-command)
8299 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8300 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8301 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8302 (eshell-do-pipelines-synchronously, eshell-eval-command):
8303 Use backquotes and prefer setq to set.
8304 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8305 (eshell-macrop): Use functionp.
8306 (eshell-do-eval): Handle multiple expressions in `while' body.
8307
8308 2011-10-30 Chong Yidong <cyd@gnu.org>
8309
8310 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8311 instead of set-mark (Bug#9810).
8312
8313 2011-10-30 Chong Yidong <cyd@gnu.org>
8314
8315 * window.el (split-window-below, split-window-right): Rename from
8316 split-window-above-each-other and split-window-side-by-side
8317 respectively. All callers changed.
8318 (split-window-sensibly, split-window-sensibly): Use them.
8319 (split-window-keep-point): Doc fix.
8320
8321 * isearch.el: Add isearch-scroll property to split-window-below
8322 and split-window-right.
8323
8324 * follow.el (follow-mode):
8325 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8326 * progmodes/ada-xref.el (ada-gdb-application):
8327 * emulation/vip.el (vip-buffer-in-two-windows):
8328 * image-dired.el (image-dired-dired-with-window-configuration):
8329 * dired-x.el (dired-do-find-marked-files):
8330 * dired.el (dired-pop-to-buffer):
8331 * bs.el (bs--show-with-configuration):
8332 * vc/emerge.el (emerge-setup-windows):
8333 * textmodes/two-column.el (2C-two-columns):
8334 * textmodes/reftex-toc.el (reftex-toc):
8335 * progmodes/gdb-mi.el (gdb-setup-windows):
8336 * progmodes/fortran.el (fortran-window-create):
8337 * net/newst-treeview.el (newsticker--treeview-window-init):
8338 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8339 * emulation/tpu-edt.el (tpu-gold-map):
8340 * emulation/crisp.el (crisp-mode-map):
8341 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8342
8343 2011-10-29 Chong Yidong <cyd@gnu.org>
8344
8345 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8346
8347 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8348
8349 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8350 forged Ispell output (Bug#7904).
8351
8352 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8353
8354 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8355
8356 * doc-view.el: Avoid ugly errors about not finding nil.
8357 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8358 (doc-view-dvipdf-program, doc-view-unoconv-program)
8359 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8360 Avoid nil or absolute file name as default value.
8361 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8362
8363 2011-10-28 Alan Mackenzie <acm@muc.de>
8364
8365 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8366
8367 2011-10-28 Alan Mackenzie <acm@muc.de>
8368
8369 Amend the handling of c-beginning/end-of-defun in nested declaration
8370 scopes.
8371
8372 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8373 cc-langs.el. Change it to a defcustom.
8374
8375 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8376 cc-vars.el.
8377
8378 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8379 Prevent "class foo : bar" being spuriously recognized as a label.
8380
8381 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8382 Add parameter `inclusive' (to include enclosing braces in the region).
8383 (c-widen-to-enclosing-decl-scope): New function.
8384 (c-while-widening-to-decl-block): New macro.
8385 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8386 outward for defun boundaries, and correspondingly change symbol
8387 `respect-enclosure' to `go-outward'.
8388 (c-declaration-limits): Change algorithm to report only the "innermost"
8389 defun's boundaries.
8390
8391 2011-10-28 Deniz Dogan <deniz@dogan.se>
8392
8393 * net/rcirc.el (rcirc-mode): Use hard newlines.
8394
8395 2011-10-28 Alan Mackenzie <acm@muc.de>
8396
8397 Amend to indent and fontify macros "which include their own semicolon"
8398 correctly, using the "virtual semicolon" mechanism.
8399
8400 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8401
8402 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8403 Recode to scan one line at a time rather than having \n and \r
8404 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8405 (c-forward-label): Amend for virtual semicolons.
8406 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8407
8408 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8409 of the new C macros.
8410
8411 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8412 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8413 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8414 (c-opt-cpp-macro-define): Make into a full language variable.
8415 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8416 AWK Mode (including \n, \r) removed, no longer needed.
8417
8418 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8419 Invoke c-make-macro-with-semi-re.
8420
8421 * progmodes/cc-vars.el (c-macro-with-semi-re):
8422 (c-macro-names-with-semicolon): New variables.
8423 (c-make-macro-with-semi-re): New function.
8424
8425 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * vc/log-edit.el: Fill empty field rather than adding new one.
8428 (log-edit-add-field): New function.
8429 (log-edit-insert-changelog): Use it.
8430
8431 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8432
8433 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8434
8435 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8438 (gdb--check-interpreter): New function.
8439 (gdb): Use it.
8440
8441 2011-10-27 Glenn Morris <rgm@gnu.org>
8442
8443 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8444 (least-positive-float, least-negative-float)
8445 (least-positive-normalized-float, least-negative-normalized-float)
8446 (float-epsilon, float-negative-epsilon):
8447 Remove unnecessary declarations.
8448
8449 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8450 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8451 (least-positive-float, least-negative-float)
8452 (least-positive-normalized-float, least-negative-normalized-float)
8453 (float-epsilon, float-negative-epsilon): Add doc-strings,
8454 based on those in cl.texi.
8455
8456 * files.el (set-visited-file-name): If the major-mode changed,
8457 reload the local variables. (Bug#9796)
8458
8459 2011-10-27 Chong Yidong <cyd@gnu.org>
8460
8461 * subr.el (change-major-mode-after-body-hook): New hook.
8462 (run-mode-hooks): Run it.
8463
8464 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8465 Use change-major-mode-before-body-hook.
8466
8467 * simple.el (fundamental-mode):
8468 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8469 change introducing fundamental-mode-hook.
8470
8471 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8472
8473 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8474
8475 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8476
8477 * ido.el (ido-file-name-all-completions-1): Do not require
8478 tramp.el explicitly. (Bug#7583)
8479
8480 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * progmodes/octave-mod.el:
8483 * progmodes/octave-inf.el: Update maintainer.
8484
8485 2011-10-26 Chong Yidong <cyd@gnu.org>
8486
8487 * subr.el (with-wrapper-hook): Rewrite doc.
8488
8489 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8490
8491 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8492 filenames "/method:foo:". (Bug#9793)
8493
8494 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8495
8496 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8497 (bug#9865).
8498
8499 2011-10-24 Glenn Morris <rgm@gnu.org>
8500
8501 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8502
8503 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
8504
8505 * notifications.el: Add the requirement of a running D-Bus session
8506 bus to the Commentary.
8507
8508 2011-10-24 Juri Linkov <juri@jurta.org>
8509
8510 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8511 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8512 (Bug#9364)
8513
8514 2011-10-24 Juri Linkov <juri@jurta.org>
8515
8516 * info.el (Info-following-node-name-re): Add newline to the list
8517 of allowed characters for leading space. (Bug#9824)
8518
8519 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * progmodes/octave-inf.el (inferior-octave-mode-map):
8522 Fix C-c C-h binding.
8523 * progmodes/octave-mod.el (octave-help): Remove.
8524
8525 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
8526
8527 Sync with Tramp 2.2.3.
8528
8529 * net/tramp-cache.el (top): Pacify byte-compiler using
8530 `init-file-user' and `site-run-file'.
8531
8532 * net/trampver.el: Update release number.
8533
8534 2011-10-23 Chong Yidong <cyd@gnu.org>
8535
8536 * files.el (toggle-read-only): Remove obsolete comment about
8537 version control.
8538
8539 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8540 for toggle-read-only. Note that this hasn't called vc-next-action
8541 since 2008-05-02, though it wasn't documented at the time.
8542
8543 * vc/ediff-init.el (ediff-toggle-read-only-function):
8544 Use toggle-read-only.
8545
8546 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8547
8548 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8549 of c-parse-state.
8550
8551 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8552 correct faulty logical expression.
8553 (c-parse-state-state, c-record-parse-state-state):
8554 (c-replay-parse-state-state): New defvar/defuns.
8555 (c-debug-parse-state): Use new functions.
8556
8557 2011-10-22 Martin Rudalics <rudalics@gmx.at>
8558
8559 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8560 last fix. Use window-in-direction correctly.
8561
8562 2011-10-21 Chong Yidong <cyd@gnu.org>
8563
8564 * progmodes/idlwave.el (idlwave-mode):
8565 * progmodes/vera-mode.el (vera-mode): No need to set
8566 require-final-newline; that's done in prog-mode.
8567 Suggested by Stefan Monnier.
8568
8569 2011-10-21 Martin Rudalics <rudalics@gmx.at>
8570
8571 * mouse.el (mouse-drag-window-above)
8572 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8573 (mouse-drag-mode-line-1, mouse-drag-header-line)
8574 (mouse-drag-vertical-line-rightward-window): Remove.
8575 (mouse-drag-line): New function.
8576 (mouse-drag-mode-line, mouse-drag-header-line)
8577 (mouse-drag-vertical-line): Call mouse-drag-line.
8578 * window.el (window-at-side-p, windows-at-side): New functions.
8579
8580 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
8581
8582 * tar-mode.el (tar-grind-file-mode):
8583 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8584
8585 2011-10-21 Chong Yidong <cyd@gnu.org>
8586
8587 * progmodes/idlwave.el (idlwave-mode):
8588 * progmodes/vera-mode.el (vera-mode):
8589 Use mode-require-final-newline.
8590
8591 2011-10-20 Glenn Morris <rgm@gnu.org>
8592
8593 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8594
8595 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8596
8597 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8598
8599 2011-10-20 Chong Yidong <cyd@gnu.org>
8600
8601 * emulation/cua-base.el (cua-mode):
8602 * mail/footnote.el (footnote-mode):
8603 * mail/mailabbrev.el (mail-abbrevs-mode):
8604 * net/xesam.el (xesam-minor-mode):
8605 * progmodes/bug-reference.el (bug-reference-mode):
8606 * progmodes/cap-words.el (capitalized-words-mode):
8607 * progmodes/compile.el (compilation-minor-mode)
8608 (compilation-shell-minor-mode):
8609 * progmodes/gud.el (gud-tooltip-mode):
8610 * progmodes/hideif.el (hide-ifdef-mode):
8611 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8612 * progmodes/subword.el (subword-mode):
8613 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8614 * progmodes/which-func.el (which-function-mode):
8615 * term/tvi970.el (tvi970-set-keypad-mode):
8616 * term/vt100.el (vt100-wide-mode):
8617 * textmodes/flyspell.el (flyspell-mode):
8618 * textmodes/ispell.el (ispell-minor-mode):
8619 * textmodes/nroff-mode.el (nroff-electric-mode):
8620 * textmodes/paragraphs.el (use-hard-newlines):
8621 * textmodes/refill.el (refill-mode):
8622 * textmodes/reftex.el (reftex-mode):
8623 * textmodes/rst.el (rst-minor-mode):
8624 * textmodes/sgml-mode.el (html-autoview-mode)
8625 (sgml-electric-tag-pair-mode):
8626 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8627 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8628 * emulation/crisp.el (crisp-mode):
8629 * emacs-lisp/eldoc.el (eldoc-mode):
8630 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8631 minor mode behavior.
8632
8633 2011-10-19 Juri Linkov <juri@jurta.org>
8634
8635 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8636 the list of hard-coded chars with escape-glyph face.
8637
8638 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8641
8642 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8643
8644 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8645 running process.
8646
8647 2011-10-19 Glenn Morris <rgm@gnu.org>
8648
8649 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8650 Ignore ignored files. (Bug#9726)
8651
8652 2011-10-19 Chong Yidong <cyd@gnu.org>
8653
8654 Doc fix for minor modes, stating that an omitted argument enables
8655 the mode unconditionally when called from Lisp.
8656
8657 * abbrev.el (abbrev-mode):
8658 * allout.el (allout-mode):
8659 * autoinsert.el (auto-insert-mode):
8660 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8661 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8662 (global-auto-revert-mode):
8663 * battery.el (display-battery-mode):
8664 * composite.el (global-auto-composition-mode)
8665 (auto-composition-mode):
8666 * delsel.el (delete-selection-mode):
8667 * desktop.el (desktop-save-mode):
8668 * dired-x.el (dired-omit-mode):
8669 * dirtrack.el (dirtrack-mode):
8670 * doc-view.el (doc-view-minor-mode):
8671 * double.el (double-mode):
8672 * electric.el (electric-indent-mode, electric-pair-mode):
8673 * emacs-lock.el (emacs-lock-mode):
8674 * epa-hook.el (auto-encryption-mode):
8675 * follow.el (follow-mode):
8676 * font-core.el (font-lock-mode):
8677 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8678 * help.el (temp-buffer-resize-mode):
8679 * hilit-chg.el (highlight-changes-mode)
8680 (highlight-changes-visible-mode):
8681 * hi-lock.el (hi-lock-mode):
8682 * hl-line.el (hl-line-mode, global-hl-line-mode):
8683 * icomplete.el (icomplete-mode):
8684 * ido.el (ido-everywhere):
8685 * image-file.el (auto-image-file-mode):
8686 * image-mode.el (image-minor-mode):
8687 * iswitchb.el (iswitchb-mode):
8688 * jka-cmpr-hook.el (auto-compression-mode):
8689 * linum.el (linum-mode):
8690 * longlines.el (longlines-mode):
8691 * master.el (master-mode):
8692 * mb-depth.el (minibuffer-depth-indicate-mode):
8693 * menu-bar.el (menu-bar-mode):
8694 * minibuf-eldef.el (minibuffer-electric-default-mode):
8695 * mouse-sel.el (mouse-sel-mode):
8696 * msb.el (msb-mode):
8697 * mwheel.el (mouse-wheel-mode):
8698 * outline.el (outline-minor-mode):
8699 * paren.el (show-paren-mode):
8700 * recentf.el (recentf-mode):
8701 * reveal.el (reveal-mode, global-reveal-mode):
8702 * rfn-eshadow.el (file-name-shadow-mode):
8703 * ruler-mode.el (ruler-mode):
8704 * savehist.el (savehist-mode):
8705 * scroll-all.el (scroll-all-mode):
8706 * scroll-bar.el (scroll-bar-mode):
8707 * server.el (server-mode):
8708 * shell.el (shell-dirtrack-mode):
8709 * simple.el (auto-fill-mode, transient-mark-mode)
8710 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8711 (line-number-mode, column-number-mode, size-indication-mode)
8712 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8713 * strokes.el (strokes-mode):
8714 * time.el (display-time-mode):
8715 * t-mouse.el (gpm-mouse-mode):
8716 * tool-bar.el (tool-bar-mode):
8717 * tooltip.el (tooltip-mode):
8718 * type-break.el (type-break-mode-line-message-mode)
8719 (type-break-query-mode):
8720 * view.el (view-mode):
8721 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8722 (global-whitespace-mode, global-whitespace-newline-mode):
8723 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8724
8725 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8726 Fix autogenerated docstring.
8727
8728 2011-10-19 Juri Linkov <juri@jurta.org>
8729
8730 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8731 by checking environment variables "DESKTOP_SESSION" and
8732 "XDG_CURRENT_DESKTOP". (Bug#9779)
8733
8734 2011-10-19 Juri Linkov <juri@jurta.org>
8735
8736 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8737 (browse-url-chromium-program, browse-url-chromium-arguments):
8738 New defcustoms.
8739 (browse-url-default-browser): Check for `browse-url-chromium' and
8740 call `browse-url-chromium-program'.
8741 (browse-url-chromium): New command. (Bug#9779)
8742
8743 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8744
8745 * facemenu.el (list-colors-duplicates): On Windows, detect more
8746 duplicates by assuming that only colors matching "^System" are
8747 special "system colors". (Bug#9722)
8748
8749 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8752 to distinguish the author from the committer.
8753
8754 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8755
8756 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8757
8758 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8759
8760 * international/mule.el (sgml-html-meta-auto-coding-function):
8761 Add support for detecting encoding in HTML5 specified only as
8762 <meta charset="UTF-8">. Implementation just makes http-equiv and
8763 content-type parts from HTML4 encoding string optional. (Bug#9716)
8764
8765 2011-10-18 Glenn Morris <rgm@gnu.org>
8766
8767 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8768
8769 2011-10-18 Chong Yidong <cyd@gnu.org>
8770
8771 * faces.el (cursor): Doc fix.
8772
8773 2011-10-17 Chong Yidong <cyd@gnu.org>
8774
8775 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8776
8777 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8778
8779 * dirtrack.el (dirtrack): Support shell buffers with path
8780 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8781
8782 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8783
8784 * json.el: Bump version to 1.3 and note change in History.
8785 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8786
8787 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * comint.el (comint-insert-input, comint-send-input)
8790 (comint-get-old-input-default, comint-backward-matching-input)
8791 (comint-next-prompt): Use nil instead of `input' for field property of
8792 past user input (bug#114).
8793
8794 * minibuffer.el (completion--replace): Inherit surrounding properties
8795 (bug#114).
8796 (minibuffer-complete-and-exit): Use it.
8797
8798 * comint.el (comint--table-subvert): Quote the all-completions output
8799 (bug#9160).
8800
8801 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8802
8803 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8804
8805 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8806 window on right of selected. (Bug#9350) Reword other window
8807 entries and separate them from frame entries.
8808
8809 2011-10-15 Glenn Morris <rgm@gnu.org>
8810
8811 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8812 Doc fixes.
8813
8814 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8815
8816 * net/network-stream.el (network-stream-open-starttls):
8817 Improve detection of failure due to lack of TLS support.
8818
8819 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8820 putting the input text in front and in bold.
8821
8822 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8825
8826 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8827 empty buffer.
8828
8829 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8830 unread-command-events rather than pushing yet-another event.
8831
8832 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8833
8834 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8835 the explanation of the possible choices. Make the options passed
8836 to completing-read shorter.
8837
8838 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8839
8840 * textmodes/flyspell.el (flyspell-large-region): Make sure
8841 extended character mode is used if defined (Bug#1339).
8842
8843 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8844
8845 * simple.el (what-cursor-position): Fix the display of the
8846 character info for LRE, LRO, RLE, and RLO characters by appending
8847 an invisible PDF.
8848
8849 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8850
8851 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8852 even in case of error; add debug spec; simplify data flow.
8853 (with-timeout-handler): Remove.
8854
8855 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8856
8857 Fix Bug#6019, Bug#9315.
8858
8859 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8860 complete `buffer-file-name', the local file name part could look
8861 remotely (for example on VMS).
8862
8863 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8864 `tramp-run-real-handler'.
8865 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8866 already quoted by '"'.
8867
8868 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8869 Let `file-name-handler-alist' be nil, the local file name part
8870 could look remotely (for example on VMS).
8871
8872 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8875 from here...
8876 (flyspell-post-command-hook): ...to here.
8877
8878 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8879
8880 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8881 if not needed.
8882 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8883 using completion. Protect against "slow" callers.
8884 Remove the "message hack".
8885
8886 2011-10-11 Juri Linkov <juri@jurta.org>
8887
8888 * isearch.el (isearch-lazy-highlight-word): New variable.
8889 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8890 Use it. (Bug#9727)
8891
8892 2011-10-11 Glenn Morris <rgm@gnu.org>
8893
8894 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8895 like f90-previous-statement does.
8896
8897 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8898
8899 * eshell/eshell.el (eshell-command): History should be saved
8900 only in interactive use, to avoid error.
8901
8902 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8903
8904 * minibuffer.el (completion-file-name-table): Fix last change,
8905 i.e. ignore normal errors but not the other ones.
8906
8907 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8908
8909 * window.el (special-display-buffer-names)
8910 (special-display-regexps): Remove some remnants of earlier
8911 changes from doc-strings.
8912 (quit-windows-on): New function.
8913
8914 * vc/vc.el (vc-revert, vc-rollback):
8915 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8916 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8917 (Bug#6183) (Bug#7074) (Bug#7447)
8918
8919 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8920
8921 * window.el (frame-auto-hide-function): Add version tag.
8922 (Bug#9699)
8923
8924 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8925
8926 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8927 condition.
8928
8929 2011-10-09 Leo Liu <sdl.web@gmail.com>
8930
8931 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8932 (Bug#9701)
8933
8934 2011-10-08 Glenn Morris <rgm@gnu.org>
8935
8936 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8937 before the first code statement zero indent. (Bug#9690)
8938
8939 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8940
8941 * simple.el (count-words-region): Always count in the region.
8942 Report the number of lines and characters too.
8943 (count-words): New command, which counts in the buffer if the
8944 region is inactive, as count-words-region used to.
8945 (count-words--message): New function. Handle plurals.
8946 (count-lines-region): Make it an alias for count-words-region.
8947
8948 * bindings.el (esc-map): Replace count-lines-region with
8949 count-words-region.
8950
8951 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8952
8953 * window.el (window--delete): Delete dedicated frame
8954 unconditionally when argument KILL is non-nil. (Bug#9699)
8955 (switch-to-buffer): Fix doc-string typo.
8956
8957 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8958
8959 * eshell/eshell.el (eshell-command): Avoid using hooks.
8960
8961 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8962
8963 * bindings.el ([M-left],[M-right]): Bind to left-word and
8964 right-word respectively.
8965
8966 2011-10-07 Glenn Morris <rgm@gnu.org>
8967
8968 * cus-start.el (debug-on-quit): Fix custom type.
8969
8970 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8971
8972 * subr.el (define-key-after): Clarify that the function is not
8973 useful for non-menu keymaps.
8974
8975 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8976
8977 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8978
8979 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8980 in current minibuffer (Fix bug with recursive minibuffers).
8981
8982 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8983
8984 * progmodes/gdb-mi.el (gdb): Doc fix.
8985
8986 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8987
8988 * window.el (frame-auto-hide-function): New option replacing
8989 frame-auto-delete. Suggested by Stefan Monnier.
8990 (window--delete): Call frame-auto-hide-function instead of
8991 investigating frame-auto-delete.
8992 (window-point-1, set-window-point-1): New functions.
8993 (window-in-direction, record-window-buffer, window-state-get-1)
8994 (display-buffer-record-window): Use window-point-1 instead of
8995 window-point.
8996 (set-window-buffer-start-and-point): Use set-window-point-1.
8997
8998 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9001
9002 2011-10-05 Glenn Morris <rgm@gnu.org>
9003
9004 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9005 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9006
9007 2011-10-05 Leo Liu <sdl.web@gmail.com>
9008
9009 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9010 works with buffer object.
9011
9012 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * mpc.el (mpc-tool-bar-map): Add labels.
9015
9016 2011-10-04 Glenn Morris <rgm@gnu.org>
9017
9018 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9019
9020 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9021
9022 * window.el (window--delete): New function.
9023 (frame-auto-delete): Resuscitate option.
9024 (bury-buffer, replace-buffer-in-windows)
9025 (quit-window): Rewrite using window--delete.
9026 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9027 Pass display-buffer-mark-dedicated to window--display-buffer-2
9028 (Bug#9639).
9029
9030 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9033 returns a list (bug#9554). Add remote file name completion.
9034 * comint.el (comint--table-subvert): Curry and get quote&unquote
9035 functions as arguments.
9036 (comint--complete-file-name-data): Adjust call accordingly.
9037 * pcomplete.el (pcomplete--table-subvert): Remove.
9038 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9039
9040 * minibuffer.el (completion-table-case-fold): Use currying.
9041 (completion--styles-type, completion--cycling-threshold-type):
9042 New constants.
9043 (completion-styles, completion-category-overrides)
9044 (completion-cycle-threshold): Use them.
9045 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9046 completion-table-case-fold.
9047
9048 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9049
9050 * minibuffer.el (completion-category-overrides): Fix type of styles
9051 and add more user friendly tags (bug#9660).
9052
9053 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9056 (mule-input-method-string): New widget.
9057 (default-input-method, language-info-custom-alist): Use it.
9058
9059 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9060
9061 * pcomplete.el: Require comint.
9062 (pcomplete--common-suffix): Remove.
9063 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9064 (pcomplete--table-subvert): Sync with comint--table-subvert.
9065 (pcomplete--entries): Use comint-completion-file-name-table.
9066 * comint.el (comint-unquote-filename): Simplify.
9067 (comint-completion-file-name-table): New function (bug#9616).
9068 (comint--complete-file-name-data): Use it.
9069
9070 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9071 (pcmpl-gnu-tar-buffer): Remove.
9072 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9073 around. Make sure pcomplete-suffix-list is only changed temporarily.
9074 Don't look inside the tar's file if it's too large.
9075
9076 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9077
9078 * cus-edit.el (custom-mode-map):
9079 * epa.el (epa-key-list-mode-map):
9080 * man.el (Man-mode-map):
9081 * startup.el (splash-screen-keymap):
9082 * simple.el (special-mode-map): Use scroll-up-command and
9083 scroll-down-command.
9084
9085 * progmodes/idlw-help.el (idlwave-help-mode-map):
9086 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9087 * net/newst-plainview.el (newsticker-mode-map):
9088 * emulation/ws-mode.el (wordstar-mode-map):
9089 * emulation/vi.el (vi-com-map):
9090 * calc/calc-graph.el (calc-graph-show-dumb):
9091 * term/sun.el (terminal-init-sun):
9092 * term/ns-win.el (global-map):
9093 * progmodes/grep.el (grep-mode-map):
9094 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9095 * mail/rmail.el (rmail-mode-map):
9096 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9097
9098 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9099 custom-safe-themes as special.
9100
9101 2011-10-01 Julien Danjou <julien@danjou.info>
9102
9103 * notifications.el (notifications-notify): Fix docstring.
9104
9105 2011-10-01 Per Starbäck <per@starback.se>
9106
9107 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9108
9109 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9110
9111 * startup.el (command-line-1): Fix last fix by inserting
9112 initial-scratch-message into *scratch* before displaying it.
9113 (Bug#9605) and (Bug#9636)
9114
9115 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9116
9117 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9118 window is hscrolled, move by logical lines. (Bug#9607)
9119 (line-move-visual): Update the doc string to the above effect.
9120
9121 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9122
9123 * window.el (display-buffer-record-window): When WINDOW is the
9124 selected window use `point' instead of `window-point'. (Bug#9626)
9125
9126 * startup.el (command-line-1): Use insert-before-markers when
9127 inserting initial-scratch-message. (Bug#9605)
9128
9129 * help.el (help-window): Remove variable.
9130
9131 2011-09-29 Glenn Morris <rgm@gnu.org>
9132
9133 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9134
9135 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9136
9137 * descr-text.el (describe-char-categories): Accept category
9138 descriptions more than one line long.
9139
9140 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * simple.el (delete-trailing-whitespace): Fix last change.
9143
9144 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9145 Don't confuse "y => 3" as the beginning of a `y' operation.
9146
9147 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9148 object has more than 4 slots (bug#9613).
9149
9150 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9151
9152 * subr.el (with-output-to-temp-buffer):
9153 * net/quickurl.el (quickurl, quickurl-browse-url):
9154 Fix typos in docstrings.
9155
9156 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9157
9158 * minibuffer.el (completion-styles)
9159 (completion-category-overrides): Cross reference each other in doc
9160 strings.
9161
9162 2011-09-27 Glenn Morris <rgm@gnu.org>
9163
9164 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9165 to split-string. (Bug#9606)
9166
9167 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9168
9169 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9170 (bug#9615).
9171
9172 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9173
9174 * emacs-lisp/package.el (list-packages): Fix echo area message.
9175
9176 2011-09-27 Leo Liu <sdl.web@gmail.com>
9177
9178 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9179
9180 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9181
9182 * net/dbus.el (dbus-unregister-object): Don't release services for
9183 registered signals. (Bug#9581)
9184
9185 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9186
9187 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9188 function that picks between cfengine 2 and 3 support
9189 automatically. Update docs accordingly.
9190
9191 2011-09-22 Kenichi Handa <handa@m17n.org>
9192
9193 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9194 ZERO.
9195 (indian-itrans-v5-table-for-tamil): New variable.
9196 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9197
9198 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9199
9200 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9201 that's true if the current command involved collapsing of text.
9202 It's reset to false at the beginning of the next command.
9203 (allout-post-command-business): Move the cursor to the beginning
9204 of entry if the cursor is hidden and collapsing activity just
9205 happened.
9206
9207 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9208
9209 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9210 tracking (Bug#9541).
9211
9212 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9213
9214 * net/newst-reader.el (newsticker-html-renderer)
9215 (newsticker-show-news): Automatically load html rendering package
9216 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9217 because w3m-fill-column is let-bound" and the error "Symbol's value
9218 as variable is void: w3m-fill-column".
9219
9220 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9221
9222 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9223 Release services only if they are defined. (Bug#9581)
9224
9225 2011-09-23 Richard Stallman <rms@gnu.org>
9226
9227 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9228 distinguish start of paragraph from start of its text.
9229
9230 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9231
9232 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9233 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9234 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9235
9236 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9237
9238 * international/mule-diag.el (mule-diag): Insert a newline after
9239 each fontset description.
9240
9241 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * simple.el (delete-trailing-whitespace):
9244 Document last change; simplify.
9245
9246 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9247
9248 * simple.el (delete-trailing-whitespace): Also delete
9249 extra newlines at the end of the buffer.
9250
9251 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9252 (picture-newline): Use forward-line so as to ignore fields.
9253
9254 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * subr.el (with-wrapper-hook): Fix edebug spec.
9257
9258 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9259
9260 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9261 (bug#4538).
9262
9263 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9264
9265 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9266 Fix nasty bug using wrong cached values.
9267
9268 2011-09-23 Alan Mackenzie <acm@muc.de>
9269
9270 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9271
9272 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9273
9274 * window.el (pop-to-buffer): Ensure right window is selected if we
9275 chose another frame.
9276
9277 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9278
9279 * simple.el (what-cursor-position): Use get-char-property-change
9280 and next-single-char-property-change, to be able to show display
9281 properties that come from overlays as well as text properties.
9282
9283 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9284
9285 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9286
9287 * cmuscheme.el (run-scheme, switch-to-scheme):
9288 * cus-edit.el (customize-group, custom-buffer-create)
9289 (customize-browse):
9290 * info.el (info):
9291 * shell.el (shell):
9292 * mail/sendmail.el (mail):
9293 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9294
9295 2011-09-22 Richard Stallman <rms@gnu.org>
9296
9297 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9298 move back only to line beg, don't move back over blank lines.
9299
9300 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9301
9302 * files.el (copy-directory): Set directory attributes only in case
9303 they could be retrieved from the source directory. (Bug#9565)
9304
9305 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9306
9307 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9308 (hs-find-block-beginning, hs-hide-level-recursive):
9309 Ignore strings as well as comments. (Bug#9502)
9310
9311 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9312
9313 * progmodes/sql.el (sql-comint-postgres):
9314 Convert port number to a string. (Bug#9566)
9315
9316 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9317
9318 * window.el (quit-window): Undedicate window when switching to
9319 previous buffer. Reported by Thierry Volpiatto
9320 <thierry.volpiatto@gmail.com>.
9321 (special-display-popup-frame): When popping up a new frame reset
9322 its previous buffers to nil. Simplify code.
9323
9324 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9325
9326 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9327 and process filter, as done also in `shell-command'.
9328
9329 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9330
9331 * window.el (set-window-buffer-start-and-point):
9332 Call set-window-start with NOFORCE argument t.
9333 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9334 (quit-window): Reword doc-string. Handle new format of
9335 quit-restore parameter. Don't delete window if it has a
9336 previous buffer we can show instead of the present one.
9337 (display-buffer-record-window): Rewrite using a new format for
9338 the quit-restore window parameter
9339 (special-display-popup-frame, display-buffer-same-window)
9340 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9341 (display-buffer-pop-up-window, display-buffer-use-some-window):
9342 Adapt symbol passed to display-buffer-record-window.
9343 * help.el (help-window-setup): Handle new format of quit-restore
9344 parameter.
9345
9346 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9347
9348 * faces.el (face-list): Fix docstring (bug#9564).
9349
9350 * window.el (display-buffer--action-function-custom-type):
9351 Don't include internal functions in the Custom interface.
9352
9353 2011-09-20 Juri Linkov <juri@jurta.org>
9354
9355 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9356 (Info-forward-node, Info-backward-node, Info-next-preorder)
9357 (Info-last-preorder): Use it. (Bug#9528)
9358
9359 2011-09-20 Juri Linkov <juri@jurta.org>
9360
9361 * info.el (Info-last-preorder): Visit last menu item only when
9362 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9363
9364 2011-09-20 Julien Danjou <julien@danjou.info>
9365
9366 * password-cache.el (password-cache-remove): Remove entries even if the
9367 value is nil, so that password with a nil value (negative caching) is
9368 possible to invalidate.
9369
9370 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9371
9372 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9373 all whitespace around breakpoint. (Bug#9553)
9374 (f90-find-breakpoint): Only break at whitespace inside a comment.
9375
9376 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * minibuffer.el (completion-file-name-table): Keep track of errors.
9379 (completion-table-with-predicate): Handle the case where pred1 is nil.
9380 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9381
9382 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9383
9384 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9385 (debugger-return-value): Signal an error if the debugging context does
9386 not await any return value.
9387
9388 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9389 * image-mode.el (image-toggle-display-text)
9390 (image-toggle-display-image): Stay away from evil `intangible'.
9391
9392 2011-09-19 Leo Liu <sdl.web@gmail.com>
9393
9394 * replace.el (occur-revert-arguments): Make it permanent-local.
9395 (occur-mode): Don't call font-lock-defontify.
9396
9397 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9398
9399 * net/ldap.el (ldap-search-internal): Don't push empty search
9400 result (Bug#9508).
9401
9402 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9405
9406 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9407
9408 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9409 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9410
9411 2011-09-18 Juri Linkov <juri@jurta.org>
9412
9413 * buff-menu.el (Buffer-menu-mode-map):
9414 * dired.el (dired-mode-map):
9415 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9416 (lisp-interaction-mode-map):
9417 * emacs-lisp/package.el (package-menu-mode-map):
9418 * epa.el (epa-key-list-mode-map):
9419 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9420 (menu-bar-options-menu):
9421 * outline.el (outline-mode-menu-bar-map):
9422 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9423 * vc/vc-dir.el (vc-dir-menu-map):
9424 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9425 Capitalize non-function content words in menu item strings.
9426
9427 * dired.el (dired-mode-map): Add menu item for
9428 `image-dired-dired-toggle-marked-thumbs'.
9429
9430 2011-09-18 Juri Linkov <juri@jurta.org>
9431
9432 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9433 to `isearch-case-fold-search' and restore its original value
9434 after the `isearch-mode' call.
9435
9436 2011-09-18 Juri Linkov <juri@jurta.org>
9437
9438 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9439 because `zgrep' returns 1 for successful matches (bug#9226).
9440
9441 2011-09-18 Juri Linkov <juri@jurta.org>
9442
9443 * info.el (Info-extract-menu-node-name): Check the second match
9444 for empty string (second test-case of bug#9528).
9445 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9446 intermediate nodes to the history (first test-case of bug#9528).
9447
9448 2011-09-18 Juri Linkov <juri@jurta.org>
9449
9450 * info.el (Info-mode-syntax-table): New variable.
9451 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9452
9453 2011-09-18 Juri Linkov <juri@jurta.org>
9454
9455 * info.el (Info-file-supports-index-cookies):
9456 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9457 outputs one more line for long file names (bug#4142).
9458
9459 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9460
9461 * newcomment.el (comment-normalize-vars): If prompting for
9462 comment-start, set comment-start-skip too (Bug#8424).
9463
9464 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9465
9466 * icomplete.el: Fix previous fix of Bug#5849.
9467 (icomplete-mode): Don't set completion-show-inline-help.
9468 (icomplete-minibuffer-setup): Set completion-show-inline-help
9469 locally during icompletion.
9470
9471 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9472
9473 * woman.el (woman2-process-escapes): Don't delete unrecognized
9474 escapes (Bug#7843).
9475
9476 * files.el (inhibit-first-line-modes-regexps): Add image files.
9477 (hack-local-variables-prop-line): Return nil for malformed
9478 prop-lines (Bug#9044).
9479
9480 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9481
9482 * net/tramp.el (top): Don't require 'shell.
9483 (tramp-methods): Fix docstring.
9484 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9485 Return complete remote file name. Handle "smb" case.
9486 Use `tramp-tmpdir', if defined for the respective method.
9487 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9488
9489 * net/tramp-compat.el (top): Require 'shell.
9490
9491 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9492 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9493 `tramp-current-host'.
9494 (tramp-get-remote-tmpdir): Remove.
9495
9496 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9497 `tramp-tmpdir' entries.
9498 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9499 (tramp-smb-handle-file-attributes): Ignore errors.
9500 (tramp-smb-wait-for-output): Check also for process end.
9501
9502 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9503
9504 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9505 when sending QUIT (bug#9312).
9506
9507 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
9508
9509 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9510 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9511 occur-mode-display-occurrence.
9512 (occur-edit-mode): Add usage message.
9513 (occur-cease-edit): New command.
9514 (occur-after-change-function): Use text properties to find the
9515 position of the prefix text.
9516 (occur-engine): Set stickiness of prefix text properties.
9517
9518 2011-09-17 Glenn Morris <rgm@gnu.org>
9519
9520 * progmodes/etags.el (complete-tag):
9521 Fix call to completion-in-region. (Bug#9526)
9522
9523 2011-09-17 Juri Linkov <juri@jurta.org>
9524
9525 * textmodes/ispell.el (ispell-word): Add to the error message
9526 the word, ispell program name and current dictionary (bug#9121).
9527 (ispell-tex-arg-end): Capitalize "error" in the error message.
9528
9529 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9530
9531 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9532 check. (Bug#4251)
9533
9534 2011-09-17 Juri Linkov <juri@jurta.org>
9535
9536 * window.el (window-safe-min-height, window-safe-min-width):
9537 Fix typos (followup to bug#9522).
9538
9539 2011-09-17 Sven Joachim <svenjoac@gmx.de>
9540
9541 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9542
9543 2011-09-16 Eli Zaretskii <eliz@gnu.org>
9544
9545 * simple.el (line-move): If goal-column is set, move by logical
9546 lines, not by display lines. (Bug#971)
9547 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9548 to reflect the above change.
9549
9550 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9551
9552 * image.el (imagemagick-register-types): Use regexp-opt.
9553
9554 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9555
9556 * window.el (display-buffer-base-action): Rename from
9557 display-buffer-default-action. Make default value empty.
9558 (display-buffer-overriding-action): Convert to defvar.
9559 (display-buffer-fallback-action): New var.
9560
9561 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9562
9563 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9564 declaration.
9565 (package--add-to-archive-contents): If there is a duplicate entry
9566 with an older version, remove it.
9567 (package-menu-mark-delete, package-menu-mark-install)
9568 (package-menu-mark-unmark): Make unused args optional.
9569 (package-menu-mark-obsolete-for-deletion):
9570 Use package-menu-get-status instead of a regexp search.
9571 (package-menu-get-status): Use tabulated-list-entry.
9572 (package-menu-mark-upgrades): New command.
9573 (package-menu-mode-map): Bind it to U. Add it to menu bar.
9574 (package-menu-execute): Do installation before deletion.
9575 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9576 instead of checking major-mode.
9577 (package-menu--find-upgrades): New function.
9578
9579 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9580
9581 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9582 passwords in the log buffer.
9583 (smtpmail-process-filter): Update the process marker so that the
9584 "broken by peer" status message is inserted in the right place.
9585
9586 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9589 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9590 bibtex-completion-at-point-function.
9591 (bibtex-completion-at-point-function): Use them.
9592
9593 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9594
9595 * mpc.el (mpc-constraints-tag-lookup): New function.
9596 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9597 also to browser "album|playlist".
9598
9599 2011-09-14 Juri Linkov <juri@jurta.org>
9600
9601 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9602 (isearch-edit-string): Use length of `isearch-string' when
9603 `isearch-fail-pos' returns nil.
9604 (isearch-message): Remove duplicate code and call
9605 `isearch-fail-pos' with arg `t'.
9606
9607 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9608
9609 * replace.el (occur-mode-goto-occurrence): Don't force using other
9610 window (Bug#9499).
9611
9612 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9613
9614 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9615
9616 * window.el (display-buffer-window): Remove.
9617 (display-buffer-record-window): Use help-setup window parameter
9618 instead of variable display-buffer-window.
9619 (display-buffer-function, special-display-buffer-names)
9620 (special-display-function): Mention help-setup parameter instead
9621 of display-buffer-window in doc-string.
9622 * help.el (help-window-setup): New argument help-window.
9623 Use help-window-setup parameter instead of display-buffer-window.
9624 Reword some messages.
9625 (with-help-window): Pass window used for displaying the buffer
9626 to help-window-setup. Don't set display-buffer-window.
9627
9628 2011-09-13 Glenn Morris <rgm@gnu.org>
9629
9630 * emacs-lisp/debug.el (debugger-make-xrefs):
9631 Preserve point. (Bug#9462)
9632
9633 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9634
9635 * window.el (window-deletable-p): Use next-frame.
9636
9637 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9638
9639 * window.el (window-auto-delete): Remove.
9640 (window-deletable-p): Remove argument FORCE. Don't deal with
9641 dedication and previous buffers.
9642 (switch-to-prev-buffer): Don't delete window.
9643 (delete-windows-on): Delete a window's frame if and only if the
9644 window is dedicated.
9645 (replace-buffer-in-windows): Delete buffer's window or frame if
9646 and only if window is dedicated.
9647 (quit-window): Handle quit-restore as before last change.
9648 (bury-buffer): Delete window only if window-deletable-p returns t.
9649
9650 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9651
9652 * window.el (window-deletable-p): Never delete the last frame on a
9653 given terminal.
9654
9655 2011-09-13 Glenn Morris <rgm@gnu.org>
9656
9657 * help.el (describe-key-briefly): Copy previous standard-output change.
9658
9659 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9660
9661 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9662
9663 2011-09-13 Glenn Morris <rgm@gnu.org>
9664
9665 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9666 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9667
9668 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9669
9670 * dired-aux.el (dired-mark-read-string): Don't return default
9671 value on empty input (Bug#9361).
9672 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9673 Omit initial minibuffer contents.
9674 (dired-do-chmod): Signal an error on empty input.
9675 (dired-mark-read-string): Don't return default on empty input.
9676
9677 * files.el (file-modes-symbolic-to-number): Doc fix.
9678
9679 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * international/mule-cmds.el (ucs-completions): Remove.
9682 (read-char-by-name): Use complete-with-action instead; add metadata.
9683
9684 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9685
9686 * window.el (display-buffer--action-function-custom-type)
9687 (display-buffer--action-custom-type): New vars.
9688 (display-buffer-alist, display-buffer-default-action)
9689 (display-buffer-overriding-action): Add defcustom types.
9690
9691 * frame.el (delete-other-frames): Doc fix (Bug#276).
9692
9693 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9694
9695 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9696
9697 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9698
9699 Change modes that used same-window-* vars to use switch-to-buffer.
9700
9701 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9702 Use switch-to-buffer.
9703
9704 * cus-edit.el (customize-group, custom-buffer-create)
9705 (customize-browse, custom-buffer-create-other-window):
9706 Use switch-to-buffer or switch-to-buffer-other-window.
9707
9708 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9709 (Info-prev, Info-up, Info-speedbar-goto-node)
9710 (info-display-manual): Use switch-to-buffer.
9711 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9712
9713 * mail/sendmail.el (mail): Use switch-to-buffer.
9714 (mail-recover): Use switch-to-buffer-other-window.
9715
9716 * cmuscheme.el (run-scheme, switch-to-scheme):
9717 * ielm.el (ielm):
9718 * shell.el (shell):
9719 * net/rlogin.el (rlogin):
9720 * net/telnet.el (telnet, rsh):
9721 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9722
9723 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9724
9725 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9726
9727 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9728
9729 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9730 so don't mention it (bug#9301).
9731 (dired-sort-toggle-or-edit): Clarify string further.
9732
9733 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9734 match `x', `w32' and `ns', like the manual says (bug#9029).
9735
9736 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9737 (process-kill-buffer-query-function): Mention the buffer name in
9738 the query.
9739
9740 * image-mode.el (image-next-line): The line parameter is mandatory
9741 (bug#9258).
9742
9743 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9744 which can be useful (bug#9301).
9745
9746 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9747
9748 * subr.el (match-string): Mention that the current buffer should
9749 be the same as the search was done in (bug#9282).
9750
9751 * facemenu.el: Disable the remove-* commands if the mark isn't
9752 active (bug#9162).
9753
9754 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9755
9756 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9757 of display-buffer.
9758 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9759
9760 * replace.el (occur-mode-goto-occurrence)
9761 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9762 and display-buffer.
9763
9764 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9765 display-buffer.
9766
9767 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9768 special-display and same-window variables.
9769 (mail-other-window): Use switch-to-buffer-other-window.
9770 (mail-other-frame): USe switch-to-buffer-other-frame.
9771
9772 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9773 Use display-buffer-other-frame.
9774 (gdb-display-gdb-buffer): Use pop-to-buffer.
9775
9776 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9777
9778 * progmodes/python.el: Don't set same-window-buffer-names.
9779
9780 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9781
9782 * window.el (display-buffer-alist): Add *Python*.
9783
9784 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9785
9786 * window.el (display-buffer-alist): Add entry for buffers
9787 previously handled same-window-*.
9788 (display-buffer-alist, display-buffer-default-action)
9789 (display-buffer-overriding-action): Mark as risky.
9790 (display-buffer-alist): Document action function changes.
9791 (display-buffer--same-window-action)
9792 (display-buffer--other-frame-action): New variables.
9793 (switch-to-buffer, display-buffer-other-frame): Use them.
9794 (display-buffer): Rename reuse-frame entry to reusable-frames.
9795 (display-buffer-reuse-selected-window): Function deleted.
9796 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9797 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9798 (display-buffer-special): New function.
9799 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9800 display-buffer-reuse-or-pop-window. Split off special-display
9801 part into display-buffer-special.
9802 (display-buffer-use-some-window): Don't perform any special
9803 pop-up-frames handling.
9804 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9805 (display-buffer--maybe-same-window): Rename from
9806 display-buffer-maybe-same-window.
9807
9808 * info.el: Don't set same-window-regexps.
9809 (info-setup): New function.
9810 (info-other-window, info): Call it.
9811
9812 * cus-edit.el: Don't set same-window-regexps.
9813 (customize-group): New argument.
9814 (customize-group-other-window): Use it.
9815 (customize-face, customize-face-other-window): Likewise.
9816 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9817
9818 * net/rlogin.el:
9819 * net/telnet.el:
9820 * progmodes/gud.el: Don't set same-window-regexps.
9821
9822 * cmuscheme.el:
9823 * ielm.el:
9824 * shell.el:
9825 * mail/sendmail.el:
9826 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9827
9828 2011-09-10 Juri Linkov <juri@jurta.org>
9829
9830 * isearch.el (isearch-edit-string): Remove obsolete mention of
9831 `C-w' (`isearch-yank-word-or-char') from docstring.
9832 (isearch-query-replace): Fix typo in docstring (bug#9466).
9833
9834 2011-09-10 Juri Linkov <juri@jurta.org>
9835
9836 * paren.el (show-paren-function): Don't show escaped parens.
9837 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9838
9839 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9840
9841 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9842 (mm-default-file-encoding): Remove autoload forms, they are
9843 replaced with autoload cookies in mml.el and mm-encode.el.
9844 (mail-add-attachment): New command.
9845 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9846 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9847 the doc string.
9848 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9849
9850 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9851
9852 * simple.el (count-words-region): Use buffer if there's no region
9853 (bug#9429).
9854
9855 2011-09-09 Juri Linkov <juri@jurta.org>
9856
9857 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9858 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9859 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9860
9861 2011-09-09 Alan Mackenzie <acm@muc.de>
9862
9863 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9864 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9865
9866 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9867
9868 Fix for Savannah bug#9392.
9869 * simple.el (mail-encode-mml): New defvar.
9870
9871 * mail/rmail.el (mail-encode-mml): Add a defvar.
9872 (rmail-enable-mime-composing): Default to t.
9873 (rmail-forward): Use MIME method of forwarding only if both
9874 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9875 Set mail-encode-mml non-nil if the MIME method was used.
9876
9877 * mail/sendmail.el (mml-to-mime): Add autoload form.
9878 (mail-encode-mml): Add a defvar.
9879 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9880 to nil.
9881 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9882 message through mml-to-mime, and reset mail-encode-mml to nil.
9883
9884 2011-09-09 Glenn Morris <rgm@gnu.org>
9885
9886 * woman.el (woman-if-body): When processing an .el block,
9887 do not delete the next .el block as well. (Bug#9447)
9888 (woman-special-characters): Add oq, cq, and hy characters.
9889
9890 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9891
9892 * window.el (window-deletable-p): Make sure window is live before
9893 invoking window-prev-buffers.
9894
9895 2011-09-08 Leo Liu <sdl.web@gmail.com>
9896
9897 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9898
9899 2011-09-08 Juri Linkov <juri@jurta.org>
9900
9901 * progmodes/compile.el (compilation-environment): Make it
9902 a defcustom (bug#8340).
9903
9904 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9905
9906 * window.el (frame-auto-delete): Rename to window-auto-delete.
9907 Make it control auto-deletion of windows and/or frames.
9908 (window-deletable-p): New argument FORCE. Rewrite conditions
9909 for deleting window/frame. (Bug#9419)
9910 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9911 Rewrite handling of case when window/frame can be deleted.
9912 (delete-windows-on): Call window-deletable-p with new FORCE
9913 argument t. (Bug#9456)
9914
9915 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9916
9917 * help-mode.el (help-mode): Restore autoload.
9918
9919 2011-09-07 Juri Linkov <juri@jurta.org>
9920
9921 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9922 `compilation-environment'. Set buffer-local
9923 `compilation-environment' to `thisenv' later after (funcall mode).
9924 (Bug#8340)
9925
9926 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9927 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9928 instead of replacing its value. (Bug#8340)
9929
9930 2011-09-07 Juri Linkov <juri@jurta.org>
9931
9932 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9933 based on text properties put by `grep-filter' instead of matching
9934 escape sequences.
9935 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9936 to the value of `grep-error-screen-columns' (bug#9438).
9937
9938 2011-09-07 Juri Linkov <juri@jurta.org>
9939
9940 * simple.el (next-error-highlight, next-error-highlight-no-select):
9941 Doc fix (bug#9432).
9942
9943 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9944
9945 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9946 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9947
9948 2011-09-07 Leo Liu <sdl.web@gmail.com>
9949
9950 * net/rcirc.el (rcirc-mode): Conditionally initialize
9951 rcirc-input-ring.
9952
9953 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * emacs-lisp/find-func.el (find-function-C-source): Only set
9956 find-function-C-source-directory after checking that we found a source
9957 file there (bug#9440).
9958
9959 2011-09-06 Alan Mackenzie <acm@muc.de>
9960
9961 * isearch.el (isearch-other-meta-char): Wherever a key list is
9962 unread, "unread" the prefix arg, too. This fixes bug #8901.
9963
9964 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9965
9966 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9967
9968 2011-09-05 Juri Linkov <juri@jurta.org>
9969
9970 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9971
9972 2011-09-05 Juri Linkov <juri@jurta.org>
9973
9974 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9975 keeping point where processing of grep matches begins, and
9976 continue to delete remaining escape sequences from the same point.
9977 (grep-filter): Make leading zero optional in "0?1;31m" because
9978 git-grep emits "\033[1;31m" escape sequences unlike expected
9979 "\033[01;31m" as GNU Grep does (bug#9408).
9980 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9981
9982 2011-09-05 Juri Linkov <juri@jurta.org>
9983
9984 * subr.el (y-or-n-p): Capitalize "yes".
9985
9986 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9987
9988 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9989 `tramp-cache-unload-hook' where appropriate.
9990 (tramp-methods): Rename `tramp-remote-sh' to
9991 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9992 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9993
9994 * net/tramp-sh.el (top): Don't require 'shell.
9995 (tramp-methods): Add `tramp-remote-shell' and
9996 `tramp-remote-shell-args' entries.
9997 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9998 (tramp-sh-handle-shell-command): Remove.
9999 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10000 Use `tramp-remote-shell'.
10001
10002 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10003
10004 * mail/sendmail.el (sendmail-query-once-function): Delete.
10005 (sendmail-query-once): Save directly to send-mail-function.
10006 Update message-send-mail-function too.
10007
10008 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10009
10010 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10011
10012 * progmodes/python.el (python-mode-map): Use correct function to
10013 start python interpreter from menu-bar (as reported by Geert
10014 Kloosterman).
10015 (inferior-python-mode-map): Fix typo.
10016 (python-shell-map): Remove.
10017
10018 2011-09-03 Deniz Dogan <deniz@dogan.se>
10019
10020 * net/rcirc.el (rcirc-print): Simplify code for
10021 rcirc-scroll-show-maximum-output. There is no need to walk
10022 through all windows to find the right one.
10023
10024 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10025
10026 * help.el (help-return-method): Doc fix.
10027
10028 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10029
10030 * window.el (window-deletable-p): Don't return a non-nil value
10031 when there's a buffer that was shown in the window before.
10032 (Bug#9419)
10033 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10034 Set window's previous buffers to nil.
10035
10036 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10037
10038 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10039 newline before and after the tag line, so it doesn't interfere
10040 with determining the paragraph direction of bidirectional text.
10041
10042 2011-09-03 Leo Liu <sdl.web@gmail.com>
10043
10044 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10045
10046 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10047
10048 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10049 (pop-to-buffer): Change interactive spec. Pass second argument
10050 directly to display-buffer.
10051 (display-buffer): Fix interactive spec. Use functionp to
10052 distinguish between a function and a list of functions.
10053
10054 * abbrev.el (edit-abbrevs):
10055 * arc-mode.el (archive-extract):
10056 * autoinsert.el (auto-insert):
10057 * bookmark.el (bookmark-bmenu-list):
10058 * files.el (find-file):
10059 * view.el (view-buffer):
10060 * progmodes/compile.el (compilation-goto-locus):
10061 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10062
10063 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10064
10065 * window.el (display-buffer-alist): Doc fix.
10066 (display-buffer): Add docstring. Don't treat
10067 display-buffer-default specially.
10068 (display-buffer-reuse-selected-window)
10069 (display-buffer-same-window, display-buffer-maybe-same-window)
10070 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10071 (display-buffer-pop-up-window)
10072 (display-buffer-reuse-or-pop-window)
10073 (display-buffer-use-some-window): New functions.
10074 (display-buffer-default-action): Use them.
10075 (display-buffer-default): Delete.
10076 (pop-to-buffer-1): Fix choice of actions.
10077
10078 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * minibuffer.el (completion--insert-strings): Don't get confused by
10081 completion entries that end with an LF char.
10082
10083 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10084
10085 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10086
10087 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10088
10089 * window.el (display-buffer): Restore interactive spec.
10090 (display-buffer-same-window, display-buffer-other-window):
10091 New functions.
10092 (pop-to-buffer-1): New function. Use the above.
10093 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10094 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10095
10096 * view.el (view-buffer-other-window, view-buffer-other-frame):
10097 Just use pop-to-buffer.
10098
10099 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10100
10101 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10102
10103 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10104
10105 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10106
10107 2011-08-31 Richard Stallman <rms@gnu.org>
10108
10109 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10110 of the separation of rmail-view-buffer from rmail-buffer.
10111 If you say no to "replace original", the decrypt is in the
10112 view buffer. If you say yes, the decrypt goes into the
10113 rmail buffer also.
10114
10115 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10116
10117 * window.el (display-buffer-window): Rewrite doc-string.
10118 (display-buffer-record-window): New function.
10119 (display-buffer-macro-specifiers)
10120 (display-buffer-even-window-sizes, display-buffer-set-height)
10121 (display-buffer-set-width, display-buffer-in-window)
10122 (display-buffer-reuse-window, display-buffer-split-specifiers)
10123 (display-buffer-side-specifiers, display-buffer-split-window-1)
10124 (display-buffer-split-window, display-buffer-split-atom-window)
10125 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10126 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10127 (display-buffer-other-window-means-other-frame)
10128 (display-buffer-normalize-special)
10129 (display-buffer-normalize-default)
10130 (display-buffer-normalize-argument)
10131 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10132 (display-buffer-normalize-specifiers, display-buffer-frame)
10133 (display-buffer-same-window, display-buffer-same-frame)
10134 (display-buffer-other-window)
10135 (display-buffer-same-frame-other-window)
10136 (display-buffer-other-frame, pop-to-buffer-same-window)
10137 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10138 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10139 (switch-to-buffer-same-frame)
10140 (switch-to-buffer-other-window-same-frame)
10141 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10142 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10143 (display-buffer-alist-set): Remove.
10144 (display-buffer-function, special-display-buffer-names)
10145 (special-display-regexps, special-display-function):
10146 In doc-string refer to display-buffer-window and quit-restore
10147 parameter.
10148 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10149 (special-display-frame-alist, special-display-popup-frame)
10150 (same-window-buffer-names, same-window-regexps, same-window-p)
10151 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10152 (split-window-preferred-function, split-height-threshold)
10153 (split-width-threshold, window-splittable-p)
10154 (split-window-sensibly, window--try-to-split-window)
10155 (window--frame-usable-p, even-window-heights)
10156 (window--even-window-heights, window--display-buffer-1)
10157 (window--display-buffer-2, display-buffer-other-frame):
10158 Restore old Emacs 23 code, order and doc-strings where applicable.
10159 (display-buffer-default, display-buffer-assq-regexp): New functions.
10160 (display-buffer-alist): Rewrite doc-string.
10161 (display-buffer-default-action)
10162 (display-buffer-overriding-action): New variables.
10163 (display-buffer, switch-to-buffer): Rewrite.
10164 (pop-to-buffer): Restore Emacs 23 behavior but use
10165 window-normalize-buffer-to-display.
10166 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10167 Restore Emacs 23 behavior but use
10168 window-normalize-buffer-to-switch-to.
10169 (pop-to-buffer-same-window): Rewrite.
10170 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10171 Rewrite using Emacs 23 options.
10172
10173 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10174
10175 * net/tramp.el (tramp-root-regexp): Remove.
10176 (tramp-completion-file-name-regexp-unified)
10177 (tramp-completion-file-name-regexp-separate)
10178 (tramp-completion-file-name-regexp-url): Don't use leading volume
10179 letter on win32 systems. (Bug#5303, Bug#9311)
10180 (tramp-drop-volume-letter): Simplify definition.
10181 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10182
10183 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10184
10185 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10186 (bug#9356).
10187
10188 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10189
10190 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10191
10192 2011-08-29 Juri Linkov <juri@jurta.org>
10193
10194 * isearch.el (isearch-done): Don't display message "Mark saved"
10195 when arg `edit' is non-nil to prevent its flicker in the echo area.
10196
10197 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10198
10199 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10200 obsolete packages for deletion.
10201
10202 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10203
10204 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10205 (help-mode): Derive help-mode from special-mode. Don't invoke
10206 view-mode from help-mode.
10207 (help-xref-override-view-map): Remove.
10208 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10209 view-mode is not used anymore.
10210
10211 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10212
10213 * server.el (server-port): Doc fix.
10214
10215 * cus-theme.el (custom-theme-choose-mode): Inherit from
10216 special-mode (Bug#9124).
10217 (custom-theme-choose-mode-map): Add special-mode to parent.
10218
10219 2011-08-28 Alan Mackenzie <acm@muc.de>
10220
10221 * progmodes/cc-fonts.el
10222 (c-make-font-lock-BO-decl-search-function): New function.
10223 (c-basic-matchers-after - "Fontify the clauses after various
10224 keywords"): Extract the three keyword lists for the 3 erroneous
10225 constructs from the list of four, and use the new function above
10226 in place of an old one.
10227
10228 2011-08-28 Deniz Dogan <deniz@dogan.se>
10229
10230 * net/rcirc.el (rcirc-insert-prev-input)
10231 (rcirc-insert-next-input): Remove unused argument.
10232
10233 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10234
10235 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10236
10237 2011-08-27 Alan Mackenzie <acm@muc.de>
10238
10239 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10240 handle function pointer parameters properly.
10241
10242 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10243
10244 * window.el (display-buffer-reuse-window): Fix case where
10245 selected window was reused with non-nil OTHER-WINDOW argument.
10246 (Bug#9381)
10247
10248 2011-08-27 Deniz Dogan <deniz@dogan.se>
10249
10250 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10251 oftc's NickServ messages.
10252
10253 2011-08-27 Glenn Morris <rgm@gnu.org>
10254
10255 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10256
10257 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10258
10259 * emacs-lisp/package.el (package-install): Call package-initialize
10260 if called interactively.
10261
10262 2011-08-26 Leo Liu <sdl.web@gmail.com>
10263
10264 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10265
10266 2011-08-25 Juri Linkov <juri@jurta.org>
10267
10268 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10269 `search-whitespace-regexp' (bug#9364).
10270
10271 2011-08-25 Juri Linkov <juri@jurta.org>
10272
10273 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10274 `regexp-search-ring' to their global values to protect from
10275 updating by `read-from-minibuffer' (bug#9185).
10276
10277 2011-08-25 Juri Linkov <juri@jurta.org>
10278
10279 * textmodes/ispell.el (ispell-command-loop): Add newline
10280 at the end of the "Use option `i'..." line.
10281
10282 2011-08-25 Juri Linkov <juri@jurta.org>
10283
10284 * battery.el (display-battery-mode): If `battery-status-function'
10285 or `battery-mode-line-format' is nil, display the message and set
10286 `display-battery-mode' to nil (bug#9363).
10287
10288 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10289
10290 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10291 bidi-string-mark-left-to-right; they are unnecessary now.
10292
10293 2011-08-25 Deniz Dogan <deniz@dogan.se>
10294
10295 * net/quickurl.el: Documentation typo fixes.
10296
10297 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10298
10299 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10300
10301 2011-08-25 Glenn Morris <rgm@gnu.org>
10302
10303 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10304
10305 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10306 (smtpmail-via-smtp): Handle nil response from smtp.
10307
10308 2011-08-24 Juri Linkov <juri@jurta.org>
10309
10310 * proced.el (proced-marked): Inherit from `error' instead of
10311 `font-lock-warning-face'.
10312
10313 * ibuffer.el (ibuffer-marked-face): Change default face from
10314 `font-lock-warning-face' to `warning'.
10315 (ibuffer-deletion-face): Change default face from
10316 `font-lock-type-face' to `error'.
10317
10318 * battery.el (battery-update): Use the face `error' instead of
10319 `font-lock-warning-face' (bug#6117).
10320
10321 2011-08-24 Juri Linkov <juri@jurta.org>
10322
10323 * faces.el (success): Change face color from "Green3" to
10324 "ForestGreen" on light background (bug#9353).
10325
10326 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10327
10328 * window.el (quit-window): Rename from quit-restore-window.
10329 Use same arglist as old quit-window.
10330 (frame-auto-delete): Doc fix.
10331
10332 * view.el (view-mode-exit): Use quit-window.
10333
10334 2011-08-24 Juri Linkov <juri@jurta.org>
10335
10336 * isearch.el (isearch-ring-adjust1): Start visiting previous
10337 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10338 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10339 for empty search string (when the last search string is reused
10340 automatically) to adjust the isearch ring to the last element and
10341 prepare the correct index for further M-p commands (bug#9185).
10342
10343 2011-08-24 Kenichi Handa <handa@m17n.org>
10344
10345 * international/ucs-normalize.el: If decomposition property of
10346 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10347 nil.
10348 (nfd, nfkd): Likewise.
10349
10350 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10351
10352 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10353 from process filters aren't reliably transmitted to the surrounding
10354 accept-process-output.
10355 (mpc-proc-check): New function.
10356 (mpc-proc-sync): Use it (bug#8293)
10357
10358 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10361 Add compatibility functions (bug#9313).
10362
10363 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10364
10365 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10366
10367 * international/uni-bidi.el: Regenerate.
10368
10369 2011-08-23 Kenichi Handa <handa@m17n.org>
10370
10371 * international/charprop.el:
10372 * international/uni-bidi.el:
10373 * international/uni-category.el:
10374 * international/uni-combining.el:
10375 * international/uni-comment.el:
10376 * international/uni-decimal.el:
10377 * international/uni-decomposition.el:
10378 * international/uni-digit.el:
10379 * international/uni-lowercase.el:
10380 * international/uni-mirrored.el:
10381 * international/uni-name.el:
10382 * international/uni-numeric.el:
10383 * international/uni-old-name.el:
10384 * international/uni-titlecase.el:
10385 * international/uni-uppercase.el: Regenerate.
10386
10387 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10388
10389 * help.el (help-window-setup): Fix message displayed when other
10390 window is reused. (Bug#9341)
10391
10392 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10393
10394 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10395 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10396
10397 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10398 Mark obsolete.
10399 * shell.el (shell-parse-pcomplete-arguments): New function.
10400 (shell-completion-vars): Use it instead (bug#9160).
10401
10402 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10405 strings and comments (bug#9333).
10406
10407 * emacs-lisp/debug.el (debug-arglist): New function.
10408 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10409 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10410
10411 2011-08-22 Juri Linkov <juri@jurta.org>
10412
10413 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10414 Revert regexp that highlights output switches to its old
10415 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10416
10417 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10418 to check for empty output (bug#9226).
10419
10420 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10421
10422 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10423 symbol-constituent as the default, as that stops font-lock from
10424 working properly (Bug#8843).
10425
10426 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10427
10428 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10429 `coding-system-for-*' around the process open call to avoid
10430 auth-source side effects.
10431 (smtpmail-try-auth-methods): Expand the secret password.
10432 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10433 probe hangs.
10434
10435 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10436
10437 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10438
10439 * emacs-lisp/find-func.el (find-function-noselect): New arg
10440 lisp-only.
10441
10442 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10443 signal an error for built-in functions (Bug#6664).
10444
10445 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10446
10447 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10448 (smtpmail-try-auth-methods): Use it.
10449
10450 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10451
10452 * font-lock.el (font-lock-fontify-region)
10453 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10454 (font-lock-default-unfontify-buffer)
10455 (font-lock-default-fontify-region)
10456 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10457
10458 * progmodes/compile.el (compilation-error-properties):
10459 Fix confusion between file struct and message struct (Bug#9319).
10460 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10461 `ant' regexp.
10462
10463 * net/browse-url.el (browse-url-firefox): Don't call
10464 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10465
10466 2011-08-20 Glenn Morris <rgm@gnu.org>
10467
10468 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10469
10470 * tutorial.el (tutorial--default-keys): Update some default bindings.
10471
10472 * files.el (hack-local-variables): Fully ignore case for "mode:".
10473
10474 2011-08-20 Alan Mackenzie <acm@muc.de>
10475
10476 Resolve invalid use of a regexp in regexp-opt.
10477
10478 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10479 detection for a java annotation.
10480
10481 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10482 detection for a java annotation.
10483
10484 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10485 handling for java.
10486 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10487
10488 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10489
10490 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10491 (Bug#9274).
10492
10493 2011-08-20 Alan Mackenzie <acm@muc.de>
10494
10495 Fontify CPP expressions correctly when starting in the middle of
10496 such a construct. Mainly for when jit-lock etc. starts a chunk
10497 here.
10498
10499 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10500 variable.
10501 (c-make-font-lock-search-form): New function, extracted from
10502 c-make-font-lock-search-function.
10503 (c-make-font-lock-search-function): Use the above function.
10504 (c-make-font-lock-context-search-function): New function.
10505 (c-cpp-matchers): Enhance the preprocessor expression case with
10506 the above function
10507 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10508 which takes an expression.
10509
10510 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10511
10512 2011-08-20 Martin Rudalics <rudalics@gmx.at>
10513
10514 * window.el (display-buffer-reuse-window)
10515 (display-buffer-pop-up-window): Don't reuse or split a side
10516 window.
10517
10518 2011-08-19 Glenn Morris <rgm@gnu.org>
10519
10520 * files.el (hack-local-variables-prop-line, hack-local-variables):
10521 Downcase "Mode:". (Bug#9331)
10522
10523 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
10524
10525 * international/characters.el: Add L and R categories.
10526
10527 * subr.el (bidi-string-mark-left-to-right): Rename from
10528 string-mark-left-to-right. Use category search.
10529
10530 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10531
10532 2011-08-18 Juri Linkov <juri@jurta.org>
10533
10534 * faces.el (error, warning, success): New faces with definitions
10535 copied from old default values of `font-lock-warning-face',
10536 `compilation-warning', `compilation-info' (bug#6117).
10537
10538 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10539
10540 * progmodes/compile.el (compilation-error): Inherit from `error'.
10541 (compilation-warning): Inherit from `warning'.
10542 (compilation-info): Inherit from `success'.
10543
10544 * dired.el (dired-marked): Inherit from `warning'.
10545 (dired-flagged): Inherit from `error'.
10546
10547 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10548
10549 * mail/smtpmail.el (auth-source): Require to avoid problems with
10550 binding variables (bug#9298). Also clean up some unused
10551 autoloads.
10552
10553 * net/network-stream.el (network-stream-open-starttls):
10554 Support using starttls.el without using gnutls-cli.
10555
10556 2011-08-17 Juri Linkov <juri@jurta.org>
10557
10558 * progmodes/grep.el (rgrep): Handle the case when
10559 `grep-find-command' is a cons cell (bug#9278).
10560
10561 2011-08-17 Martin Rudalics <rudalics@gmx.at>
10562
10563 * window.el (display-buffer-pop-up-frame): Run frame creation
10564 function with BUFFER current (as special-display-popup-frame
10565 does). Reported by Drew Adams.
10566
10567 2011-08-17 Daiki Ueno <ueno@unixuser.org>
10568
10569 * epa-mail.el: Simplify GnuPG group expansion using
10570 epg-expand-group.
10571 (epa-mail-group-alist, epa-mail-group-modtime)
10572 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10573 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10574 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10575 Remove.
10576
10577 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
10578
10579 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10580
10581 2011-08-16 Alan Mackenzie <acm@muc.de>
10582
10583 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10584 Correct, to avoid the inside of macros.
10585
10586 2011-08-16 Richard Stallman <rms@gnu.org>
10587
10588 * epa-mail.el: Handle GnuPG group definitions.
10589 (epa-mail-group-alist, epa-mail-group-modtime)
10590 (epa-mail-gnupg-conf-file): New variables.
10591 (epa-mail-parse-groups, epa-mail-sync-groups)
10592 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10593 (epa-mail-expand-recipients): New functions.
10594 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10595
10596 * mail/rmail.el (rmail-epa-decrypt): New command.
10597
10598 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10599 Don't bind buffer-read-only, just inhibit-read-only.
10600 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10601 (epa-decrypt-armor-in-region): Make error message clearer.
10602
10603 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10604
10605 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10606 and "a2b" to "ab" for `prefix'.
10607
10608 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10609
10610 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10611 filter groups.
10612 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10613 Fourquet (Bug#8804).
10614
10615 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10616
10617 * startup.el (argi): Declare as global variable (bug#9275).
10618
10619 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10620
10621 * subr.el (string-mark-left-to-right): Search the entire string
10622 for RTL script, not just the terminating character. Doc fix.
10623
10624 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10625
10626 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10627 New function.
10628 (js--regexp-literal, js-syntax-propertize-function): Remove.
10629 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10630 (js-mode-map): Don't rebind electric keys.
10631 (js-insert-and-indent): Remove.
10632 (js-mode): Setup electric-layout and electric-indent instead.
10633
10634 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10635
10636 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10637
10638 * epa.el (epa-progress-callback-function): Fix the logic of
10639 displaying progress.
10640 * epa-file.el (epa-file-insert-file-contents): Make progress
10641 display more user-friendly.
10642 (epa-file-write-region): Ditto.
10643
10644 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10645
10646 * subr.el (string-mark-left-to-right): New function.
10647
10648 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10649 Use string-mark-left-to-right.
10650 (list-buffers-noselect): Caller changed.
10651
10652 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10653 Use string-mark-left-to-right.
10654 (tabulated-list-print): Recenter after moving point.
10655
10656 2011-08-10 Juri Linkov <juri@jurta.org>
10657
10658 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10659 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10660 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10661
10662 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10663
10664 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10665 (Bug#7554).
10666
10667 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10668
10669 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10670 character. (Bug#6594)
10671
10672 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10673
10674 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10675 (image-dired--with-db-file): New macro.
10676 (image-dired-write-tags, image-dired-remove-tag)
10677 (image-dired-create-gallery-lists, image-dired-write-comments)
10678 (image-dired-get-comment, image-dired-mark-tagged-files)
10679 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10680 (image-dired-gallery-generate): Use insert-file-contents.
10681
10682 * time.el (display-time-world-list, display-time-world-display):
10683 * time-stamp.el (time-stamp-string):
10684 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10685 set-time-zone-rule (Bug#7337).
10686
10687 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10688
10689 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10690 (epg-error-to-string, epg-errors-to-string): New function.
10691 (epg-wait-for-completion): Reverse errors list.
10692 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10693 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10694 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10695 (epg-sign-keys, epg-generate-key-from-file)
10696 (epg-generate-key-from-string): Format errors by using
10697 epg-errors-to-string (bug#9255).
10698 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10699
10700 2011-08-07 Juri Linkov <juri@jurta.org>
10701
10702 * faces.el (list-faces-display): Remove extra angle bracket
10703 from `help-mode-map'.
10704
10705 * info.el (Info-history-toc-nodes): Doc fix.
10706
10707 * longlines.el (longlines-mode): Doc fix.
10708
10709 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10712 of statements and in a few more cases (bug#9183).
10713
10714 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10715 New functions.
10716 (cl-transform-lambda): Use them (bug#9239).
10717
10718 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10719
10720 * window.el (display-buffer-same-window)
10721 (display-buffer-same-frame, display-buffer-other-window)
10722 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10723 (pop-to-buffer-other-window)
10724 (pop-to-buffer-same-frame-other-window)
10725 (pop-to-buffer-other-frame): Make them defuns.
10726 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10727
10728 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * subr.el (make-composed-keymap): Move from C. Change calling
10731 convention, and improve docstring to bring attention to a subtle point.
10732 * minibuffer.el (completing-read-default): Adjust accordingly.
10733
10734 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10735
10736 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10737 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10738
10739 * net/trampver.el: Update release number.
10740
10741 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10744 "in" (bug#9190).
10745
10746 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10747
10748 * mail/sendmail.el (sendmail-query-once): Restore the current
10749 buffer after querying (bug#9074).
10750
10751 * dired.el (dired-flagged): Use different faces for marked and
10752 flagged files (bug#6117).
10753
10754 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10755 (bug#4433).
10756
10757 * ido.el (ido-mode): Switch off the message if called
10758 non-interactively.
10759
10760 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10761 before 587, since it appears that that's more likely to work for
10762 more people.
10763
10764 * cus-edit.el (custom-file): When running under emacs -q, always
10765 refuse to save the customizations, even if the .emacs file doesn't
10766 exist.
10767
10768 * info.el: Remove the `Info-beginning-of-buffer' function
10769 (bug#8325).
10770
10771 * net/network-stream.el (network-stream-open-starttls):
10772 Use `starttls-available-p' to see whether starttls.el can be used.
10773
10774 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10775
10776 * window.el (display-buffer-in-window): Don't set dedicated status
10777 of window here (Bug#9215).
10778 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10779 (display-buffer-pop-up-side-window)
10780 (display-buffer-in-side-window): Set dedicated status of window here.
10781
10782 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10785 before binding generated-autoload-file.
10786
10787 2011-08-01 Deniz Dogan <deniz@dogan.se>
10788
10789 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10790
10791 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10792
10793 Sync with Tramp 2.2.2.
10794
10795 * net/trampver.el: Update release number.
10796
10797 2011-07-30 Juri Linkov <juri@jurta.org>
10798
10799 * dired-aux.el (dired-touch-initial): Remove function.
10800 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10801 current time, and `default' to the last modification time of the
10802 current marked file (bug#6887).
10803
10804 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10805
10806 * simple.el (goto-line): Use string-to-number to provide a
10807 numeric argument to read-number (bug#9163).
10808
10809 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10810
10811 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10812 connection process, it could be nil.
10813
10814 2011-07-27 Leo Liu <sdl.web@gmail.com>
10815
10816 Simplify url handling in rcirc-mode.
10817
10818 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10819 (rcirc-browse-url-at-mouse): Remove.
10820 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10821
10822 2011-07-26 Alan Mackenzie <acm@muc.de>
10823
10824 Fontify bitfield declarations properly.
10825
10826 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10827 (c-symbol-chars): Now exported as a lang variable.
10828 (c-not-primitive-type-keywords): New lang variable.
10829
10830 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10831 QT keyword "more" to prevent "more slots: ...." being spuriously
10832 parsed as a bitfield declaration.
10833
10834 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10835 Refactor and enhance to handle bitfield declarations.
10836 (c-punctuation-in): New function.
10837 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10838 declarations properly.
10839
10840 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10841
10842 * calendar/icalendar.el (icalendar--all-events): Take care of
10843 multiple vcalendars in a single file.
10844 (icalendar--convert-float-to-ical): Checkdoc fixes.
10845
10846 2011-07-25 Deniz Dogan <deniz@dogan.se>
10847
10848 * image.el (insert-image): Clarifying docstring.
10849
10850 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10851
10852 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10853 `tramp-send-command-and-check' if there is no error.
10854 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10855
10856 2011-07-22 Alan Mackenzie <acm@muc.de>
10857
10858 Prevent cc-langs.elc being loaded at run time.
10859
10860 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10861 cc-langs.
10862
10863 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10864 "(require 'cc-langs)". Quote a form so it will evaluate at
10865 (cc-mode's) compilation time.
10866
10867 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10868
10869 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10870 loading. (Bug#9114)
10871
10872 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10873
10874 * window.el (display-buffer-pop-up-window)
10875 (display-buffer-pop-up-side-window)
10876 (display-buffer-in-side-window): Call display-buffer-set-height
10877 and display-buffer-set-width after setting the new window's
10878 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10879
10880 2011-07-20 Sam Steingold <sds@gnu.org>
10881
10882 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10883 (etags-tags-included-tables): Call `convert-standard-filename' on
10884 the file names contained in TAGS so that windows Emacs can handle
10885 TAGS files created by cygwin ctags.
10886
10887 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10888
10889 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10890 which apparently didn't work.
10891
10892 2011-07-19 Roland Winkler <winkler@gnu.org>
10893
10894 * proced.el (proced-send-signal): For *Marked Processes* buffer
10895 put point at beginning of buffer.
10896
10897 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10898
10899 * proced.el (proced-format): Make header lines align with the text
10900 (bug#1779).
10901
10902 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10903
10904 * view.el (view-buffer): Allow running in `special' modes if we're
10905 visiting a file (bug#8615).
10906
10907 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10908
10909 * window.el (display-buffer-alist-of-strings-p)
10910 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10911 New functions.
10912 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10913 more accurately.
10914
10915 2011-07-18 Alan Mackenzie <acm@muc.de>
10916
10917 Fontify declarators properly when, e.g., a jit-lock chunk begins
10918 inside a declaration.
10919
10920 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10921
10922 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10923 New function.
10924 (c-complex-decl-matchers): Insert reference to
10925 c-font-lock-enclosing-decls.
10926
10927 * progmodes/cc-engine.el (c-backward-single-comment):
10928 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10929 to nil around calls to (forward-comment -1).
10930
10931 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10932
10933 * image.el (put-image): Doc typo fix.
10934
10935 * progmodes/etags.el (tags-search): Doc typo fix.
10936
10937 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10938 password if we get errors 550 to 554.
10939
10940 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10941
10942 * net/gnutls.el (gnutls-log-level): Remove.
10943
10944 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10945 indentation character (bug#6380).
10946
10947 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10948
10949 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10950 to clarify what the problem is (bug#4291).
10951
10952 * simple.el (current-kill): Clarify what
10953 `interprogram-paste-function' does (bug#7500).
10954 (auto-fill-mode): Document `auto-fill-function' in relation to
10955 `auto-fill-mode' (bug#2470).
10956
10957 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10958
10959 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10960 method if slot is read-only (bug#9035).
10961
10962 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10963
10964 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10965 * window.el (pop-to-buffer): Select window used even if it was
10966 selected before, see discussion of (Bug#8615), (Bug#6954).
10967 Pass argument NORECORD on to select-frame-set-input-focus.
10968
10969 2011-07-15 Glenn Morris <rgm@gnu.org>
10970
10971 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10972 Respect help-form.
10973
10974 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10975
10976 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10977 (gnutls-negotiate): Use it.
10978
10979 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10980
10981 * net/gnutls.el (gnutls-negotiate):
10982 Upcase `gnutls-algorithm-priority'.
10983
10984 2011-07-15 Glenn Morris <rgm@gnu.org>
10985
10986 * jka-compr.el (jka-compr-verbose): Move from here...
10987 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10988 Add missing :version tag.
10989 * info.el: No need to require jka-compr when compiling.
10990
10991 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10992
10993 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10994 (gnutls-negotiate): Use it.
10995
10996 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10997
10998 * info.el (Info-beginning-of-buffer): New command.
10999 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11000 announcing `b' as the key (bug#8325).
11001 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11002
11003 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11004
11005 * international/mule-cmds.el
11006 (describe-specified-language-support): Make the error message
11007 clearer (bug#8905).
11008
11009 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11010
11011 * isearch.el (isearch-barrier): Add a doc string, since it's
11012 mentioned in a function doc string (bug#8678).
11013
11014 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11015
11016 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11017 buffer argument (Bug#9083) and self-identifying label argument.
11018
11019 2011-07-15 Glenn Morris <rgm@gnu.org>
11020
11021 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11022
11023 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11024
11025 * man.el (Man-fontify-manpage): Fix message when formatting the
11026 man page (bug#7929).
11027
11028 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11029
11030 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11031 argument LRM; if non-nil, append an invisible LRM character to the
11032 buffer name.
11033 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11034 last argument non-nil, when formatting buffer names.
11035 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11036 paragraph direction.
11037
11038 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11039
11040 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11041 the man page name (bug#7929).
11042
11043 * image.el (put-image): Mention the `put-image' overlay property
11044 (bug#7834).
11045
11046 * scroll-bar.el (set-scroll-bar-mode): Mention that
11047 `scroll-bar-mode' lists the values (bug#7772).
11048
11049 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11050 command (bug#7729).
11051
11052 * rect.el (apply-on-rectangle): Return the point after the last
11053 operation.
11054 (string-rectangle): Go to the point after the last operation
11055 (bug#7522).
11056
11057 * printing.el (pr-toggle-region): Clarify the documentation
11058 slightly (bug#7493).
11059
11060 * time.el (display-time-update):
11061 Allow `display-time-mail-function' to return nil (bug#7158).
11062 Fix suggested by Detlev Zundel.
11063
11064 * vc/diff.el (diff): Clarify the order the file names are read
11065 (bug#7111).
11066
11067 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11068 the doc string (bug#7015).
11069
11070 * font-lock.el (font-lock-maximum-decoration): Mention what
11071 numeric levels mean (bug#6935).
11072
11073 * startup.el (initial-buffer-choice): Don't mention the `none'
11074 selection, which is against policy.
11075
11076 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11077
11078 * window.el (display-buffer-normalize-special):
11079 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11080
11081 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11082
11083 * subr.el (version<, version<=, version=): Mention "-CVS" and
11084 "-12345" alpha version numbers.
11085
11086 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11087
11088 * bindings.el: Add advertised binding for set-mark-command
11089 (Bug#5772).
11090
11091 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11092
11093 * bindings.el (mode-line-other-buffer):
11094 * bookmark.el (bookmark-bmenu-2-window):
11095 * bs.el (bs-cycle-next, bs-cycle-previous):
11096 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11097 switch-to-buffer.
11098
11099 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11100 Delete.
11101
11102 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11103
11104 * follow.el (follow-debug-message, follow-redisplay):
11105 * jka-cmpr-hook.el (with-auto-compression-mode):
11106 Fix typos in docstrings.
11107
11108 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11109
11110 * subr.el (with-silent-modifications): Clarify somewhat what the
11111 macro inhibits (bug#6525).
11112
11113 * simple.el (eval-expression): Note what it does if called
11114 interactively (bug#6495).
11115
11116 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11117
11118 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11119 Use pop-to-buffer buffer-or-name if it is nil.
11120
11121 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11122 Remove switch-to-buffer.
11123
11124 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11125
11126 * files.el (make-directory): Clarify that an error will be raised
11127 if there's an error (bug#6397).
11128
11129 * startup.el (initial-buffer-choice): Add `none' as a choice
11130 (bug#6234).
11131
11132 * subr.el (add-hook): Clarify section about buffer-local hooks
11133 (bug#6218).
11134
11135 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11136
11137 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11138
11139 * tabify.el (untabify): Preserve the current column so that point
11140 doesn't move (bug#6032).
11141
11142 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11143
11144 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11145 Rewrite to avoid awkward possessive "s" (bug#5986).
11146
11147 2011-07-13 Glenn Morris <rgm@gnu.org>
11148
11149 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11150 (dired-insert-directory): Give a message the first time
11151 if ls is found not to support --dired.
11152
11153 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11154
11155 * simple.el (toggle-truncate-lines): Clarify what is toggled
11156 (bug#5580). Text by Drew Adams.
11157
11158 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11159
11160 * simple.el (blink-matching-open): Make the error message from the
11161 last change less verbose.
11162
11163 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11164
11165 * font-lock.el (font-lock-comment-face): Use the high contrast
11166 "yellow" color for font-lock-comment-face on low color terminals
11167 using a dark background color (bug#4221).
11168
11169 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11170
11171 * dired.el (dired-insert-set-properties): Make the doc string
11172 reflect what it does now (bug#5325).
11173
11174 * simple.el (blink-matching-open): Say that we were unable to find
11175 the match within the limit, if we're limited (bug#5122).
11176
11177 * international/mule-cmds.el (prefer-coding-system): Add an
11178 example (bug#4869).
11179
11180 * progmodes/etags.el (tags-search): Document `file-list-form'
11181 (bug#4731).
11182
11183 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11184
11185 * net/browse-url.el (browse-url-default-browser)
11186 (browse-url-browser-function): Make the default browser choice a
11187 bit more logical (bug#4300). Also clean up the doc string.
11188
11189 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11190
11191 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11192 binary endings (bug#4440).
11193
11194 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11195
11196 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11197 which can be pretty annoying (bug#8971).
11198
11199 * jka-compr.el (jka-compr-verbose): New variable, and use
11200 throughout (bug#8971).
11201
11202 * info.el (Info-find-file): Fall back on the installation
11203 directory if we can't find the info node anywhere else.
11204
11205 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11206
11207 * vc/vc.el (vc-revert-file):
11208 Don't set file time-stamp in the past. (Bug#5181)
11209
11210 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11211
11212 * files.el (after-find-file): Give a better error message when
11213 trying to find a symlink that points to a file that doesn't exist
11214 (bug#4398).
11215
11216 * progmodes/cc-vars.el: Remove (probably) misleading comment
11217 (bug#4396).
11218
11219 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11220
11221 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11222
11223 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11224
11225 * mouse-sel.el: Hack restoring functionality, while keeping
11226 compatibility with 2010-07-03 changes to mouse selection.
11227 (mouse-sel-primary-overlay): New var.
11228 (mouse-sel-selection-alist): Use it.
11229 (mouse-sel-mode): Doc fix; remove points that are default features
11230 of mouse.el.
11231
11232 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11233
11234 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11235 Fix previous fix (bug#2490).
11236
11237 2011-07-12 Roland Winkler <winkler@gnu.org>
11238
11239 * textmodes/bibtex.el (bibtex-initialize):
11240 Use pop-to-buffer-same-window.
11241 (bibtex-search-entries): Fix interactive call.
11242
11243 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11244
11245 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11246 Fontise bytecomp Error lines more correctly (bug#2490).
11247 Fix suggested by Johan Bockgård.
11248
11249 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11250
11251 * dired-x.el (dired-guess-default): Use `delete-dups'.
11252
11253 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11254
11255 * dired.el (dired-mark-prompt):
11256 * dired-aux.el (dired-read-shell-command): Doc fix.
11257
11258 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11259
11260 * mail/sendmail.el (sendmail-query-once):
11261 Use `customize-save-variable' unconditionally, now that it works under
11262 emacs -Q.
11263
11264 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11265
11266 * cus-edit.el (custom-file): Take an optional no-error variable.
11267 (customize-save-variable): Set the variable, and give a warning if
11268 running under "emacs -q".
11269
11270 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11271
11272 * loadhist.el (unload-feature-special-hooks):
11273 Add `auto-coding-functions', `fill-nobreak-predicate' and
11274 `find-directory-functions' (bug#5327).
11275
11276 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11277
11278 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11279
11280 * cus-edit.el (custom-guess-name-alist): -alist variables should
11281 use the `alist' type (bug#3120). Suggested by Drew Adams.
11282
11283 * printing.el: Add documentation to all the `pr-toggle-' commands.
11284
11285 2011-07-11 Leo Liu <sdl.web@gmail.com>
11286
11287 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11288 backends where it makes sense (bug#2623).
11289
11290 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11291
11292 * dired-x.el (dired-guess-default): Remove duplicate shell command
11293 entries (bug#2028).
11294 (dired-guess-default): Fix grammar in doc string (bug#2028).
11295 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11296
11297 * subr.el (remove-duplicates): New conveniency function.
11298
11299 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11300
11301 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11302 (bug#1526).
11303
11304 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11305
11306 * window.el (display-buffer-normalize-default): Don't invert
11307 meaning of even-window-heights. Reported by Eli Zaretskii
11308 <eliz@gnu.org>.
11309
11310 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11311
11312 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11313
11314 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11315
11316 * window.el (display-buffer): Fix arguments to
11317 display-buffer-reuse-window in last change.
11318
11319 * faces.el (link): Use a less saturated blue on light backgrounds.
11320
11321 * startup.el (fancy-startup-text, fancy-about-text)
11322 (fancy-startup-tail): Use font-lock faces, for background safety.
11323
11324 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11325
11326 * emulation/viper-cmd.el (viper-change-state-to-vi):
11327 Limit triggering of abbrev expansion (Bug#9038).
11328
11329 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11330
11331 * window.el (display-buffer-default-specifiers): Remove.
11332 (display-buffer-macro-specifiers): Remove default specifiers.
11333 (display-buffer-alist): Default to nil.
11334 (display-buffer-reuse-window): New optional argument other-window.
11335 (display-buffer-pop-up-window): Allow splitting internal
11336 windows. Check whether a live window was created.
11337 (display-buffer-other-window-means-other-frame)
11338 (display-buffer-normalize-arguments): Rename to
11339 display-buffer-normalize-argument and rewrite. Set the
11340 other-window specifier.
11341 (display-buffer-normalize-special): New function.
11342 (display-buffer-normalize-options): Rename to
11343 display-buffer-normalize-default and rewrite.
11344 (display-buffer-normalize-options-inhibit): Remove.
11345 (display-buffer-normalize-specifiers): Rewrite.
11346 (display-buffer): Process other-window specifier and call
11347 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11348 more faithfully.
11349 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11350 (display-buffer-alist-set): Don't handle 'unset default values.
11351 (display-buffer-in-window, display-buffer-alist-set):
11352 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11353 <tassilo@member.fsf.org>.
11354
11355 2011-07-09 Leo Liu <sdl.web@gmail.com>
11356
11357 * register.el (insert-register): Restore accidental change on
11358 2011-06-26. (Bug#9028)
11359
11360 2011-07-09 Glenn Morris <rgm@gnu.org>
11361
11362 * subr.el (remq): Handle the empty list. (Bug#9024)
11363
11364 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11365
11366 * mail/sendmail.el (send-mail-function): No longer delay custom
11367 initialization.
11368 * custom.el (custom-initialize-delay): Doc fix.
11369
11370 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11371
11372 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11373
11374 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11375
11376 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11377 human-friendly prompt.
11378
11379 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11382 provided by a particular plugin.
11383
11384 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11385
11386 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11387 save customizations (with "emacs -Q"), just set the variable
11388 instead of erroring out.
11389
11390 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11391
11392 2011-07-08 Juri Linkov <juri@jurta.org>
11393
11394 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11395 (archive-zip-update-case): Use 7z if found by `executable-find'.
11396 The order of searching the available programs is the same as in
11397 `archive-zip-extract' (bug#8968).
11398
11399 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11400
11401 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11402 (menu-bar-options-menu): Tweak descriptions.
11403
11404 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11405
11406 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11407 menu items into verb phrases (bug#1421). Also refill to fit under
11408 80 columns.
11409
11410 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11411
11412 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11413 (Info-read-node-name): Doc fix (Bug#1084).
11414
11415 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11416 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11417 (end-of-sexp, beginning-of-sexp)
11418 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11419 (forward-symbol, forward-same-syntax, word-at-point)
11420 (sentence-at-point): Doc fix (Bug#1144).
11421
11422 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11423
11424 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11425 should cover it (bug#1281).
11426
11427 * cus-edit.el (custom-show): Mark as obsolete.
11428
11429 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11430 negotiation fails, then possibly try again with a non-encrypted
11431 connection (bug#9017).
11432
11433 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11434 be used.
11435
11436 2011-07-07 Richard Stallman <rms@gnu.org>
11437
11438 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11439 property, and handle its changed format.
11440 Look for the correct line number.
11441 Use file's line contents (but not past first =) to find
11442 correct line in message.
11443
11444 2011-07-07 Kenichi Handa <handa@m17n.org>
11445
11446 * international/characters.el (build-unicode-category-table):
11447 Delete it.
11448 (unicode-category-table): Set it by unicode-property-table-internal.
11449
11450 * international/mule-cmds.el (char-code-property-alist): Move to
11451 to src/chartab.c.
11452 (get-char-code-property): Call unicode-property-table-internal to
11453 load a file. Call get-unicode-property-internal where necessary.
11454 (put-char-code-property): Call unicode-property-table-internal to
11455 load a file. Call put-unicode-property-internal where necessary.
11456 put-unicode-property-internal where necessary.
11457 (char-code-property-description):
11458 Call unicode-property-table-internal to load a file.
11459
11460 * international/charprop.el:
11461 * international/uni-bidi.el:
11462 * international/uni-category.el:
11463 * international/uni-combining.el:
11464 * international/uni-comment.el:
11465 * international/uni-decimal.el:
11466 * international/uni-decomposition.el:
11467 * international/uni-digit.el:
11468 * international/uni-lowercase.el:
11469 * international/uni-mirrored.el:
11470 * international/uni-name.el:
11471 * international/uni-numeric.el:
11472 * international/uni-old-name.el:
11473 * international/uni-titlecase.el:
11474 * international/uni-uppercase.el: Regenerate.
11475
11476 * loadup.el: Load international/charprop.el before
11477 international/characters.
11478
11479 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11480
11481 * window.el (next-buffer, previous-buffer): Signal an error if
11482 called from a minibuffer window.
11483
11484 * bindings.el: Revert 2011-07-04 change.
11485
11486 2011-07-06 Richard Stallman <rms@gnu.org>
11487
11488 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11489 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11490 Treat markers like ints.
11491 (rmail-mime-entity): Doc fix.
11492
11493 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11494
11495 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11496 defcustom again for backwards compatibility.
11497
11498 * simple.el (shell-command-on-region): Fill.
11499
11500 * dired-aux.el (dired-kill-line): Add a doc string.
11501
11502 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11503 to "\\sw\\|\\s_" (bug#358).
11504
11505 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11506 (dired-unmark-backward): Ditto.
11507 (dired-flag-backup-files): Ditto.
11508
11509 * dired-x.el (dired-mark-sexp): Ditto.
11510
11511 2011-07-06 Richard Stallman <rms@gnu.org>
11512
11513 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11514 (rmail-mime-entity): New arg TRUNCATED.
11515 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11516 New functions.
11517 (rmail-mime-save): Warn if entity is truncated.
11518 (rmail-mime-toggle-hidden): Likewise, for showing.
11519 (rmail-mime-process-multipart): Record when an entity is truncated.
11520
11521 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11522 if ENTITY is a string.
11523
11524 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11525
11526 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11527 of faces when `M-C-x'-ing their definitions (bug#8378).
11528 Also clean up the code slightly.
11529
11530 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11531 because that makes the colors go away.
11532
11533 * mail/sendmail.el (send-mail-function): Change the default to
11534 `sendmail-query-once'.
11535 (sendmail-query-once): Add an autoload cookie.
11536
11537 * net/network-stream.el (network-stream-open-starttls): Try using
11538 a plain connection even if the server offered STARTTLS, and we
11539 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11540 capability. This should make smtpmail.el work in slightly more
11541 configurations.
11542
11543 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
11544
11545 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11546 New defun.
11547 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11548
11549 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11550
11551 * progmodes/sql.el: Version 3.0
11552 (sql-product-alist): Add product :completion-object,
11553 :completion-column, and :statement attributes.
11554 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11555 (sql-mode-syntax-table): Mark all punctuation.
11556 (sql-font-lock-keywords-builder): Temporarily remove fallback on
11557 ansi keywords.
11558 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11559 (sql-mode-oracle-font-lock-keywords): Improve.
11560 (sql-oracle-show-reserved-words): New function for development.
11561 (sql-product-font-lock): Simplify for source code buffers.
11562 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11563 New functions.
11564 (sql-highlight-product): Set product specific syntax table.
11565 (sql-mode-map): Add statement movement functions.
11566 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11567 New variable.
11568 (sql-statement-regexp, sql-beginning-of-statement)
11569 (sql-end-of-statement, sql-signum): New functions.
11570 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11571 (sql-show-sqli-buffer): Bug fix.
11572 (sql-interactive-mode): Store connection data as buffer local.
11573 (sql-connect): Add NEW-NAME parameter. Redesign interaction
11574 with sql-interactive-mode.
11575 (sql-save-connection): Save buffer local settings.
11576 (sql-connection-menu-filter): Change menu entry name.
11577 (sql-product-interactive): Bug fix.
11578 (sql-preoutput-hold): New variable.
11579 (sql-interactive-remove-continuation-prompt): Bug fixes.
11580 (sql-debug-redirect): New variable.
11581 (sql-str-literal): New function.
11582 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11583 Redesign.
11584 (sql-oracle-save-settings, sql-oracle-restore-settings)
11585 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11586 (sql-completion-object, sql-completion-column)
11587 (sql-completion-sqlbuf): New variables.
11588 (sql-build-completions-1, sql-build-completions)
11589 (sql-try-completion): New functions.
11590 (sql-read-table-name): Use them.
11591 (sql-contains-names): New buffer local variable.
11592 (sql-list-all, sql-list-table): Use it.
11593 (sql-oracle-completion-types): New variable.
11594 (sql-oracle-completion-object, sql-sqlite-completion-object)
11595 (sql-postgres-completion-object): New functions.
11596
11597 2011-07-06 Glenn Morris <rgm@gnu.org>
11598
11599 * window.el (pop-to-buffer): Doc fix.
11600
11601 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11602
11603 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11604
11605 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11606
11607 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11608
11609 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11610
11611 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11612
11613 * button.el (button): Inherit from link face. Suggested by Dan
11614 Nicolaescu.
11615
11616 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11617
11618 * progmodes/gdb-mi.el: Fit in 80 columns.
11619 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11620 switch-to-buffer.
11621
11622 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11623 if imenu is simply not configured (bug#8941).
11624
11625 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11626
11627 * allout.el (allout-post-undo-hook): New allout outline-change
11628 event hook to signal undo activity.
11629 (allout-post-command-business): Run allout-post-undo-hook if an
11630 undo just occurred.
11631 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11632 * allout-widgets.el (allout-widgets-after-undo-function):
11633 Ensure the integrity of the current item's decoration after it has been
11634 in the vicinity of an undo.
11635 (allout-widgets-mode): Include allout-widgets-after-undo-function
11636 on the new allout-post-undo-hook.
11637
11638 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11641 Let define-derived-mode define it.
11642 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11643 cycles of abbrev-table inheritance (bug#8998).
11644
11645 2011-07-05 Roland Winkler <winkler@gnu.org>
11646
11647 * textmodes/bibtex.el: Add support for biblatex.
11648 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11649 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11650 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11651 (bibtex-entry-alist, bibtex-field-alist): New variables.
11652 (bibtex-entry-field-alist): Obsolete alias for
11653 bibtex-BibTeX-entry-alist.
11654 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11655 (bibtex-set-dialect): New command.
11656 (bibtex-entry-type, bibtex-entry-head)
11657 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11658 Bind via bibtex-set-dialect.
11659 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11660 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11661 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11662 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11663 Define via bibtex-set-dialect.
11664 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11665 Obey bibtex-no-opt-remove-re.
11666 (bibtex-vec-push, bibtex-vec-incr): New functions.
11667 (bibtex-format-entry, bibtex-field-list)
11668 (bibtex-print-help-message, bibtex-validate)
11669 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11670
11671 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11672
11673 * progmodes/compile.el (compilation-goto-locus):
11674 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11675 * bs.el (bs-cycle-next, bs-cycle-previous):
11676 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11677 * bindings.el (mode-line-other-buffer):
11678 * autoinsert.el (auto-insert):
11679 * arc-mode.el (archive-extract):
11680 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11681
11682 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11683
11684 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11685 Fix check of `emacs-lock-unlockable-modes'.
11686 Coerce true values of `emacs-lock--try-unlocking' to t.
11687
11688 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11689
11690 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11691 * emacs-lock.el: New file.
11692
11693 2011-07-05 Julien Danjou <julien@danjou.info>
11694
11695 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11696 than `boundp' to check if face is set.
11697
11698 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11699
11700 * register.el (registerv-make):
11701 * window.el (window-min-height): Fix typos in docstrings.
11702
11703 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11704
11705 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11706 Update doc string.
11707
11708 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * server.el (server-execute): Catch quit and call
11711 `server-return-error' to pass the error back to emacsclient and
11712 close the connection (bug#8942).
11713
11714 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11715
11716 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11717 insecure exception for current topic. Also note that auto-saves
11718 are handled differently.
11719
11720 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11721 State variables for tracking auto-save inhibition situation.
11722
11723 (allout-write-contents-hook-handler): Rename from
11724 'allout-write-file-hook-handler', and describe how it depends on
11725 write-contents-functions sensitivity to non-nil value to prevent
11726 file write.
11727
11728 (allout-auto-save-hook-handler): Remove. auto-save does not check
11729 this in individual buffers, only in the starting buffer, so this
11730 is not the right way for us to inhibit auto-save in a buffer
11731 according to its condition.
11732
11733 (allout-mode): Use new allout-write-contents-hook-handler, and
11734 only with write-contents-functions. Remove auto-save provisions -
11735 they're implemented elsewhere.
11736
11737 (allout-before-change-handler): If undo is in progress, note that
11738 for attention of allout-post-command-business.
11739
11740 (allout-post-command-business): If the command we're following was
11741 an undo, check for change in the status of encrypted items and
11742 adjust auto-save inhibitions accordingly.
11743
11744 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11745 according to whether there are or aren't any plain-text topics
11746 pending encryption.
11747
11748 (allout-inhibit-auto-save-info-for-decryption):
11749 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11750 if there are plain-text topics pending encryption.
11751
11752 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11753 buffer-saved-size and some allout state to not inhibit auto-saves
11754 if there are no longer any plain-text topics pending encryption.
11755
11756 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11757 No longer provide for exemption of the current topic.
11758
11759 2011-07-04 Juri Linkov <juri@jurta.org>
11760
11761 Add 7z operations to delete and save changed members (bug#8968).
11762 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11763 New defcustoms.
11764 (archive-7z-write-file-member): New function.
11765 (archive-7z-summarize): Fix the number of dashes in the
11766 listing output.
11767
11768 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11769
11770 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11771 (bug#8958).
11772
11773 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11774
11775 * bindings.el: Ignore next-buffer and previous-buffer in
11776 minibuffer-local-map.
11777
11778 * font-lock.el (font-lock-builtin-face): Change light background
11779 color to dark slate blue (Bug#6693).
11780
11781 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11782
11783 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11784
11785 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11786
11787 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11788 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11789 Add switch-to-buffer.
11790
11791 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11792
11793 * isearch.el (isearch-search-fun-function): Clarify further the
11794 meaning of the function returned.
11795
11796 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11797
11798 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11799
11800 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11801 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11802 Use it.
11803 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11804 `tramp-default-remote-path' does not exist.
11805 (tramp-send-command-and-read): New optional argument NOERROR.
11806 (tramp-open-connection-setup-interactive-shell)
11807 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11808 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11809 (tramp-process-sentinel): Flush also process' connection property.
11810 (tramp-sh-handle-start-file-process): Do not set process
11811 sentinel. It is done now ...
11812 (tramp-maybe-open-connection): ... here. (Bug#8929)
11813
11814 2011-07-04 MON KEY <monkey@sandpframing.com>
11815
11816 * play/animate.el (animate-string): Doc fixes and allow changing
11817 the buffer name (bug#5417).
11818
11819 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11820
11821 * play/animate.el (animation-buffer-name): Rename from *animate*.
11822
11823 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11824
11825 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11826 This is simpler and helps future-proof the code.
11827 (timer-until): Use time-subtract and float-time.
11828 (timer--time-less-p): Use time-less-p.
11829
11830 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11831
11832 * type-break.el (timep): Use the value of `float-time' to avoid a
11833 byte-compiler warning.
11834
11835 * server.el (server-eval-and-print): Return any result, even nil.
11836
11837 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11838
11839 * type-break.el: Accept time formats that the builtins accept.
11840 (timep, type-break-time-difference): Accept any format that
11841 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11842 This is simpler and helps future-proof the code.
11843 (type-break-time-difference): Round rather than ignoring
11844 subseconds components.
11845
11846 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11847
11848 * info.el (Info-apropos-matches): Make non-interactive, since it
11849 doesn't seem to do anything useful as a command (bug#8829).
11850
11851 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11852
11853 * frame.el (frame-background-mode, frame-set-background-mode):
11854 Move from faces.el.
11855 (frame-default-terminal-background): New function.
11856
11857 * custom.el (custom-push-theme): Don't record faces in `changed'
11858 theme; this doesn't work correctly for per-frame face settings.
11859 (disable-theme): Use face-set-after-frame-default to reset faces.
11860 (custom--frame-color-default): New function.
11861
11862 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11863
11864 * dired.el (dired-flagging-regexp): Remove unused variable
11865 (bug#8769).
11866
11867 2011-03-29 Kevin Ryde <user42@zip.com.au>
11868
11869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11870 `perl-Test2' extend to match possible "fail #N" rep count
11871 (bug#8377).
11872
11873 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11874
11875 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11876 `smtpmail-via-smtp' now returns the error instead of nil.
11877
11878 * isearch.el (isearch-search-fun-function): Clarify the doc string
11879 (bug#8101).
11880
11881 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11882
11883 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11884 unnecessary spaces (bug#8987).
11885
11886 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11887
11888 * net/network-stream.el (open-network-stream): Use the
11889 :end-of-capability command thoughout.
11890
11891 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11892
11893 * net/network-stream.el (open-network-stream): Add the
11894 :end-of-capability command parameter, used by pop3.el.
11895
11896 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11897
11898 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11899
11900 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11901 for list)" (bug#6475).
11902
11903 * files.el (file-expand-wildcards): Ignore non-readable
11904 sub-directories while trying to find matches instead of signaling
11905 an error (bug#6297).
11906
11907 * man.el (Man-reference-regexp): Allow matching possible
11908 word-wrapped references (bug#6289).
11909
11910 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11911 for consistency with the other vc buffers (bug#6197).
11912 (vc-checkin): Ditto.
11913
11914 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11915
11916 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11917
11918 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11919
11920 * custom.el (defcustom): Clarify that :set is only used in the
11921 Customize user interface (bug#6089).
11922
11923 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11924 associated with a file, refuse to run instead of erroring out
11925 (bug#6084).
11926
11927 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11928 the doc string, since it appears that using `fill-column' always
11929 controls the width (bug#7845).
11930
11931 * simple.el (shell-command-on-region): Say where the error output
11932 went if `shell-command-default-error-buffer' is set (bug#6857).
11933
11934 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11935
11936 * allout.el (allout-yank-processing): Adjust cursor position for
11937 backwards-deleted space.
11938
11939 (allout-rebullet-heading): Register changes with
11940 allout-exposure-changed-hook, so the modified topic is properly
11941 decorated.
11942
11943 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11944
11945 * minibuffer.el (completion-in-region): Document PREDICATE
11946 (bug#7136).
11947
11948 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11949 of keyword/argument pairs (bug#6904).
11950
11951 * replace.el (multi-occur):
11952 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11953
11954 2011-07-02 Drew Adams <drew.adams@oracle.com>
11955
11956 * dired.el (dired-mark-if): Make the message about whether it's
11957 marking or unmarking clearer (bug#8523).
11958
11959 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11960
11961 * disp-table.el (display-table-print-array): New function.
11962 (describe-display-table): Use it to print the vectors more pretty
11963 (Bug#8859).
11964
11965 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11966
11967 * window.el (window-state-get-1): Don't assign clone numbers.
11968 Add clone-of item to list of window parameters.
11969 (window-state-put-2): Don't process clone numbers.
11970 (display-buffer-alist): Fix doc-string.
11971
11972 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11973
11974 * subr.el (remq): Don't allocate if it's not needed.
11975 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11976 (keymap--merge-bindings): New functions.
11977 (keymap-canonicalize): Use them to refine the canonicalization.
11978 * minibuffer.el (minibuffer-local-completion-map)
11979 (minibuffer-local-must-match-map): Move initialization from C.
11980 (minibuffer-local-filename-completion-map): Move initialization from C;
11981 don't inherit from anything here.
11982 (minibuffer-local-filename-must-match-map): Make obsolete.
11983 (completing-read-default): Use make-composed-keymap to combine
11984 minibuffer-local-filename-completion-map with either
11985 minibuffer-local-must-match-map or
11986 minibuffer-local-filename-completion-map.
11987
11988 2011-07-01 Glenn Morris <rgm@gnu.org>
11989
11990 * type-break.el (type-break-time-sum): Use dolist.
11991
11992 * textmodes/flyspell.el (flyspell-word-search-backward):
11993 Replace CL function.
11994
11995 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * mouse.el (mouse--strip-first-event): New function.
11998 (function-key-map): Use it to map fringe clicks to normal clicks
11999 by default.
12000
12001 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12002 (vc-bzr-revision-completion-table): Add support for annotate and date.
12003
12004 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12005 inherit from parent.
12006
12007 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12008
12009 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12010 (dired-show-file-type): Doc fixup (bug#8818).
12011
12012 * dired.el (dired-mode): Fix up the doc string as suggested by
12013 Drew Adams (bug#8817).
12014
12015 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12016 cookie, since the manual says that it should be possible to add
12017 this function to `find-file-hook' (bug#8709).
12018
12019 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12020
12021 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12022 here. Noted Ted Zlatanov as the maintainer.
12023 (cfengine-common-settings, cfengine-common-syntax): New functions
12024 to set up common things between `cfengine-mode' and
12025 `cfengine3-mode'.
12026 (cfengine3-mode): New mode.
12027 (cfengine3-defuns cfengine3-defuns-regex
12028 (cfengine3-class-selector-regex cfengine3-category-regex)
12029 (cfengine3-vartypes cfengine3-font-lock-keywords)
12030 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12031 (cfengine3-indent-line): Add from cfengine3.el.
12032
12033 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12034
12035 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12036
12037 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12038
12039 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12040
12041 * window.el (same-window-buffer-names, same-window-regexps)
12042 (same-window-p, special-display-frame-alist)
12043 (special-display-popup-frame, special-display-function)
12044 (special-display-buffer-names, special-display-regexps)
12045 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12046 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12047 (split-window-preferred-function, split-height-threshold)
12048 (split-width-threshold, even-window-heights)
12049 (display-buffer-mark-dedicated, window-splittable-p)
12050 (split-window-sensibly, window-safely-shrinkable-p):
12051 Un-obsolete.
12052 (display-buffer): Don't spread args with function specifier
12053 because special-display-popup-frame won't like it.
12054
12055 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12056
12057 Time-stamp simplifications and fixes.
12058 These improve accuracy slightly, and future-proof the code
12059 against some potential changes to current-time format.
12060
12061 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12062 by using time-since and float-time.
12063
12064 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12065 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12066 + NNN microseconds".
12067
12068 * type-break.el (type-break-time-sum): Rewrite using time-add.
12069
12070 * play/hanoi.el (hanoi-current-time-float): Remove.
12071 All uses replaced by float-time.
12072
12073 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12074 This yields a more-accurate answer.
12075 (rng-time-to-float): Remove; no longer needed.
12076
12077 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12078
12079 * calendar/timeclock.el (timeclock-seconds-to-time):
12080 Defalias to seconds-to-time, since they're the same thing.
12081
12082 * emacs-lisp/elp.el (elp-elapsed-time):
12083 * emacs-lisp/benchmark.el (benchmark-elapse):
12084 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12085
12086 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12087
12088 * window.el (bury-buffer): Don't iconify the only frame.
12089 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12090 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12091
12092 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12093
12094 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12095 Add mouse-yank-primary.
12096
12097 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12098
12099 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12100
12101 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12104 (find-library-name): Use it to find relative load names when provided
12105 absolute file name (bug#8803).
12106
12107 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12108
12109 * textmodes/flyspell.el (flyspell-word): Consider words that
12110 differ only in case as potential doublons (bug#5687).
12111
12112 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12113 Remove two rather uninteresting debugging-like messages to make
12114 debbugs.el more silent.
12115
12116 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12117 a password-like phrase.
12118
12119 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12120
12121 * progmodes/cc-guess.el: New file.
12122
12123 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12124
12125 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12126 derived from `c-basic-common-init'.
12127
12128 * progmodes/cc-mode.el (top-level): Require cc-guess.
12129 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12130
12131 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12132
12133 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12134
12135 2011-06-30 Alan Mackenzie <acm@muc.de>
12136
12137 * progmodes/cc-engine.el (c-guess-continued-construct):
12138 Correct the handling of template-args-cont, particularly for when font
12139 lock is disabled. Name this case as "CASE G".
12140
12141 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12142
12143 * allout.el (allout-yank-processing): Fix injection of extra space
12144 between bullet and non-whitespace character in first topic when
12145 pasting, ensuring that the actual spacing in the pasted topic
12146 following the bullet char is preserved. This extra space was
12147 causing pasted encrypted topics to get a decrypted status even
12148 when the content was actually still encrypted. Now the decryption
12149 status from before the paste is preserved.
12150
12151 (allout-flag-region): Set all allout overlays so they evaporate
12152 when reduced to zero length (evanescent), to prevent overlay
12153 leakage.
12154
12155 2011-06-30 Glenn Morris <rgm@gnu.org>
12156
12157 * w32-fns.el (w32-charset-info-alist): Declare.
12158
12159 * find-dired.el (find-grep-options): Simplify.
12160
12161 * term/ns-win.el (ns-set-resource): Declare.
12162
12163 * ses.el (row, col): Declare dynamic variables honestly.
12164
12165 * textmodes/reftex-parse.el (index-tags): Declare.
12166
12167 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12168
12169 * cus-edit.el (customize-push-and-save): New function.
12170
12171 * files.el (hack-local-variables-confirm): Use it.
12172
12173 * custom.el (load-theme): New arg NO-CONFIRM.
12174 Use customize-push-and-save (Bug#8720).
12175 (custom-enabled-themes): Doc fix.
12176
12177 * cus-theme.el (customize-create-theme)
12178 (custom-theme-merge-theme): Callers to load-theme changed.
12179
12180 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12181
12182 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12183 short URLs have at least one dot in them (bug #7614).
12184
12185 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12186 nil, because using a pty is apparently too slow (bug #895).
12187
12188 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12189
12190 * mail/sendmail.el (sendmail-query-once): New function.
12191 (sendmail-query-once-function): New variable.
12192
12193 2011-06-29 Glenn Morris <rgm@gnu.org>
12194
12195 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12196
12197 * ses.el (top-level): Require cl when compiling.
12198 (ses-set-localvars): Fix error statement.
12199 Call it at compile time to silence a storm of warnings.
12200
12201 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12202
12203 * window.el (normalize-live-buffer): Rename to
12204 window-normalize-buffer.
12205 (normalize-live-frame): Rename to window-normalize-frame.
12206 (normalize-any-window): Rename to window-normalize-any-window.
12207 (normalize-live-window): Rename to window-normalize-live-window.
12208 (make-window-atom): Rename to window-make-atom.
12209 (window-resize-reset): Rename to window--resize-reset.
12210 (window-resize-reset-1): Rename to window--resize-reset-1.
12211 (resize-mini-window): Rename to window--resize-mini-window.
12212 (resize-subwindows-skip-p): Rename to
12213 window--resize-subwindows-skip-p.
12214 (resize-subwindows-normal): Rename to
12215 window--resize-subwindows-normal.
12216 (resize-subwindows): Rename to window--resize-subwindows.
12217 (resize-other-windows): Rename to window--resize-siblings.
12218 (resize-this-window): Rename to window--resize-this-window.
12219 (resize-root-window): Rename to window--resize-root-window.
12220 (resize-root-window-vertically): Rename to
12221 window--resize-root-window-vertically.
12222 (normalize-buffer-to-display): Rename to
12223 window-normalize-buffer-to-display.
12224 (normalize-buffer-to-switch-to): Rename to
12225 window-normalize-buffer-to-switch-to.
12226 Correspondingly update all callers of the functions listed
12227 above.
12228 (display-buffer-alist, display-buffer-normalize-arguments)
12229 (display-buffer-normalize-options, display-buffer)
12230 (display-buffer-alist-set): Use "function" instead of
12231 "fun-with-args".
12232
12233 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12234
12235 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12236 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12237 debbugs.gnu.org. Mention acknowledgment email.
12238
12239 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12240
12241 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12242 buffer multibyteness, since it shouldn't matter.
12243
12244 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12245
12246 * window.el (display-buffer-in-side-window): Handle dedicated
12247 windows as in display-buffer-reuse-window.
12248 (display-buffer-normalize-alist): Use value of override
12249 specifier.
12250 (display-buffer-normalize-specifiers): Use value of
12251 other-window-means-other-frame specifier.
12252 (display-buffer-alist): Rewrite some texts in widgets.
12253 (display-buffer): Spread arguments when calling function
12254 specified by fun-with-args.
12255
12256 2011-06-28 Deniz Dogan <deniz@dogan.se>
12257
12258 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12259 Unnest `let'.
12260
12261 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12262 selectors (Bug#5732).
12263 (css-proprietary-nmstart-re): Use `regexp-opt'.
12264
12265 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12266
12267 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12268 (eshell-ls-date-format): New defcustom.
12269 (eshell-ls-file): Use it.
12270
12271 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12272
12273 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12274
12275 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12276
12277 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12278 (ange-ftp-make-tmp-name): New arg.
12279 (ange-ftp-file-local-copy): Use it.
12280
12281 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12282
12283 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12284 no-conversion (Bug#8870).
12285
12286 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12287
12288 * window.el (window-right, window-left, window-child)
12289 (window-child-count, window-last-child)
12290 (window-iso-combination-p, walk-window-tree-1)
12291 (window-atom-check-1, window-tree-1, delete-window)
12292 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12293 new naming conventions - window-vchild, window-hchild,
12294 window-next and window-prev are now called window-top-child,
12295 window-left-child, window-next-sibling and window-prev-sibling
12296 respectively.
12297 (resize-window-reset): Rename to window-resize-reset.
12298 (resize-window-reset-1): Rename to window-resize-reset-1.
12299 (resize-window): Rename to window-resize.
12300 (window-min-height, window-min-width)
12301 (resize-mini-window, resize-this-window, resize-root-window)
12302 (resize-root-window-vertically, adjust-window-trailing-edge)
12303 (enlarge-window, shrink-window, maximize-window)
12304 (minimize-window, delete-window, quit-restore-window)
12305 (split-window, balance-windows, balance-windows-area-adjust)
12306 (balance-windows-area, window-state-put-2)
12307 (display-buffer-even-window-sizes, display-buffer-set-height)
12308 (display-buffer-set-width, set-window-text-height)
12309 (fit-window-to-buffer): Rename all "resize-window" prefixed
12310 calls to use the "window-resize" prefix convention.
12311 (display-buffer-alist): Fix symbol for label specifier.
12312 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12313 corresponding specifier.
12314 Reported by Juanma Barranquero <lekktu@gmail.com>.
12315
12316 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12317
12318 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12319 convention.
12320 (ses-call-printer): Does not pass an empty string to formatter when the
12321 cell is empty to keep from barking printer Calc math-format-value.
12322
12323 2011-06-27 Richard Stallman <rms@gnu.org>
12324
12325 * battery.el (battery-mode-line-limit): New variable.
12326 (battery-update): Handle it.
12327
12328 * mail/rmailmm.el (rmail-mime-process-multipart):
12329 Handle truncated messages.
12330
12331 2011-06-27 Glenn Morris <rgm@gnu.org>
12332
12333 * progmodes/flymake.el (flymake-err-line-patterns):
12334 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12335
12336 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12337
12338 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12339 (ses--clean-!, ses--clean-_): New functions.
12340 (ses-range): Add configurability of readout order, and conversion
12341 to Calc vector.
12342
12343 * ses.el (ses-repair-cell-reference-all): New function.
12344 (ses-cell-symbol): Set macro as safe, so that it can be used in
12345 formulas.
12346
12347 * ses.el: Update cycle detection algorithm.
12348 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12349 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12350 (ses-set-localvars): New function.
12351 (ses-make-cell): Add property-list as a cell element.
12352 (ses-cell-property-get-fun, ses-cell-property-get)
12353 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12354 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12355 New functions.
12356 (ses-cell-property-set, ses-cell-property-pop)
12357 (ses-cell-property-get-handle): New macro.
12358 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12359 New aliases, used for code readability.
12360 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12361 cycle detection.
12362 (ses-self-reference-early-detection): New defcustom.
12363 (ses-formula-references): Robustify against self-referring cells.
12364 (ses-mode): Use ses-set-localvars.
12365 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12366 before lauching the update processing.
12367 (ses-initialize-Dijkstra-attempt): New function.
12368 (ses-recalculate-cell): Update for cycle detection based on
12369 Dijkstra algorithm.
12370
12371 * ses.el: Fix commenting and indenting convention.
12372
12373 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12374
12375 * bs.el (bs-cycle-next): Complete last change.
12376
12377 2011-06-27 Drew Adams <drew.adams@oracle.com>
12378
12379 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12380
12381 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12382
12383 * net/network-stream.el (network-stream-open-starttls):
12384 Don't re-get capabilities unless we've reestablished connection.
12385 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12386
12387 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12388 to binary to possibly avoid line encoding issues on Windows (among
12389 other things).
12390
12391 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12392
12393 * net/network-stream.el (open-network-stream): Return an :error
12394 saying what the problem was, if possible.
12395
12396 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12397 server.
12398
12399 * net/network-stream.el (network-stream-open-starttls): If we
12400 wanted to use STARTTLS, and the server offered it, but we weren't
12401 able to because we had no STARTTLS support, then close the connection.
12402 (open-network-stream): Return an :error element, if present.
12403
12404 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12405
12406 * hl-line.el (hl-line-sticky-flag): Doc fix.
12407 (global-hl-line-sticky-flag): New option (Bug#8323).
12408 (global-hl-line-highlight): Obey it.
12409
12410 * vc/vc.el (vc-revert-show-diff): Default to t.
12411
12412 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12413
12414 * allout-widgets.el (allout-widgets-post-command-business):
12415 Stop decorating intermediate isearch matches. They're not being
12416 undecorated when an isearch is continued past, and isearch
12417 automatically collapses them. This leads to "widget leaks", where
12418 decorated items accumulate in collapsed areas. Lines with lots of
12419 hidden widgets can slow down cursor travel, substantially.
12420 Too much complicated machinery would be needed to ensure undecoration,
12421 so we're doing without this nicety.
12422
12423 (allout-widgets-tally-string): Don't try to do a hash-table-count
12424 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12425 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12426 *Messages* when allout-widgets-maintain-tally is t.
12427
12428 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12429
12430 * window.el (display-buffer-normalize-argument): Rename to
12431 display-buffer-normalize-arguments. Handle special meaning of
12432 LABEL argument. Respect special-display-function when popping up
12433 a new frame. Fix code searching for a window showing the buffer
12434 on another frame.
12435 (display-buffer-normalize-specifiers):
12436 Call display-buffer-normalize-arguments.
12437 (display-buffer-in-window): Don't undedicate the window if its
12438 buffer remains the same.
12439 Reported by Drew Adams <drew.adams@oracle.com>.
12440 (display-buffer-alist): Add choice for same-window macro
12441 specfier.
12442 (display-buffer): Mention special meaning of LABEL argument in
12443 doc-string. Fix quoting. Don't pop up a new frame even as
12444 fallback.
12445
12446 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12447
12448 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12449 avoid deleting the current window in some cases (bug#8911).
12450
12451 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12452
12453 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12454 (Bug#8934)
12455
12456 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12457
12458 * net/network-stream.el (network-stream-open-starttls):
12459 Use built-in TLS support if `gnutls-available-p' is true.
12460 (network-stream-open-tls): Ditto.
12461
12462 2011-06-26 Leo Liu <sdl.web@gmail.com>
12463
12464 * register.el (registerv): New struct.
12465 (registerv-make): New function.
12466 (jump-to-register, describe-register-1, insert-register):
12467 Support the jump-func, print-func and insert-func slot of a registerv
12468 struct. (Bug#8415)
12469
12470 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12471
12472 * vc/vc.el (vc-revert-show-diff): New defcustom.
12473 (vc-diff-internal): New arg specifying diff buffer.
12474 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12475 reuse an existing *vc-diff* buffer (Bug#8927).
12476
12477 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12478
12479 2011-06-26 Glenn Morris <rgm@gnu.org>
12480
12481 * progmodes/f90.el (f90-critical-indent): New option.
12482 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12483 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12484 (f90-mode): Doc fix.
12485 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12486 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12487 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12488 (f90-match-end): Handle block, critical.
12489
12490 2011-06-25 Glenn Morris <rgm@gnu.org>
12491
12492 * calendar/diary-lib.el (diary-included-files): Doc fix.
12493 (diary-include-files): New function, extracted from
12494 diary-include-other-diary-files and diary-mark-included-diary-files.
12495 (diary-include-other-diary-files, diary-mark-included-diary-files):
12496 Just call diary-include-files.
12497 (diary-mark-entries): Reset diary-included-files on first call.
12498
12499 * calendar/diary-lib.el (diary-mark-entries)
12500 (diary-mark-included-diary-files):
12501 Visit included diary-files in temp buffers.
12502
12503 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12504 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12505 (f90-start-block-re, f90-imenu-generic-expression)
12506 (f90-looking-at-program-block-start, f90-no-block-limit):
12507 Add support for submodules.
12508
12509 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12510 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12511
12512 2011-06-25 Eli Zaretskii <eliz@gnu.org>
12513
12514 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12515 buffer-file-type before setting its value, to avoid disastrous
12516 global effects on decoding files for DOS/Windows systems. (Bug#8780)
12517
12518 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12519
12520 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12521
12522 * ses.el (ses-unload-function):
12523 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12524
12525 * proced.el (proced-unload-function):
12526 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12527
12528 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12529
12530 * server.el (server-create-window-system-frame): Add parameters arg.
12531 (server-process-filter): Doc fix. Handle frame-parameters.
12532
12533 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12534
12535 Fix bug#8730, bug#8781.
12536
12537 * loadhist.el (unload--set-major-mode): New function.
12538 (unload-feature): Use it.
12539
12540 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12541 (python-unload-function): New function.
12542
12543 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12546
12547 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12548
12549 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12550 the candidates list.
12551
12552 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
12553
12554 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12555
12556 2011-06-23 Richard Stallman <rms@gnu.org>
12557
12558 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12559 (rmail-variables): Set next-error-move-function.
12560 (rmail-what-message): Take argument POS.
12561 (rmail-next-error-move): New function.
12562
12563 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12564
12565 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12566 messages for adjacent non-terminals.
12567
12568 2011-06-23 Richard Stallman <rms@gnu.org>
12569
12570 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12571 (rmail-show-message-1): Preserve buffer modified flag.
12572 (rmail-start-mail): Don't specify use of rmail-mail-return;
12573 that's done by mail-bury now.
12574 (rmail-mail-return): Handle arg NEWBUF.
12575
12576 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
12577
12578 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12579 SIZE is a number.
12580
12581 2011-06-23 Martin Rudalics <rudalics@gmx.at>
12582
12583 * window.el (get-lru-window, get-mru-window)
12584 (get-largest-window): Never return a minibuffer window.
12585 (display-buffer-pop-up-window): Fix a bug that could lead to
12586 reusing the minibuffer window.
12587 (display-buffer): Pass original specifier argument to
12588 display-buffer-function instead of the normalized one.
12589 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12590
12591 2011-06-22 Leo Liu <sdl.web@gmail.com>
12592
12593 * minibuffer.el (completing-read-function)
12594 (completing-read-default): Move from minibuf.c
12595
12596 2011-06-22 Richard Stallman <rms@gnu.org>
12597
12598 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12599 to Rmail even if not started by a special Rmail command.
12600
12601 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12602 Copy the buffer currently showing just one message.
12603
12604 2011-06-22 Roland Winkler <winkler@gnu.org>
12605
12606 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12607 (bibtex-clean-entry): First delete the old key so that a
12608 customized algorithm for generating the new key does not get
12609 confused by the old key.
12610 (bibtex-url): Obey regexp of first step.
12611 (bibtex-search-entries): Do not use add-to-list with local
12612 list-var.
12613
12614 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12615
12616 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12617 stored a user name, then query for the password first, instead of
12618 waiting for SMTP to give an error message and the trying again.
12619
12620 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12621
12622 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12623 BUFFER in call-process.
12624
12625 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12626
12627 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12628 QUIT twice.
12629 (smtpmail-try-auth-methods): Require user name and password from
12630 auth-source.
12631
12632 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12633
12634 * window.el (display-buffer-default-specifiers)
12635 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12636 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12637 (split-window): Normalize SIDE argument (Bug#8916).
12638
12639 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12640 (special-display-frame-alist, special-display-popup-frame):
12641 Remove duplicate declarations. These are now in window.el.
12642
12643 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12644
12645 * mail/smtpmail.el (smtpmail-via-smtp):
12646 Set :use-starttls-if-possible so that we always use STARTTLS if the
12647 server supports it. SMTP servers that support STARTTLS commonly
12648 require it.
12649
12650 * net/network-stream.el (network-stream-open-starttls): Support
12651 upgrading to STARTTLS always, even if we don't have built-in support.
12652 (open-network-stream): Add the :always-query-capabilities keyword.
12653
12654 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12655 upgrades with `open-network-stream', and rely solely on
12656 auth-source for all credentials. Big changes throughout the file,
12657 but in particular:
12658 (smtpmail-auth-credentials): Remove.
12659 (smtpmail-starttls-credentials): Remove.
12660 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12661 MAIL FROM, too.
12662
12663 * net/network-stream.el (network-stream-open-starttls):
12664 Provide support for client certificates both for external and built-in
12665 STARTTLS.
12666 (auth-source): Require.
12667 (open-network-stream): Document the :client-certificate keyword.
12668 (network-stream-certificate): Change cert-cert to cert and
12669 cert-key to key.
12670
12671 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12672
12673 * net/tramp-cache.el (top): Don't load the persistency file when
12674 "emacs -Q" has been called.
12675
12676 2011-06-21 Tim Harper <timcharper@gmail.com>
12677
12678 * term/ns-win.el (ns-initialize-window-system):
12679 Set application-specific `ApplePressAndHoldEnabled' system
12680 resource to NO as it is not yet supported by the NS port.
12681
12682 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12683
12684 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12685 (list-dynamic-libraries): ...not here.
12686
12687 2011-06-21 Leo Liu <sdl.web@gmail.com>
12688
12689 * subr.el (sha1): Implement sha1 using secure-hash.
12690
12691 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12692
12693 * window.el (display-buffer-alist): In default value do not
12694 enforce searching a window on any but the selected frame.
12695 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12696 (display-buffer-select-window): Remove function.
12697 (display-buffer-in-window): When a window on another frame gets
12698 reused, do not select it any more but just raise its frame if
12699 necessary (Bug#8851) and (Bug#8856).
12700 (display-buffer-normalize-options): Handle pop-up-frames related
12701 options more faithfully.
12702 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12703 window if it is on another frame.
12704 (display-buffer-alist, display-buffer-default-specifiers):
12705 Don't make new frame unsplittable by default.
12706 (display-buffer-normalize-argument): Fix doc-string typo and use
12707 'same-frame-other-window instead of 'other-window when associating
12708 with display-buffer-macro-specifiers.
12709
12710 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12711
12712 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12713 New functions.
12714 (5x5-mode-map, 5x5-mode-menu): Bind them.
12715 (5x5-draw-grid): Tweak the solver's rendering.
12716
12717 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12720 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12721
12722 2011-06-21 Drew Adams <drew.adams@oracle.com>
12723
12724 * menu-bar.el: Use function variable instead of switch-to-buffer.
12725 (menu-bar-select-buffer-function): New variable.
12726 (menu-bar-update-buffers): Use it (bug#8876).
12727
12728 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12731 variable's status.
12732
12733 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12734
12735 * x-dnd.el (x-dnd-version-from-flags)
12736 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12737 and long as number (Bug#8899).
12738 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12739
12740 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12741
12742 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12743 (completion-try-completion, completion-all-completions): Compute the
12744 metadata argument if it's missing; make it optional (bug#8795).
12745
12746 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12747 (widget-complete): Use new :completion-function property.
12748 (widget-completions-at-point): New function.
12749 (default): Use :completion-function instead of :complete.
12750 (widget-default-completions): Rename from widget-default-complete;
12751 Rewrite.
12752 (widget-string-complete, widget-file-complete, widget-color-complete):
12753 Remove functions.
12754 (file, symbol, function, variable, coding-system, color):
12755 * international/mule-cmds.el (default-input-method, charset)
12756 (language-info-custom-alist):
12757 * cus-edit.el (face): Use new property :completions.
12758
12759 * progmodes/pascal.el (pascal-completions-at-point): New function.
12760 (pascal-mode): Use it.
12761 (pascal-mode-map): Use completion-at-point.
12762 (pascal-toggle-completions): Make obsolete.
12763 (pascal-complete-word, pascal-show-completions):
12764 * progmodes/octave-mod.el (octave-complete-symbol):
12765 Redefine as obsolete alias.
12766 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12767 Signal absence of completion info for old Octave,
12768 (inferior-octave-complete): Redefine as obsolete alias.
12769 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12770 (meta-completions-at-point): Rename from meta-complete-symbol and
12771 adapt it for use on completion-at-point-functions.
12772 (meta-common-mode): Use it.
12773 (meta-looking-at-backward, meta-match-buffer): Remove.
12774 (meta-complete-symbol): Redefine as obsolete alias.
12775 (meta-common-mode-map): Use completion-at-point.
12776 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12777 (makefile-mode-map): Use completion-at-point.
12778 (makefile-completions-at-point): Rename from makefile-complete and
12779 adapt it for use on completion-at-point-functions.
12780 (makefile-mode): Use it.
12781 (makefile-complete): Redefine as obsolete alias.
12782
12783 2011-06-20 Deniz Dogan <deniz@dogan.se>
12784
12785 * net/rcirc.el: Delete trailing whitespaces once and for all.
12786
12787 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12788
12789 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12790
12791 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12792
12793 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12794
12795 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12796
12797 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12798
12799 * window.el (display-buffer-other-window-means-other-frame):
12800 Call display-buffer-normalize-alist.
12801 (display-buffer-normalize-specifiers-1): Rename to
12802 display-buffer-normalize-argument. New argument other-frame.
12803 Rewrite.
12804 (display-buffer-normalize-specifiers-2): Rename to
12805 display-buffer-normalize-options.
12806 (display-buffer-normalize-alist-1): New function.
12807 (display-buffer-normalize-specifiers-3): Rename to
12808 display-buffer-normalize-alist.
12809 Call display-buffer-normalize-alist-1.
12810 (display-buffer-normalize-options-inhibit): New variable.
12811 (display-buffer-normalize-specifiers): Rewrite calling
12812 display-buffer-normalize-alist,
12813 display-buffer-normalize-argument, and
12814 display-buffer-normalize-options. Don't call the latter if
12815 display-buffer-normalize-options-inhibit is non-nil.
12816 (frame-auto-delete): New option.
12817 (window-deletable-p): Use frame-auto-delete.
12818 (window-list-no-nils, window-state-ignored-parameters)
12819 (window-state-get-1, window-state-get, window-state-put-list)
12820 (window-state-put-1, window-state-put-2, window-state-put):
12821 New functions.
12822 (display-buffer-normalize-options): Move special-display-p group
12823 after pop-up-frame group (Bug#8851) and (Bug#8856).
12824
12825 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12826
12827 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12828 groups (Bug#8776).
12829 (rx-submatch-n): New function.
12830 (rx): Document it.
12831
12832 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12833 (Bug#8768).
12834
12835 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12836
12837 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12838
12839 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12840 anytime existing face settings are present (Bug#8889).
12841
12842 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12843 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12844 Remove unused argument.
12845
12846 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12847
12848 * window.el (display-buffer-default-specifiers):
12849 Remove pop-up-frame. Add pop-up-window-min-height,
12850 pop-up-window-min-width, and another reuse-window specifier
12851 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12852 (display-buffer-normalize-specifiers-2):
12853 Handle split-height-threshold and split-width-threshold also when
12854 pop-up-windows is unset. Add a reuse-window specifier for the
12855 case popping up a new window fails.
12856 (special-display-popup-frame): Remove double quoting.
12857 (display-buffer-normalize-specifiers-1): Fix thinko.
12858
12859 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12860
12861 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12862 according to comint-completion-addsuffix.
12863
12864 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12865 (pcomplete-suffix-list): Mark as obsolete.
12866 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12867 pcomplete-seen in the closure.
12868 (pcomplete-comint-setup): Setup completion-at-point as well.
12869 (pcomplete--entries): New function.
12870 (pcomplete--env-regexp): New var.
12871 (pcomplete-entries): Rewrite to work with partial-completion and
12872 without relying on pcomplete-suffix-list.
12873 (pcomplete-pare-list): Remove, unused.
12874
12875 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12876
12877 * window.el (display-buffer-alist): Set pop-up-window-min-height
12878 and pop-up-window-min-width in default value. Reported by
12879 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12880 other-window-means-other-frame.
12881 (display-buffer-macro-specifiers): Comment out entry for
12882 other-window specifier.
12883 (display-buffer-other-window-means-other-frame): New function.
12884 (display-buffer-normalize-specifiers-1): New arguments
12885 buffer-name and label. Treat other-window case specially.
12886 (display-buffer-normalize-specifiers-2): Treat other-window case
12887 specially.
12888 (display-buffer-normalize-specifiers-3): New function.
12889 (display-buffer-normalize-specifiers):
12890 Call display-buffer-normalize-specifiers-3.
12891
12892 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12893
12894 * window.el (same-window-p): Fix two typos introduced when
12895 adding with-no-warnings.
12896 (display-buffer-normalize-specifiers-1): Don't check
12897 pop-up-frames for 'unset initialization.
12898 (display-buffer-normalize-specifiers-2): Major rewrite using
12899 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12900 (pop-up-frames, display-buffer-reuse-frames)
12901 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12902 Suggested by David Engster <deng@randomsample.de>.
12903 (even-window-heights): Initialize to 'unset.
12904 (display-buffer-alist-set): Handle new 'unset initializations.
12905 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12906 other window case.
12907
12908 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12909
12910 * window.el (display-buffer-normalize-specifiers-1):
12911 Respect current value of pop-up-frames for most reasonable values of
12912 second argument of display-buffer (Bug#8865).
12913 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12914 (switch-to-buffer-other-window-same-frame)
12915 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12916 Adams (Bug#8875).
12917 (display-buffer): Don't check noninteractive when calling
12918 display-buffer-pop-up-frame.
12919 (display-buffer-pop-up-frame): Never pop up a frame in
12920 noninteractive mode (Bug#8857).
12921 (enlarge-window, shrink-window): Don't report an error when the
12922 window can't be resized as requested (Bug#8862).
12923
12924 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12925
12926 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12927
12928 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12929
12930 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12931
12932 2011-06-15 Alan Mackenzie <acm@muc.de>
12933
12934 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12935 for declarators, disable knr checking to speed up for normal files.
12936 2: Refactor, replacing a sequence of nested if forms by a cond form.
12937
12938 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12939
12940 * net/network-stream.el (open-network-stream): Add the keyword
12941 :always-query-capabilities for the case where you want to force a
12942 `plain' network connection, but the protocol still requires the
12943 capabilitiy command (i.e., SMTP and EHLO).
12944
12945 * subr.el (process-live-p): Rename from `process-alive-p' for
12946 consistency with other `-live-p' functions.
12947
12948 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * window.el (same-window-buffer-names, same-window-regexps)
12951 (special-display-frame-alist, special-display-popup-frame)
12952 (special-display-function, special-display-buffer-names)
12953 (special-display-regexps, pop-up-frame-alist)
12954 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12955 (pop-up-windows, split-window-preferred-function)
12956 (split-height-threshold, split-width-threshold, even-window-heights)
12957 (display-buffer-mark-dedicated): Don't encourage the use of
12958 display-buffer-alist from Elisp code.
12959
12960 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12961
12962 * progmodes/python.el (python-mode): Derive from prog-mode.
12963 * progmodes/ps-mode.el (ps-mode):
12964 * progmodes/mixal-mode.el (mixal-mode):
12965 * progmodes/cfengine.el (cfengine-mode):
12966 * progmodes/ld-script.el (ld-script-mode): Likewise.
12967
12968 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12969
12970 * window.el (display-buffer-alist): Trim default value to avoid
12971 popping up a new frame (Bug#8857) or reusing an arbitrary window
12972 on another frame.
12973 (display-buffer): Do not fall back on popping up a new frame in
12974 batch mode (Bug#8857).
12975
12976 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12977
12978 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12979 (custom-theme-summary): New function.
12980 (customize-themes): Use it.
12981
12982 2011-06-13 Glenn Morris <rgm@gnu.org>
12983
12984 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12985
12986 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12987
12988 * help.el (help-window): Remove variable.
12989 (help-window-point-marker, temp-buffer-max-height)
12990 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12991 (help-print-return-message): Don't set help-window.
12992 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12993 (help-window-setup-finish): Remove.
12994 (help-window-display-message, help-window-setup)
12995 (with-help-window): Major rewrite based on new
12996 display-buffer-window variable.
12997
12998 * help-mode.el (help-mode-finish): Remove help-window related
12999 code.
13000
13001 * view.el (view-exits-all-viewing-windows): Remove reference to
13002 view-return-to-alist in doc-string.
13003 (view-return-to-alist): Make obsolete.
13004 (view-buffer): Call pop-to-buffer-same-window and remove
13005 undo-window code.
13006 (view-buffer-other-window): Call pop-to-buffer-other-window and
13007 simplify code. Ignore second argument.
13008 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13009 simplify code. Ignore second argument.
13010 (view-return-to-alist-update): Make obsolete.
13011 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13012 Rewrite using quit-restore window parameters.
13013 (view-mode-exit): Rename second argument to EXIT-ONLY.
13014 Rewrite using quit-restore-window.
13015 (View-exit, View-exit-and-edit, View-leave, View-quit)
13016 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13017 appropriate arguments.
13018 (view-end-message): Use quit-restore window parameter.
13019
13020 * window.el (display-buffer-function): Rewrite doc-string.
13021 (display-buffer-window, display-buffer-alist): New variables.
13022 (display-buffer-split-specifiers)
13023 (display-buffer-side-specifiers)
13024 (display-buffer-macro-specifiers): New constants.
13025 (display-buffer-even-window-sizes, display-buffer-set-height)
13026 (display-buffer-set-width, display-buffer-select-window)
13027 (display-buffer-in-window, display-buffer-reuse-window)
13028 (display-buffer-split-window-1, display-buffer-split-window)
13029 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13030 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13031 (display-buffer-in-side-window, normalize-buffer-to-display)
13032 (display-buffer-normalize-specifiers-1)
13033 (display-buffer-normalize-specifiers-2)
13034 (display-buffer-normalize-specifiers, display-buffer-frame):
13035 New functions.
13036 (display-buffer): Major rewrite.
13037 (display-buffer-other-window, display-buffer-other-frame)
13038 (pop-to-buffer, switch-to-buffer-other-window)
13039 (switch-to-buffer-other-frame): Rewrite.
13040 (display-buffer-same-window, display-buffer-same-frame)
13041 (display-buffer-same-frame-other-window)
13042 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13043 (pop-to-buffer-other-window)
13044 (pop-to-buffer-same-frame-other-window)
13045 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13046 (switch-to-buffer-other-window-same-frame): New functions.
13047 (same-window-p, special-display-p): Rewrite disabling warnings.
13048 Make obsolete.
13049 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13050 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13051 Make obsolete
13052 (same-window-buffer-names, same-window-regexps)
13053 (special-display-frame-alist, special-display-popup-frame)
13054 (special-display-function, special-display-buffer-names)
13055 (special-display-regexps, pop-up-frame-alist)
13056 (pop-up-frame-function, split-window-preferred-function)
13057 (split-height-threshold, split-width-threshold)
13058 (even-window-heights): Make obsolete.
13059
13060 2011-06-12 Glenn Morris <rgm@gnu.org>
13061
13062 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13063 Misc simplifications.
13064
13065 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13066
13067 * window.el (window-safely-shrinkable-p): Restore function which
13068 was inadvertently removed in change from 2011-06-11. Declare as
13069 obsolete.
13070
13071 * calendar/calendar.el (calendar-generate-window):
13072 Use window-iso-combined-p instead of combination of one-window-p and
13073 window-safely-shrinkable-p.
13074
13075 2011-06-12 Glenn Morris <rgm@gnu.org>
13076
13077 * progmodes/fortran.el (fortran-mode-syntax-table):
13078 * progmodes/f90.el (f90-mode-syntax-table):
13079 Set % to punctuation. (Bug#8820)
13080 (f90-find-tag-default): Remove, no longer needed.
13081
13082 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13083
13084 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13085
13086 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13087
13088 * image.el (image-animated-p): Return animation delay in seconds.
13089 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13090 (image-animate-timeout): Remove DELAY argument. Don't assume
13091 every subimage has the same delay; get it from image-animated-p.
13092 (image-animate): Caller changed.
13093
13094 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13095
13096 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13097 to ignored backtrace functions.
13098
13099 2011-06-11 Glenn Morris <rgm@gnu.org>
13100
13101 * calendar/appt.el (appt-disp-window-function): Doc fix.
13102 (appt-check): Handle overlapping appointments. (Bug#8337)
13103
13104 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13105
13106 * window.el (window-tree-1, window-tree): New functions, moving
13107 the latter to window.el.
13108 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13109 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13110 (bw-refresh-edges): Remove.
13111 (balance-windows-1, balance-windows-2): New functions.
13112 (balance-windows): Rewrite in terms of window tree functions,
13113 balance-windows-1 and balance-windows-2.
13114 (bw-adjust-window): Remove.
13115 (balance-windows-area-adjust): New function with functionality of
13116 bw-adjust-window but using resize-window.
13117 (set-window-text-height): Rewrite doc-string.
13118 Use normalize-live-window and resize-window.
13119 (enlarge-window-horizontally, shrink-window-horizontally):
13120 Rename argument to DELTA.
13121 (window-buffer-height): New function.
13122 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13123 Rewrite using new window resize routines.
13124 (kill-buffer-and-window, mouse-autoselect-window-select):
13125 Use ignore-errors instead of condition-case.
13126 (quit-window): Call delete-frame instead of delete-windows-on
13127 for the only buffer on frame.
13128
13129 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13130
13131 * loadup.el (top-level): Load window before files for the sake
13132 of replace-buffer-in-windows.
13133
13134 * files.el (read-buffer-to-switch)
13135 (switch-to-buffer-other-window)
13136 (switch-to-buffer-other-frame, display-buffer-other-frame):
13137 Move to window.el.
13138
13139 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13140 (previous-buffer): Move to window.el.
13141
13142 * bindings.el (unbury-buffer): Move to window.el.
13143
13144 * window.el (delete-other-windows-vertically): Move after
13145 definition of delete-other-windows.
13146 (other-window, delete-windows-on, replace-buffer-in-windows):
13147 Move here from window.c.
13148 (record-window-buffer, unrecord-window-buffer)
13149 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13150 (switch-to-next-buffer): New functions.
13151 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13152 from simple.el. Call switch-to-next-buffer.
13153 (previous-buffer): Move here from simple.el.
13154 Call switch-to-prev-buffer.
13155 (bury-buffer): Move here from buffer.c. Switch to previous
13156 buffer when window cannot be deleted.
13157 (unbury-buffer): Move here from bindings.el.
13158 (ctl-x-map): Move binding for other-window from window.c to
13159 here.
13160 (read-buffer-to-switch, switch-to-buffer-other-window)
13161 (switch-to-buffer-other-frame): Move here from files.el.
13162 (normalize-buffer-to-switch-to): New functions.
13163 (switch-to-buffer): Move here from buffer.c.
13164 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13165
13166 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13167
13168 * window.el (window-min-height, window-min-width): Move here
13169 from window.c. Add defcustoms and rewrite doc-strings.
13170 (resize-mini-window, resize-window): New functions.
13171 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13172 Move here from window.c.
13173 (maximize-window, minimize-window): New functions.
13174 (delete-window, delete-other-windows, split-window): Move here
13175 from window.c.
13176 (window-split-min-size): New function.
13177 (split-window-keep-point): Mention split-window-above-each-other
13178 instead of split-window-vertically.
13179 (split-window-above-each-other, split-window-vertically):
13180 Rename split-window-vertically to split-window-above-each-other
13181 and provide defalias for old definition.
13182 (split-window-side-by-side, split-window-horizontally):
13183 Rename split-window-horizontally to split-window-side-by-side
13184 and provide defalias for the old definition.
13185 (ctl-x-map): Move bindings for delete-window,
13186 delete-other-windows and enlarge-window here from window.c.
13187 Replace bindings for split-window-vertically and
13188 split-window-horizontally by bindings for
13189 split-window-above-each-other and split-window-side-by-side.
13190
13191 * cus-start.el (all): Remove entries for window-min-height and
13192 window-min-width. Add entries for window-splits and
13193 window-nest.
13194
13195 2011-06-09 Glenn Morris <rgm@gnu.org>
13196
13197 * calendar/appt.el (appt-mode-line): New function.
13198 (appt-check, appt-disp-window): Use it.
13199
13200 * files.el (hack-one-local-variable-eval-safep):
13201 Allow minor-modes with explicit +/-1 arguments.
13202
13203 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13204
13205 * term/xterm.el (xterm): Add defgroup.
13206 (xterm-extra-capabilities): Add defcustom to supply known xterm
13207 capabilities, skip querying them, or query them (default).
13208 (terminal-init-xterm): Use it.
13209 (terminal-init-xterm-modify-other-keys): New function to set up
13210 modifyOtherKeys support to simplify `terminal-init-xterm'.
13211
13212 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13213
13214 * window.el (resize-window-reset, resize-window-reset-1)
13215 (resize-subwindows-skip-p, resize-subwindows-normal)
13216 (resize-subwindows, resize-other-windows, resize-this-window)
13217 (resize-root-window, resize-root-window-vertically)
13218 (window-deletable-p, window-or-subwindow-p)
13219 (frame-root-window-p): New functions.
13220
13221 2011-06-09 Glenn Morris <rgm@gnu.org>
13222
13223 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13224 (ange-ftp-get-files): Use it.
13225
13226 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13227
13228 * mail/sendmail.el (mail-recover-1, mail-recover):
13229 * files.el (recover-file, recover-session):
13230 Handle dired-listing-switches not being just a single short option.
13231
13232 2011-06-09 Glenn Morris <rgm@gnu.org>
13233
13234 * calendar/appt.el (appt-display-message, appt-disp-window):
13235 Handle lists of appointments.
13236
13237 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13238
13239 * window.el (one-window-p): Move down in code.
13240 Rewrite doc-string.
13241 (window-current-scroll-bars): Rewrite doc-string.
13242 Normalize live window argument.
13243 (walk-windows, get-window-with-predicate, count-windows):
13244 Rewrite doc-string. Use window-list-1.
13245 (window-in-direction-2, window-in-direction, get-mru-window):
13246 New functions.
13247
13248 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13249
13250 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13251 Doc fix (Bug#8713).
13252
13253 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13254
13255 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13256
13257 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13258
13259 * loadhist.el (unload-feature-special-hooks):
13260 Add `comint-output-filter-functions'.
13261
13262 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13263
13264 * calendar/appt.el (appt-check): Move some initializations into the let.
13265
13266 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13267
13268 * window.el (window-height): Defalias to window-total-height.
13269 (window-width): Defalias to window-body-width.
13270
13271 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13272
13273 * image-mode.el (image-toggle-animation): New command.
13274 (image-mode-map): Bind it to RET.
13275 (image-mode): Update message.
13276 (image-toggle-display-image): Avoid a spurious cache flush.
13277 (image-transform-rotation): Doc fix.
13278 (image-transform-properties): Return quickly in the normal case.
13279 (image-animate-loop): Rename from image-animate-max-time.
13280
13281 * image.el (image-animate-max-time): Move to image-mode.el.
13282 (create-animated-image): Remove unnecessary function.
13283 (image-animate): Rename from image-animate-start. New arg.
13284 (image-animate-stop): Remove; just use image-animate-timer.
13285 (image-animate-timer): Use car-safe.
13286 (image-animate-timeout): Rename argument.
13287
13288 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13289
13290 * window.el (get-lru-window, get-largest-window): Move here from
13291 window.c. Rename first argument to ALL-FRAMES.
13292 Rephrase doc-strings.
13293 (get-buffer-window-list): Rewrite using window-list-1.
13294 Rephrase doc-string.
13295 (window-safe-min-height, window-safe-min-width): New constants.
13296 (window-size-ignore, window-min-size, window-min-size-1)
13297 (window-sizable, window-sizable-p, window-size-fixed-1)
13298 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13299 (window-max-delta-1, window-max-delta, window-resizable)
13300 (window-resizable-p, window-total-height, window-total-width)
13301 (window-body-width): New functions.
13302 (window-full-height-p, window-full-width-p): Rewrite using
13303 window-total-size.
13304 (window-body-height): Rewrite using window-body-size.
13305
13306 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13307
13308 * window.el (window-right, window-left, window-child)
13309 (window-child-count, window-last-child, window-any-p)
13310 (normalize-live-buffer, normalize-live-frame)
13311 (normalize-any-window, normalize-live-window)
13312 (window-iso-combination-p, window-iso-combined-p)
13313 (window-iso-combinations)
13314 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13315 (windows-with-parameter, window-with-parameter)
13316 (window-atom-root, make-window-atom, window-atom-check-1)
13317 (window-atom-check, window-side-check, window-check):
13318 New functions.
13319 (ignore-window-parameters, window-sides, window-sides-vertical)
13320 (window-sides-slots): New variables.
13321 (window-size-fixed): Move down in code. Minor doc-string fix.
13322
13323 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13324
13325 * comint.el (comint-dynamic-complete-as-filename)
13326 (comint-dynamic-complete-filename): Correctly call
13327 completion-in-region.
13328
13329 2011-06-05 Deniz Dogan <deniz@dogan.se>
13330
13331 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13332 in last change.
13333
13334 2011-06-05 Deniz Dogan <deniz@dogan.se>
13335
13336 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13337 (rcirc): Use it to prompt for encryption.
13338
13339 2011-06-05 Roland Winkler <winkler@gnu.org>
13340
13341 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13342 (bibtex-search-entries): New command bound to C-c C-a.
13343 (bibtex-display-entries): New function.
13344
13345 2011-06-05 Roland Winkler <winkler@gnu.org>
13346
13347 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13348 (bibtex-insert-kill): After yanking insert newline if necessary.
13349 (bibtex-initialize): Call bibtex-string-files-init only once.
13350 (bibtex-mode): Do not call easy-menu-add.
13351 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13352 (bibtex-yank): Set arg properly if nil.
13353
13354 2011-06-05 Roland Winkler <winkler@gnu.org>
13355
13356 * textmodes/bibtex.el (bibtex-search-entry-globally):
13357 New variable.
13358 (bibtex-search-entry): Use it.
13359
13360 2011-06-05 Roland Winkler <winkler@gnu.org>
13361
13362 * textmodes/bibtex.el (bibtex-entry-format): New option
13363 sort-fields.
13364 (bibtex-format-entry, bibtex-reformat): Honor this option.
13365 (bibtex-parse-entry): Return fields in proper order.
13366
13367 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13368
13369 * doc-view.el (doc-view-remove-if): Move computation of result out
13370 of `dolist' to silence misleading lexical-binding warning.
13371
13372 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13373
13374 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13375 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13376
13377 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13378
13379 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13380 "SunOS 5.10".
13381
13382 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13383
13384 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13385 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13386 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13387 (tramp-parse-putty):
13388 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13389 (tramp-completion-function-alist-ssh)
13390 (tramp-completion-function-alist-telnet)
13391 (tramp-completion-function-alist-su)
13392 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13393 cookie.
13394
13395 * net/tramp-ftp.el:
13396 * net/tramp-sh.el:
13397 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13398 load "tramp.el" `tramp-set-completion-function'.
13399
13400 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13401
13402 * shell.el: Require and use pcomplete.
13403 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13404 (shell-completion-vars): Set pcomplete-default-completion-function.
13405
13406 2011-06-04 Deniz Dogan <deniz@dogan.se>
13407
13408 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13409 `memq' (Bug#8799).
13410
13411 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13412
13413 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13414
13415 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13416
13417 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13418 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13419 * vc/log-view.el (log-view-beginning-of-defun):
13420 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13421 (smerge-refine-forward, smerge-refine-chopup-region):
13422 Silence warning for unused `dotimes' counter variables.
13423
13424 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13425
13426 * net/tramp.el (tramp-with-progress-reporter): Rename from
13427 with-progress-reporter. Use `declare'.
13428 * net/tramp-smb.el:
13429 * net/tramp-sh.el:
13430 * net/tramp-gvfs.el: Update all uses.
13431
13432 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13433
13434 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13435 buffer isn't killed before making it current.
13436
13437 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13438
13439 Silence various byte-compiler warnings.
13440 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13441 `access-type' and new obsolescence format.
13442 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13443 new format.
13444 (byte-compile-check-variable): New `access-type' argument.
13445 Only warn if the access-type is obsolete.
13446 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13447 (byte-compile-variable-set): Adjust callers.
13448 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13449 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13450 setting it as obsolete.
13451 * simple.el (minibuffer-completing-symbol):
13452 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13453 access as obsolete.
13454 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13455 obsolete yet.
13456 * international/quail.el (quail-mouse-choose-completion): Remove unused
13457 code referring to obsolete var.
13458 (quail-choose-completion-string): Remove.
13459 * server.el (server-clients-with, server-kill-buffer-query-function)
13460 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13461 * proced.el (proced-send-signal):
13462 * emacs-lisp/lisp.el (lisp-complete-symbol):
13463 Replace completion-annotate-function with completion-extra-properties.
13464
13465 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13466
13467 * simple.el (goto-line): Use read-number.
13468 (overriding-map-is-bound): Remove.
13469 (saved-overriding-map): Change default.
13470 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13471 Take the map as argument.
13472 (universal-argument, negative-argument, digit-argument): Use it.
13473 (restore-overriding-map): Adjust.
13474 (do-auto-fill): Use fill-forward-paragraph.
13475 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13476
13477 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13478 (minibuffer-inactive-mode): New major mode.
13479 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13480 the *Messages* buffer" hack.
13481 (mouse-popup-menubar): Don't burp if the event is a normal key.
13482
13483 Miscellaneous tweaks.
13484 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13485 lexical scoping as in subr.el's dolist and dotimes.
13486 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13487 Silence compiler warning.
13488 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13489 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13490 * international/ccl.el (ccl-compile): Trivial simplification.
13491 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13492 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13493 `printflag' argument.
13494 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13495 Purecopy the whole obsolescence data.
13496
13497 2011-06-01 Leo Liu <sdl.web@gmail.com>
13498
13499 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13500 improve doc-string as suggested by Marco Pessotto
13501 <melmothx@gmail.com>.
13502 (rcirc-print): Fix last change.
13503
13504 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * minibuffer.el (complete-with-action): Return nil for the metadata and
13507 boundaries of non-functional tables.
13508 (completion-table-dynamic): Return nil for the metadata.
13509 (completion-table-with-terminator): Add default case, using
13510 complete-with-action.
13511 (completion--metadata): New function.
13512 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13513 to try and avoid pathological performance problems.
13514 (completion--embedded-envvar-table): Return `category' metadata.
13515
13516 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13517
13518 * subr.el (process-alive-p): New tiny convenience function.
13519
13520 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13521
13522 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13523 content but also its previous major mode.
13524
13525 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
13526
13527 * emacs-lisp/debug.el (debug): Restore the previous content of the
13528 *Backtrace* buffer when we exit with C-M-c.
13529
13530 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13531
13532 * minibuffer.el: Add metadata method to completion tables.
13533 (completion-category-overrides): New defcustom.
13534 (completion-metadata, completion--field-metadata)
13535 (completion-metadata-get, completion--styles)
13536 (completion--cycle-threshold): New functions.
13537 (completion-try-completion, completion-all-completions):
13538 Add `metadata' argument to choose completion-styles.
13539 (completion--do-completion): Use metadata to choose cycling.
13540 (completion-all-sorted-completions): Use metadata for sorting.
13541 Remove :completion-cycle-penalty which is not needed any more.
13542 (completion--try-word-completion): Add `metadata' argument.
13543 (minibuffer-completion-help): Check metadata for annotation function
13544 and sorting.
13545 (completion-file-name-table): Return `category' metadata.
13546 (minibuffer-completing-file-name): Make obsolete.
13547 * simple.el (minibuffer-completing-symbol): Make obsolete.
13548 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13549 completion-try-completion.
13550
13551 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13552
13553 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13554
13555 2011-05-30 Leo Liu <sdl.web@gmail.com>
13556
13557 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13558 (rcirc-print): Decode all incoming messages (bug#8744).
13559 (rcirc-decode-coding-system): Allow value nil for automatic coding
13560 system detection.
13561
13562 2011-06-01 Glenn Morris <rgm@gnu.org>
13563
13564 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13565
13566 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13567
13568 * image.el (image-animate-max-time): Allow nil and t values.
13569 Default to nil.
13570 (create-animated-image): Doc fix.
13571 (image-animate-start): Remove second arg; just use
13572 image-animate-max-time.
13573 (image-animate-timeout): Doc fix. Args changed.
13574
13575 * image-mode.el (image-toggle-display-image): Ensure that the
13576 image spec passed to the animate timer is the same object as in
13577 the buffer's display property (Bug#6981).
13578 (image-transform-properties): Doc fix.
13579
13580 * image.el (image-animate-max-time): Default to nil.
13581
13582 2011-05-29 Martin Rudalics <rudalics@gmx.at>
13583
13584 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13585 entire buffer list (Bug#8184).
13586
13587 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13588
13589 * image.el (imagemagick-types-inhibit)
13590 (imagemagick-register-types): Doc fix.
13591
13592 2011-05-29 Deniz Dogan <deniz@dogan.se>
13593
13594 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13595 default.
13596
13597 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13598
13599 * select.el: Don't perform clipboard-manager saving in hooks;
13600 leave the hooks empty.
13601
13602 2011-05-28 Leo Liu <sdl.web@gmail.com>
13603
13604 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13605 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13606 (occur-edit-mode): New major mode (Bug#8463).
13607 (occur-after-change-function): New function.
13608 (occur-engine): Give Occur tags a read-only property.
13609
13610 2011-05-28 Kevin Ryde <user42@zip.com.au>
13611
13612 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13613
13614 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13615
13616 * bindings.el (help-echo): Make the initial non-indicator dash
13617 empty on graphical terminals (Bug#7295).
13618
13619 * files.el (auto-mode-alist): Move config rule after the
13620 in-stripping one (Bug#8547).
13621
13622 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13623
13624 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13625 setting (Bug#8740).
13626
13627 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13628
13629 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13630 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13631 (Bug#8539).
13632
13633 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13634
13635 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13636
13637 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13638
13639 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13640 (hs-hide-block-at-point, hs-find-block-beginning)
13641 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13642 (Bug#8279).
13643
13644 2011-05-28 Glenn Morris <rgm@gnu.org>
13645
13646 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13647
13648 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13649
13650 * help-fns.el (describe-function-1): If the function is a derived
13651 major mode, print the parent mode.
13652
13653 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13654 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13655
13656 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * minibuffer.el (completion--capf-wrapper): Check applicability before
13659 returning non-nil for non-exclusive completion data.
13660 * progmodes/etags.el (tags-completion-at-point-function):
13661 * info-look.el (info-lookup-completions-at-point): Mark as
13662 non-exclusive.
13663 (info-complete): Adjust accordingly.
13664
13665 * info-look.el: Convert to lexical-binding and completion-at-point.
13666 (info-lookup-completions-at-point): New function.
13667 (info-complete): Use it and completion-in-region.
13668
13669 2011-05-28 Drew Adams <drew.adams@oracle.com>
13670
13671 * isearch.el: Let M-e start with point at the first mismatched char.
13672 (isearch-fail-pos): New function.
13673 (isearch-edit-string): Use it.
13674
13675 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13676
13677 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13678
13679 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13680
13681 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13682 traversal functions for avl-trees.
13683 (avl-tree--stack): New struct.
13684 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13685 (avl-tree-enter): Add optional `updatefun' arg.
13686 (avl-tree--do-enter): Add optional `updatefun' arg.
13687 Change return value.
13688 (avl-tree-delete): Add optional `test' and `nilflag' args.
13689 (avl-tree--do-delete): Add `test' and `nilflag' args.
13690 Change return value.
13691 (avl-tree-member): Add optional `nilflag'
13692 (avl-tree-member-p): New function.
13693 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13694 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13695 (avl-tree-stack-empty-p): New functions.
13696
13697 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13698 avl-tree--del-balance1 and make it work both ways.
13699 (avl-tree--del-balance2): Remove.
13700 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13701 make it work both ways.
13702 (avl-tree--enter-balance2): Remove.
13703 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13704 New macros.
13705 (avl-tree--mapc, avl-tree-map): Add direction argument.
13706
13707 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13708
13709 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13710
13711 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13712
13713 * select.el: Support clipboard managers with built-in function
13714 x-clipboard-manager-save, via delete-frame-functions and
13715 kill-emacs-hook.
13716 (xselect-convert-to-targets): Add MULTIPLE target to list.
13717 (xselect-convert-to-save-targets): New function.
13718
13719 2011-05-27 Kenichi Handa <handa@m17n.org>
13720
13721 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13722 let-binding rfc2047-encode-encoded-words to nil.
13723
13724 2011-05-27 Glenn Morris <rgm@gnu.org>
13725
13726 * mail/emacsbug.el: Don't require url-util.
13727
13728 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13729
13730 * files.el (set-auto-mode):
13731 Also respect mode: entries at the end of the file. (Bug#8586)
13732
13733 2011-05-26 Glenn Morris <rgm@gnu.org>
13734
13735 * files.el (hack-local-variables-prop-line, hack-local-variables):
13736 Downcase mode names, as seems to be traditional.
13737 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13738
13739 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13740 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13741
13742 2011-05-25 Julien Danjou <julien@danjou.info>
13743
13744 * textmodes/rst.el (rst-define-level-faces): Do not define face
13745 symbol if it is already defined.
13746
13747 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13748
13749 * play/5x5.el (5x5-new-game, 5x5-randomize):
13750 Reset 5x5-solver-output to nil when a new grid is cast.
13751 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13752 these debugging traces, as defmacro breaks the compiled code.
13753
13754 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13755
13756 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13757
13758 2011-05-24 Leo Liu <sdl.web@gmail.com>
13759
13760 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13761 (vc-bzr-sha1): Adapt.
13762
13763 * sha1.el: Remove. Function `sha1' is now builtin.
13764
13765 * bindings.el: Provide sha1 feature.
13766
13767 2011-05-24 Kenichi Handa <handa@m17n.org>
13768
13769 * mail/sendmail.el: Require `rfc2047'.
13770 (mail-insert-from-field): Do not perform RFC2047 encoding.
13771 (mail-encode-header): New function.
13772 (sendmail-send-it): Set buffer-file-coding-system of the work
13773 buffer to the return value of select-message-coding-system.
13774 Call mail-encode-header.
13775
13776 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13777
13778 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13779
13780 * mail/supercite.el (sc-default-cite-frame):
13781 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13782
13783 2011-05-24 Glenn Morris <rgm@gnu.org>
13784
13785 * progmodes/python.el (brm-menu): Declare.
13786
13787 * emulation/viper.el (viper-set-hooks): Declare.
13788
13789 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13790 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13791 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13792 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13793 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13794 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13795
13796 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13797
13798 Add an :exit-function for completion-at-point.
13799
13800 * minibuffer.el (completion--done): New fun.
13801 (completion--do-completion): Use it. New arg `expect-exact'.
13802 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13803 since completion--do-completion does it for us now.
13804 (minibuffer-force-complete): Use completion--done and
13805 completion--replace. Handle sole-completion case with more care.
13806 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13807 (completion-extra-properties): New var.
13808 (completion-annotate-function): Make obsolete.
13809 (minibuffer-completion-help): Adjust accordingly.
13810 Use completion-list-insert-choice-function.
13811 (completion-at-point, completion-help-at-point):
13812 Bind completion-extra-properties.
13813 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13814 * simple.el (completion-list-insert-choice-function): New var.
13815 (completion-setup-function): Preserve it.
13816 (choose-completion): Pay attention to it, shuffle the code a bit.
13817 (choose-completion-string): New arg `insert-function'.
13818
13819 * textmodes/bibtex.el: Convert to lexical binding.
13820 (bibtex-mode-map): Use completion-at-point.
13821 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13822 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13823 (bibtex-complete): Define as obsolete alias.
13824 (bibtex-complete-internal): Remove.
13825 (bibtex-format-entry): Remove unused sub-group in regexp.
13826 * shell.el (shell--command-completion-data)
13827 (shell-environment-variable-completion):
13828 * pcomplete.el (pcomplete-completions-at-point):
13829 * comint.el (comint--complete-file-name-data): Use :exit-function
13830 instead of completion-table-with-terminator so it also works for
13831 choose-completion.
13832
13833 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13834
13835 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13836
13837 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13838 (bug#8710).
13839
13840 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13841
13842 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13843
13844 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13845 customization variable and implement: If non-nil, auto-fill will
13846 be inhibited while on topic's header line.
13847
13848 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13849
13850 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13851 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13852 always have a solution in grid size = 5 cases.
13853 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13854 (5x5-solver-output, 5x5-log-buffer): New vars.
13855 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13856 Make these variables buffer local to achieve 5x5 multi-session-ness.
13857 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13858 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13859 (5x5-solve-suggest): New funs.
13860 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13861 randomize a grid so that we ensure that there is always a solution.
13862 (5x5-make-random-grid): Allow other movement than flipping.
13863
13864 2011-05-23 Kevin Ryde <user42@zip.com.au>
13865
13866 * emacs-lisp/advice.el (ad-read-advised-function):
13867 Use `function-called-at-point' as the default, if it has
13868 advice and passes PREDICATE.
13869
13870 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13871
13872 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13873 byte-compile-lambda if it's actually a lambda.
13874
13875 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13876 Fix function quoting. Use backquote better.
13877
13878 2011-05-22 Yuanle Song <sylecn@gmail.com>
13879
13880 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13881 matching (Bug#8516).
13882
13883 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13884
13885 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13886 different face (Bug#8178).
13887
13888 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13889
13890 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13891 defface (Bug#8144).
13892
13893 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13896 funcall as well (bug#8712). Warn when performing those conversions.
13897 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13898
13899 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13900
13901 2011-05-22 Glenn Morris <rgm@gnu.org>
13902
13903 * files.el (hack-local-variables-prop-line): Small simplifications.
13904 (hack-local-variables, hack-local-variables-prop-line):
13905 If MODE-ONLY, return the mode, rather than just `t'.
13906
13907 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13908
13909 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13910
13911 2011-05-21 Glenn Morris <rgm@gnu.org>
13912
13913 * files.el (hack-local-variables-prop-line, hack-local-variables):
13914 If only interested in the mode, don't bother doing the other stuff.
13915
13916 * image-mode.el (image-after-revert-hook):
13917 Redraw all frames on which the image is visible. (Bug#8567)
13918
13919 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13920
13921 * wid-edit.el (widget-checklist-match-inline):
13922 Fix 2011-04-19 change. (Bug#8649)
13923
13924 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13925
13926 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13927 Also allow singlespace after single-letter capitals followed by a dot.
13928
13929 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13930 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13931
13932 2011-05-20 Nix <nix@esperi.org.uk>
13933
13934 * files.el (basic-save-buffer-2):
13935 Fix handling of break-hardlink-on-save with non-existent files.
13936
13937 2011-05-19 Deniz Dogan <deniz@dogan.se>
13938
13939 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13940 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13941
13942 2011-05-19 Glenn Morris <rgm@gnu.org>
13943
13944 * progmodes/f90.el (f90-type-def-re):
13945 Handle "type, bind(c)". (Bug#8691)
13946
13947 * emacs-lisp/autoload.el (batch-update-autoloads):
13948 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13949
13950 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13951
13952 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13953 property for the correct connection in case of multihops.
13954
13955 2011-05-18 Glenn Morris <rgm@gnu.org>
13956
13957 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13958 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13959
13960 Rationalize calendar handling of day and month abbrev-arrays.
13961 * calendar/calendar.el (calendar-customized-p): New function.
13962 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13963 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13964 Add :set function.
13965 (calendar-abbrev-length, calendar-day-abbrev-array)
13966 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13967 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13968 Elements may no longer be nil.
13969 (calendar-day-name, calendar-month-name):
13970 Update for changed nature of abbrev arrays.
13971 * calendar/diary-lib.el (diary-name-pattern):
13972 Update for changed nature of abbrev arrays.
13973 (diary-mark-entries-1): Update calendar-make-alist calls.
13974 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13975 * calendar/cal-html.el (cal-html-day-abbrev-array):
13976 Simply inherit from calendar-day-abbrev-array.
13977
13978 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13979
13980 * progmodes/grep.el (grep-mode): Disable default
13981 compilation-directory-matcher setting (bug#8684).
13982
13983 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13984
13985 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13986 instead of "head" and "tail". There were problems with SunOS 5.9,
13987 and it performs better.
13988
13989 2011-05-17 Glenn Morris <rgm@gnu.org>
13990
13991 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13992
13993 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13994 Replace obsolete function.
13995
13996 * shell.el (pcomplete-parse-arguments-function): Declare.
13997
13998 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13999 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14000 (appt-check): Doc fixes.
14001 (appt-disp-window-function, appt-delete-window-function):
14002 Remove needless special case in custom :type.
14003 (appt-display-count): Default to 0, not nil.
14004 (appt-check): Reset appt-display-count to 0, not nil.
14005
14006 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14007
14008 * progmodes/python.el (python-font-lock-keywords):
14009 Add the Python 3.X keyword "nonlocal" (bug#8639).
14010
14011 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14012
14013 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14014
14015 2011-05-16 Kevin Ryde <user42@zip.com.au>
14016
14017 * info-look.el (makefile-automake-mode): New setups, looking in
14018 automake manual, then makefile-mode.
14019 (makefile-mode): Remove automake manual, have it just in
14020 makefile-automake-mode since there's various things different or
14021 not relevant to plain make.
14022 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14023 believe a hypothetical automake-mode would go to makefile-mode,
14024 not the other way around.
14025
14026 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14027
14028 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14029 hunk-end tags (Bug#8672).
14030
14031 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14032 vc-annotate-show-diff-revision-at-line (Bug#8671).
14033
14034 2011-05-14 Glenn Morris <rgm@gnu.org>
14035
14036 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14037 in the middle of an existing one with multiple authors. (Bug#8645)
14038 (change-log-font-lock-keywords): Also handle multiple author lines
14039 with leading tabs. (Bug#8644)
14040
14041 * calendar/appt.el (appt-check): Rename some local variables.
14042 Some simplification/reordering.
14043
14044 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14045 (feedmail-sendmail-f-doesnt-sell-me-out)
14046 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14047 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14048 (feedmail-queue-runner-message-sender): Set :version.
14049 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14050 (bbdb-dwim-net-address, vm-mail): Declare.
14051 (feedmail-binmail-gnulinuxish-template):
14052 Rename from feedmail-binmail-linuxish-template.
14053 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14054 Use insert-buffer-substring.
14055
14056 2011-05-14 Bill Carpenter <bill@carpenter.org>
14057
14058 * mail/feedmail.el (feedmail-patch-level): Increase.
14059 (feedmail-debug): New custom group.
14060 (feedmail-confirm-outgoing-timeout)
14061 (feedmail-sendmail-f-doesnt-sell-me-out)
14062 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14063 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14064 (feedmail-sender-line, feedmail-from-line)
14065 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14066 (feedmail-spray-this-address)
14067 (feedmail-spray-address-fiddle-plex-list)
14068 (feedmail-queue-use-send-time-for-date)
14069 (feedmail-queue-use-send-time-for-message-id)
14070 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14071 (feedmail-buffer-eating-function):
14072 Doc fixes.
14073 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14074 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14075 (feedmail-message-action-scroll-down): New functions.
14076 (feedmail-queue-directory, feedmail-queue-draft-directory):
14077 Use expand-file-name.
14078 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14079 Remove C-v help entry.
14080 (feedmail-queue-buffer-file-name): New variable.
14081 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14082 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14083 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14084 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14085 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14086 (feedmail-message-action-toggle-spray)
14087 (feedmail-run-the-queue-no-prompts)
14088 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14089 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14090 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14091 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14092 (feedmail-envelope-deducer, feedmail-fiddle-from)
14093 (feedmail-fiddle-sender, feedmail-default-date-generator)
14094 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14095 (feedmail-fiddle-spray-address)
14096 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14097 (feedmail-fiddle-list-of-fiddle-plexes)
14098 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14099 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14100 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14101 Change default. Doc fix.
14102 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14103 (feedmail-binmail-linuxish-template): New constant.
14104 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14105 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14106 (feedmail-send-it): Add debug call.
14107 Use feedmail-queue-buffer-file-name, and
14108 feedmail-send-it-immediately-wrapper.
14109 (feedmail-message-action-send): Add debug call.
14110 Use feedmail-send-it-immediately-wrapper.
14111 (feedmail-queue-express-to-queue): Add debug call.
14112 Run feedmail-queue-express-hook.
14113 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14114 (feedmail-message-action-help-blat):
14115 Rename from feedmail-queue-send-edit-prompt-help-first.
14116 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14117 Check line-endings. Handle errors better.
14118 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14119 Doc fix. Add debug call.
14120 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14121 Use feedmail-queue-send-edit-prompt-inner.
14122 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14123 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14124 from feedmail-queue-send-edit-prompt.
14125 (feedmail-queue-send-edit-prompt-help)
14126 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14127 (feedmail-tidy-up-slug): Add debug call.
14128 Respect feedmail-queue-slug-suspect-regexp.
14129 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14130 (feedmail-dump-message-to-queue): Add debug call.
14131 Expand queue-directory.
14132 (feedmail-dump-message-to-queue): Change message slightly.
14133 Use feedmail-say-chatter.
14134 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14135 (feedmail-send-it-immediately-wrapper): New function.
14136 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14137 Insert empty string rather than newline. Handle full-frame case.
14138 Use catch/throw. Use feedmail-say-chatter.
14139 (feedmail-fiddle-from): Try mail-host-address.
14140 (feedmail-default-message-id-generator): Doc fix.
14141 Bind system-time-locale. Handle missing end.
14142 (feedmail-fiddle-x-mailer): Add debug call.
14143 Handle feedmail-x-mailer-line being nil.
14144 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14145 Add debug call. Use buffer-substring-no-properties.
14146 (feedmail-say-debug, feedmail-say-chatter): New functions.
14147 (feedmail-find-eoh): Give an explicit error.
14148
14149 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14150
14151 * net/newst-treeview.el (newsticker-treeview-face): Change default
14152 family from helvetica to sans.
14153 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14154 etc/images/newsticker.
14155
14156 * net/newst-reader.el (newsticker-feed-face): Change default
14157 family from helvetica to sans.
14158
14159 * net/newst-plainview.el (newsticker-new-item-face)
14160 (newsticker-old-item-face, newsticker-immortal-item-face)
14161 (newsticker-obsolete-item-face, newsticker-date-face)
14162 (newsticker-statistics-face): Change default family from
14163 helvetica to sans.
14164 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14165 etc/images/newsticker.
14166
14167 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14168 (newsticker--process-auto-mark-filter-match): Tell user about
14169 auto-marking.
14170
14171 2011-05-13 Didier Verna <didier@xemacs.org>
14172
14173 Common Lisp indentation improvements on defmethod and lambda-lists.
14174 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14175 TODO entries.
14176 (lisp-lambda-list-keyword-parameter-indentation)
14177 (lisp-lambda-list-keyword-parameter-alignment)
14178 (lisp-lambda-list-keyword-alignment): New customizable user options.
14179 (lisp-indent-defun-method): Improve docstring.
14180 (extended-loop-p): Fix comment.
14181 (lisp-indent-lambda-list-keywords-regexp): New variable.
14182 (lisp-indent-lambda-list): New function.
14183 (lisp-indent-259): Use it.
14184 (lisp-indent-defmethod): Support for more than one
14185 method qualifier and properly indent methods lambda-lists.
14186 (defgeneric): Provide a missing common-lisp-indent-function property.
14187
14188 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14189
14190 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14191 bounds for the empty string (bug#8667).
14192
14193 2011-05-13 Glenn Morris <rgm@gnu.org>
14194
14195 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14196
14197 * mail/sendmail.el (sendmail-program): Try executable-find first.
14198 (sendmail-send-it): `sendmail-program' cannot be unbound.
14199
14200 * calendar/appt.el (appt-make-list): Simplify.
14201 (appt-time-msg-list): Doc fix.
14202 (appt-check): Change mode-line message at the time of the appointment.
14203
14204 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14205
14206 * progmodes/ld-script.el (ld-script-keywords)
14207 (ld-script-builtins): Update keywords list.
14208
14209 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14210
14211 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14212
14213 * shell.el (shell-completion-vars): New function.
14214 (shell-mode):
14215 * simple.el (read-shell-command): Use it.
14216 (blink-matching-open): No need for " [...]" in minibuffer-message.
14217
14218 2011-05-12 Glenn Morris <rgm@gnu.org>
14219
14220 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14221 (appt-check): Simplify.
14222
14223 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14224
14225 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14226 literal "/dev/null".
14227
14228 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14229
14230 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14231 Fix typo.
14232
14233 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14234
14235 * progmodes/which-func.el (which-function):
14236 Use add-log-current-defun instead of add-log-current-defun-function,
14237 which might not be defined (Bug#8260).
14238
14239 2011-05-12 Glenn Morris <rgm@gnu.org>
14240
14241 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14242 Let byte-compile-initial-macro-environment always take precedence.
14243
14244 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14245
14246 * net/rcirc.el: Add support for SSL/TLS connections.
14247 (rcirc-server-alist): New field `encryption'.
14248 (rcirc): Check `encryption' settings.
14249 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14250 Merge make-local-variable into `set'.
14251 (rcirc--connection-open-p): New function.
14252 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14253 the process is not a network process (e.g. running gnutls-cli).
14254 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14255 Make rcirc-(en|de)code-coding-system local here.
14256 (rcirc-mode): Merge make-local-variable into `set'.
14257 (rcirc-parent-buffer): Make permanent buffer-local.
14258 (rcirc-multiline-minor-mode): Don't do it here.
14259 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14260 there's no server buffer.
14261
14262 2011-05-11 Glenn Morris <rgm@gnu.org>
14263
14264 * newcomment.el (comment-kill): Prefix "unused" local.
14265
14266 * term/w32console.el (get-screen-color): Declare.
14267
14268 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14269 Handle symbol elements of byte-compile-initial-macro-environment.
14270
14271 2011-05-10 Leo Liu <sdl.web@gmail.com>
14272
14273 * bookmark.el (bookmark-bmenu-mode-map):
14274 Bind bookmark-bmenu-search to `/'.
14275
14276 * mail/footnote.el: Convert to utf-8 encoding.
14277 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14278 (Footnote-unicode): New function.
14279 (footnote-style-alist): Add unicode style to the list.
14280 (footnote-style): Doc fix.
14281
14282 2011-05-10 Jim Meyering <meyering@redhat.com>
14283
14284 Fix doubled-word typos.
14285 * international/quail.el (quail-insert-kbd-layout): and and -> and
14286 * kermit.el: and and -> and
14287 * net/ldap.el (ldap-search-internal): to to -> to
14288 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14289 * progmodes/js.el (js-mode): and and -> and
14290 * textmodes/artist.el (artist-move-to-xy): at at -> at
14291 (artist-draw-region-trim-line-endings): if if -> if
14292 And Safetyc -> Safety.
14293 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14294
14295 2011-05-10 Glenn Morris <rgm@gnu.org>
14296 Stefan Monnier <monnier@iro.umontreal.ca>
14297
14298 * files.el (hack-one-local-variable-eval-safep):
14299 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14300
14301 2011-05-10 Glenn Morris <rgm@gnu.org>
14302
14303 * calendar/diary-lib.el (diary-list-entries-hook)
14304 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14305 (diary-nongregorian-marking-hook, diary-list-entries)
14306 (diary-include-other-diary-files, diary-mark-entries)
14307 (diary-mark-included-diary-files): Doc fixes.
14308
14309 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14310
14311 * misc.el: Require tabulated-list.el during compilation.
14312
14313 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14314
14315 * progmodes/compile.el (compilation-start):
14316 Run compilation-filter-hook for the async case too.
14317 (compilation-filter-hook): Doc fix.
14318
14319 2011-05-09 Deniz Dogan <deniz@dogan.se>
14320
14321 * wdired.el: Remove outdated installation comment. Fix usage
14322 comment.
14323
14324 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14325
14326 * misc.el: Implement new command `list-dynamic-libraries'.
14327 (list-dynamic-libraries--loaded-only-p): New variable.
14328 (list-dynamic-libraries--refresh): New function.
14329 (list-dynamic-libraries): New command.
14330
14331 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14332
14333 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14334 Fix the ant regexp to handle end-line and end-column info from jikes.
14335 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14336 higher priority to avoid clobbering by gnu.
14337
14338 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14339
14340 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14341 if the face has existing theme settings (Bug#8454).
14342
14343 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14344
14345 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14346 Only match variables declared via `my' or `our' (Bug#8261).
14347
14348 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14349 special file names `.' and `..' (Bug#8259).
14350
14351 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14352
14353 * progmodes/grep.el (grep-mode-font-lock-keywords):
14354 Remove buffer-changing entries.
14355 (grep-filter): New function.
14356 (grep-mode): Add it to compilation-filter-hook.
14357
14358 * progmodes/compile.el (compilation-filter-hook)
14359 (compilation-filter-start): New defvars.
14360 (compilation-filter): Call compilation-filter-hook prior to
14361 updating the process mark.
14362
14363 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14364
14365 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14366
14367 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14368
14369 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14370 mailclient-send-it even if window-system is nil. (Bug#8595)
14371
14372 * term/w32console.el (terminal-init-w32console):
14373 Call get-screen-color and use its output to set the frame
14374 background-mode. (Bug#8597)
14375
14376 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14377
14378 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14379 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14380 New functions.
14381 (defgeneric, eieio--defmethod): Use them.
14382 (eieio-defgeneric): Remove.
14383 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14384
14385 2011-05-07 Glenn Morris <rgm@gnu.org>
14386
14387 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14388 Use let rather than let*.
14389 (timeclock-find-discrep): Remove unused local.
14390
14391 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14392
14393 * calendar/appt.el (appt-time-msg-list): Doc fix.
14394
14395 2011-05-06 Noah Friedman <friedman@splode.com>
14396
14397 * apropos.el (apropos-print-doc): Only use
14398 emacs-lisp-docstring-fill-column when it is bound to an integer,
14399 per that variable's documentation.
14400
14401 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14402
14403 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14404 and warnings are not silently discarded (e.g. use -d instead of -P).
14405
14406 2011-05-06 Glenn Morris <rgm@gnu.org>
14407
14408 * calendar/appt.el (appt-message-warning-time): Doc fix.
14409 (appt-warning-time-regexp): New option.
14410 (appt-make-list): Respect appt-message-warning-time.
14411
14412 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14413 New options.
14414 (diary-add-to-list): Strip comments from the displayed string.
14415 (diary-mode): Set comment-start and comment-end.
14416
14417 * vc/diff-mode.el (smerge-refine-subst): Declare.
14418 (diff-refine-hunk): Don't require smerge-mode when compiling.
14419
14420 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14421
14422 * simple.el (list-processes): Return nil as the docstring says.
14423
14424 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14425
14426 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14427 to "".
14428 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14429 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14430 determining of binary transfer. (Bug#7383)
14431
14432 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14433
14434 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14435 Fix port computation bug. (Bug#8618)
14436
14437 2011-05-05 Glenn Morris <rgm@gnu.org>
14438
14439 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14440
14441 * simple.el (shell-dynamic-complete-functions)
14442 (comint-dynamic-complete-functions): Declare.
14443
14444 * net/network-stream.el (gnutls-negotiate):
14445 * simple.el (tabulated-list-print): Fix declarations.
14446
14447 * progmodes/gud.el (syntax-symbol, syntax-point):
14448 Remove unnecessary and incorrect declarations.
14449
14450 * emacs-lisp/check-declare.el (check-declare-scan):
14451 Handle byte-compile-initial-macro-environment in bytecomp.el
14452
14453 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14454
14455 Fix earlier half-done eieio-defmethod change (bug#8338).
14456 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14457 Streamline and change calling convention.
14458 (defmethod): Adjust accordingly and simplify.
14459 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14460 new eieio--defmethod.
14461 (slot-boundp): Minor CSE simplification.
14462
14463 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14464
14465 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14466 (glasses-make-readable): Use glasses-separate-capital-groups.
14467
14468 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14469
14470 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14471 (warning-series): Doc fix.
14472 (display-warning): Don't try to create the buffer if we just found it.
14473
14474 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14475
14476 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14477 (autoload-find-generated-file): New function.
14478 (generate-file-autoloads): Bind generated-autoload-file to
14479 buffer-file-name.
14480 (update-file-autoloads, update-directory-autoloads):
14481 Use autoload-find-generated-file. If called interactively, prompt for
14482 output file (Bug#7989).
14483 (batch-update-autoloads): Doc fix.
14484
14485 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14486
14487 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14488
14489 2011-05-04 Glenn Morris <rgm@gnu.org>
14490
14491 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14492 function, so it follows changes in calendar-date-style.
14493 (diary-fancy-date-matcher): New function.
14494 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14495 (diary-fancy-font-lock-fontify-region-function):
14496 Use diary-fancy-date-pattern as a function.
14497
14498 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14499 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14500
14501 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14502
14503 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14504 instead of positional arguments. Allow :keylist and :crlfiles
14505 arguments.
14506 (open-gnutls-stream): Call it.
14507
14508 * net/network-stream.el (network-stream-open-starttls): Adjust to
14509 call `gnutls-negotiate' with :process and :hostname arguments.
14510
14511 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14512
14513 * minibuffer.el (completion--message): New function.
14514 (completion--do-completion, minibuffer-complete)
14515 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14516 (completion--do-completion): Don't ignore completion-auto-help when in
14517 icomplete-mode.
14518
14519 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14520 internal encoding (e.g. tibetan zero is not whitespace).
14521 (global-whitespace-mode): Prefer save-current-buffer.
14522 (whitespace-trailing-regexp): Remove useless save-match-data.
14523 (whitespace-empty-at-bob-regexp): Minor simplification.
14524
14525 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
14526
14527 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14528
14529 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14530
14531 * textmodes/ispell.el (ispell-add-per-file-word-list):
14532 Use `concat' to create string for insertion.
14533
14534 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14535
14536 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14537 Avoid open-line which runs post-self-insert-hook.
14538 (bibtex-fill-entry): Remove unused `end' var.
14539
14540 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14541
14542 * textmodes/ispell.el (ispell-add-per-file-word-list):
14543 Protect against `nil' value of `comment-start' (Bug#8579).
14544
14545 2011-05-03 Leo Liu <sdl.web@gmail.com>
14546
14547 * isearch.el (isearch-yank-pop): New command.
14548 (isearch-mode-map): Bind it to `M-y'.
14549 (isearch-forward): Mention it.
14550
14551 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14552
14553 * simple.el (minibuffer-complete-shell-command): Remove.
14554 (minibuffer-local-shell-command-map): Use completion-at-point.
14555 (read-shell-command): Setup completion vars here instead.
14556 (read-expression-map): Bind TAB to symbol completion.
14557
14558 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14559 error directly rather via storing it into `results'.
14560
14561 2011-05-02 Leo Liu <sdl.web@gmail.com>
14562
14563 * vc/diff.el: Fix description.
14564
14565 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14566
14567 * server.el (server-eval-at): New function.
14568
14569 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14570
14571 * net/network-stream.el (open-network-stream): Take a :nowait
14572 parameter and pass it on to `make-network-process'.
14573 (network-stream-open-plain): Ditto.
14574
14575 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14576
14577 * faces.el (face-spec-set-match-display): Don't match toolkit
14578 options on terminal frames.
14579
14580 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14581
14582 * progmodes/pascal.el: Use lexical binding.
14583 (pascal-mode-map): Remove author preferences.
14584
14585 * pcomplete.el (pcomplete-std-complete): Don't abuse
14586 completion-at-point.
14587
14588 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14589
14590 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14591 removing code that has been dead since 1991 or so.
14592
14593 * startup.el (command-line): When warning about "_emacs", use a
14594 delayed warning to allow the user to filter it out.
14595
14596 2011-04-28 Deniz Dogan <deniz@dogan.se>
14597
14598 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14599 user has not joined.
14600
14601 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14602
14603 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14604 aren't any completions at point.
14605
14606 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14607
14608 * subr.el (display-delayed-warnings): New function.
14609 (delayed-warnings-hook): New variable.
14610
14611 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14612
14613 * minibuffer.el (completion-at-point, completion-help-at-point):
14614 Don't presume that a given completion-at-point-function will always
14615 use the same calling convention.
14616
14617 * pcomplete.el (pcomplete-completions-at-point):
14618 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14619 pcomplete-seen is non-nil.
14620 (pcomplete-comint-setup): Also recognize the new comint/shell
14621 completion functions.
14622 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14623 pcomplete-seen is non-nil.
14624
14625 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14626
14627 * calendar/icalendar.el (diary-lib): Add require statement.
14628 (icalendar--create-uid): Read out a uid from a text-property on
14629 the first character in the entry. This allows for code to add its
14630 own uid to the entry.
14631 (icalendar--convert-float-to-ical): Add export of
14632 `diary-float'-entries save for those with the optional DAY
14633 argument.
14634
14635 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14636
14637 * subr.el (shell-quote-argument): Use alternate escaping strategy
14638 when we spot a variable reference in a string.
14639
14640 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14641
14642 * cus-start.el (all): Define customization for debug-on-event.
14643
14644 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14645
14646 * subr.el (shell-quote-argument): Escape correctly under Windows.
14647
14648 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14649
14650 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14651
14652 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14653
14654 * net/tramp.el (tramp-process-actions): Add POS argument.
14655 Delete region between POS and (pos).
14656
14657 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14658 Use `nil' position in `tramp-process-actions' call.
14659 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14660
14661 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14662 position in `tramp-process-actions' call.
14663
14664 * net/trampver.el: Update release number.
14665
14666 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14667
14668 * custom.el (defcustom): Obey lexical-binding.
14669
14670 Fix octave-inf completion problems reported by Alexander Klimov.
14671 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14672 Inherit from octave-mode-syntax-table.
14673 (inferior-octave-mode): Set info-lookup-mode.
14674 (inferior-octave-completion-at-point): New function.
14675 (inferior-octave-complete): Use it and completion-in-region.
14676 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14677 comint-filename-completion.
14678 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14679 symbol elements which shouldn't be word elements.
14680 (octave-font-lock-keywords, octave-beginning-of-defun)
14681 (octave-function-header-regexp): Adjust regexps accordingly.
14682 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14683
14684 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14685
14686 * net/gnutls.el (gnutls-errorp): Declare before first use.
14687
14688 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14689
14690 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14691 verify-error, and verify-hostname-error parameters. Check whether
14692 default trustfile exists before going to use it. Add missing
14693 argument to gnutls-message-maybe call. Return value.
14694 Reported by Claudio Bley <claudio.bley@gmail.com>.
14695 (open-gnutls-stream): Add usage example.
14696
14697 * net/network-stream.el (network-stream-open-starttls): Give host
14698 parameter to `gnutls-negotiate'.
14699 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14700 * subr.el (shell-quote-argument): Escape correctly under Windows.
14701
14702 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14703
14704 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14705 Use correct match group (bug#8438).
14706
14707 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14708
14709 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14710 (package-menu--generate): New arg specifying packages to show.
14711 (package-menu-refresh, package-menu-execute, list-packages):
14712 Callers changed.
14713 (package-show-package-list): New function, replacing deleted
14714 package--list-packages (renamed because it is non-internal).
14715
14716 * finder.el (finder-list-matches): Use package-show-package-list
14717 instead of deleted package--list-packages.
14718
14719 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14720 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14721 (vc-annotate-mode-map): Bind it to RET.
14722
14723 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14724
14725 * progmodes/etags.el (next-file): Don't use set-buffer to change
14726 buffers (Bug#8478).
14727
14728 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14729
14730 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14731
14732 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14733 (apropos-accumulator): Doc fix.
14734 (apropos-function, apropos-macro, apropos-command)
14735 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14736 (apropos-plist): Add face property.
14737 (apropos-symbols-internal): Fix indentation.
14738 (apropos-print): Simplify help, and recognize apropos-multi-type.
14739 (apropos-print-doc): Use button-type-get to extract the button's
14740 face property. Fill docstring (Bug#8352).
14741
14742 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14743
14744 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14745
14746 * play/mpuz.el (mpuz-silent): Doc fix.
14747 (mpuz-mode-map): Use mapc.
14748 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14749 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14750 Fix typos in docstrings.
14751
14752 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14753 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14754
14755 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14756
14757 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14758
14759 * minibuffer.el (completion--do-completion): Avoid the "Next char
14760 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14761
14762 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14763 mouse-2 into unread-command-events, it is interpreted correctly.
14764
14765 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14766 (image-toggle-display): Doc fix.
14767
14768 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14769
14770 * textmodes/page.el (what-page): Use line-number-at-pos to
14771 calculate line number (Bug#6825).
14772
14773 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14774
14775 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14776 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14777 Pass argument NO-DEFAULT to `find-tag-interactive'.
14778
14779 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14780
14781 Lexical-binding cleanup.
14782
14783 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14784 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14785 * progmodes/ada-prj.el (ada-prj-initialize-values)
14786 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14787 (ada-prj-show-value):
14788 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14789 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14790 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14791 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14792 * progmodes/bug-reference.el (bug-reference-push-button):
14793 * progmodes/fortran.el (fortran-line-length):
14794 * progmodes/glasses.el (glasses-change):
14795 * progmodes/octave-mod.el (octave-fill-paragraph):
14796 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14797 (python-pdbtrack-grub-for-buffer, python-sentinel):
14798 * progmodes/sql.el (sql-save-connection):
14799 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14800 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14801 Mark unused parameters.
14802
14803 * progmodes/compile.el (compilation--flush-directory-cache)
14804 (compilation--flush-parse, compile-internal): Mark unused parameters.
14805 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14806 (compilation-next-error-function): Remove unused variable `timestamp'.
14807
14808 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14809 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14810
14811 * progmodes/dcl-mode.el (dcl-end-of-command):
14812 Remove unused variable `start'.
14813 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14814 (dcl-option-value-basic, dcl-option-value-offset)
14815 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14816 Mark unused parameters.
14817 (dcl-save-local-variable): Remove unused variable `val'.
14818 (mode): Declare.
14819
14820 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14821 Mark unused parameters.
14822 (delphi-ignore-changes): Move before first use.
14823 (delphi-charset-token-at): Remove unused variable `start'.
14824 (delphi-else-start): Remove unused variable `if-count'.
14825 (delphi-comment-block-start, delphi-comment-block-end):
14826 Remove unused variable `kind'.
14827 (delphi-indent-line): Remove unused variable `new-point'.
14828
14829 * progmodes/ebrowse.el (ebrowse-files-list)
14830 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14831 Mark unused parameters. Don't quote `lambda'.
14832 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14833 Don't quote `lambda'.
14834 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14835 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14836 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14837 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14838 Use `ignore-errors'.
14839 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14840 (ebrowse-view/find-file-and-search-pattern)
14841 (ebrowse-view/find-member-declaration/definition):
14842 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14843 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14844 Rename parameter PREFIX-ARG to PREFIX.
14845 (ebrowse-tags-read-name): Remove unused variables `start' and
14846 `member-info'.
14847 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14848 to `tags-file'.
14849
14850 * progmodes/etags.el (local-find-tag-hook): Declare.
14851 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14852 Mark unused parameters.
14853
14854 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14855 (executable-interpret): Mark unused parameter.
14856
14857 * progmodes/flymake.el (flymake-process-sentinel)
14858 (flymake-after-change-function)
14859 (flymake-create-temp-with-folder-structure)
14860 (flymake-get-include-dirs-dot): Mark unused parameters.
14861 (flymake-safe-delete-directory): Remove unused variable `err'.
14862
14863 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14864 (speedbar-timer-fn, speedbar-line-text)
14865 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14866 (speedbar-center-buffer-smartly): Declare functions.
14867 (gdb-find-watch-expression): Remove unused variable `array'.
14868 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14869 (gdb-starting): Mark unused parameters.
14870 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14871 (gdb-table-string): Remove unused variable `res'.
14872 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14873 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14874 (gdb-display-buffer): Remove unused variable `cur-size'.
14875
14876 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14877 allow lexical-binding compilation.
14878 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14879 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14880 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14881 Mark unused parameters.
14882 (gud-gdb-marker-filter): Remove unused variable `match'.
14883 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14884 lambda expressions and funcall them, instead of using `fset'.
14885
14886 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14887 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14888
14889 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14890 variable `header-beg'; use `let'.
14891
14892 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14893 `restart', `last-sexp' and `at-do'.
14894
14895 * progmodes/js.el (js--debug): Mark unused parameter.
14896 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14897 (js--splice-into-items): Remove unused variable `item'.
14898 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14899
14900 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14901 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14902 (makefile-complete): Remove unused variable `try'.
14903 (makefile-fill-paragraph, makefile-match-function-end):
14904 Mark unused parameters.
14905
14906 * progmodes/octave-inf.el (inferior-octave-complete):
14907 Remove unused variable `proc'.
14908 (inferior-octave-output-digest): Mark unused parameter.
14909
14910 * progmodes/perl-mode.el (perl-calculate-indent):
14911 Remove unused variable `err'.
14912
14913 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14914 (prolog-indent-line): Mark unused parameters.
14915 (prolog-indent-line): Remove unused variable `beg'.
14916
14917 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14918 (reporter-dont-compact-list): Declare.
14919
14920 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14921 Remove unused variable `char'.
14922 (sh-debug): Mark unused parameter.
14923 (sh-get-indent-info): Remove unused variable `start'.
14924 (sh-calculate-indent): Remove unused variable `var'.
14925
14926 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14927 (simula-electric-keyword): Remove unused variable `null'.
14928 (simula-search-backward, simula-search-forward): Remove unused
14929 variables `begin' and `end'.
14930
14931 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14932 Remove unused variable `pos'.
14933 (vera-electric-tab, vera-comment-uncomment-region):
14934 Mark unused parameters.
14935 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14936
14937 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14938
14939 * emacs-lisp/package.el (package--builtins, package-alist)
14940 (package-load-descriptor, package-built-in-p, package-activate)
14941 (define-package, package-installed-p)
14942 (package-compute-transaction, package-buffer-info)
14943 (package--push): Doc fix. Distinguish more clearly between
14944 version strings and version lists.
14945
14946 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14947
14948 Lexical-binding cleanup.
14949
14950 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14951 (5x5-make-mutate-best):
14952 * play/fortune.el (fortune-in-buffer):
14953 * play/gomoku.el (gomoku-init-display):
14954 * play/solitaire.el (solitaire, solitaire-do-check):
14955 * play/tetris.el (tetris-default-update-speed-function):
14956 Mark unused parameters.
14957
14958 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14959 (bubbles--shift): Remove unused variable `char-org'.
14960 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14961 (bubbles--show-images): Remove unused variable `char'.
14962
14963 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14964 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14965 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14966 (decipher-analyze-buffer): Use ?\s.
14967 (decipher-make-checkpoint): Remove unused variable `mapping'.
14968
14969 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14970
14971 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14972 Remove unused variable `result'; use `let'.
14973
14974 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14975 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14976 (gametree-children-shown-p, gametree-compute-reduced-score):
14977 Use `ignore-errors'.
14978
14979 * play/handwrite.el (ps-lpr-switches): Declare.
14980 (handwrite): Remove unused variables `pmin' and `lastp'.
14981
14982 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14983
14984 * play/landmark.el (landmark-init-display)
14985 (landmark-update-naught-weights): Mark unused parameters.
14986 (landmark-y): Remove unused variable `noise'. Simplify.
14987 (landmark-human-plays): Remove unused variable `score'.
14988
14989 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14990 (mpuz-try-proposal): Remove unused variable `game'.
14991
14992 * play/zone.el (life-patterns): Declare.
14993
14994 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14995
14996 * vc/vc.el (ediff-vc-internal): Declare function.
14997
14998 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14999
15000 * shell.el: Use lexical-binding and std completion UI.
15001 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15002 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15003 comint-preoutput-filter-functions rather than on
15004 comint-output-filter-functions.
15005 (shell-command-completion, shell--command-completion-data)
15006 (shell-filename-completion, shell-environment-variable-completion)
15007 (shell-c-a-p-replace-by-expanded-directory): New functions.
15008 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15009 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15010 (shell-dynamic-complete-environment-variable): Use them.
15011 (shell-dynamic-complete-as-environment-variable)
15012 (shell-dynamic-complete-as-command): Remove.
15013 (shell-match-partial-variable): Match past point.
15014 * comint.el: Clean up use of completion-at-point-functions.
15015 (comint-completion-at-point): New function.
15016 (comint-mode): Use it completion-at-point-functions.
15017 (comint-dynamic-complete): Make it obsolete.
15018 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15019 (comint-c-a-p-replace-by-expanded-history): New function.
15020 (comint-dynamic-complete-functions)
15021 (comint-replace-by-expanded-history): Use it.
15022 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15023 termination strings. Try harder to avoid second try-completion.
15024 (completion-in-region-mode-map): Disable bindings that don't work yet.
15025
15026 * comint.el: Use lexical-binding. Require CL.
15027 (comint-dynamic-complete-functions): Use comint-filename-completion.
15028 (comint-completion-addsuffix): Tweak custom type.
15029 (comint-filename-completion, comint--common-suffix)
15030 (comint--common-quoted-suffix, comint--table-subvert)
15031 (comint--complete-file-name-data): New functions.
15032 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15033 (comint-dynamic-list-filename-completions): Use them.
15034 (comint-dynamic-simple-complete): Make obsolete.
15035
15036 * minibuffer.el (completion-in-region-mode):
15037 Keep completion-in-region-mode--predicate global.
15038 (completion-in-region--postch):
15039 Assume completion-in-region-mode--predicate is not null.
15040
15041 * progmodes/flymake.el (flymake-start-syntax-check-process):
15042 Obey `dir'. Simplify.
15043
15044 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15045 we're in VC after all.
15046
15047 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15048
15049 * vc/vc.el (vc-diff-build-argument-list-internal)
15050 (vc-version-ediff, vc-ediff): New commands.
15051 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15052
15053 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15054
15055 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15056 add sanity check.
15057
15058 * obsolete/erc-hecomplete.el: Make obsolete.
15059 * obsolete/: Standardize obsolescence info in the header.
15060
15061 2011-04-20 Glenn Morris <rgm@gnu.org>
15062
15063 * calendar/solar.el (solar-horizontal-coordinates):
15064 Use the longitude argument rather than `calendar-longitude'.
15065 (solar-date-next-longitude): Remove unused locals.
15066
15067 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15068
15069 * whitespace.el: New version 13.2.1.
15070
15071 2011-04-20 felix <EmacsWiki> (tiny change)
15072
15073 * whitespace.el (global-whitespace-mode): Keep highlight when
15074 switching between major modes on a file.
15075
15076 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15077
15078 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15079 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15080 multi-line comments as well.
15081
15082 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15083
15084 Lexical-binding cleanup.
15085
15086 * arc-mode.el (archive-mode-revert):
15087 * cmuscheme.el (scheme-interactively-start-process):
15088 * custom.el (custom-initialize-delay):
15089 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15090 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15091 * emacs-lock.el (emacs-lock-clear-sentinel):
15092 * ezimage.el (defezimage):
15093 * follow.el (follow-avoid-tail-recenter):
15094 * fringe.el (set-fringe-mode-1):
15095 * generic-x.el (bat-generic-mode-compile):
15096 * help-mode.el (help-info-variable, help-do-xref)
15097 (help-mode-revert-buffer):
15098 * help.el (view-emacs-todo):
15099 * iswitchb.el (iswitchb-completion-help):
15100 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15101 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15102 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15103 * locate.el (locate-update):
15104 * longlines.el (longlines-encode-region)
15105 (longlines-after-change-function):
15106 * outline.el (outline-isearch-open-invisible):
15107 * ps-def.el (declare-function, charset-dimension, char-width)
15108 (encode-char):
15109 * ps-mule.el (ps-mule-plot-string):
15110 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15111 (recentf-edit-list-select, recentf-edit-list-validate)
15112 (recentf-open-files-action):
15113 * rect.el (delete-whitespace-rectangle-line)
15114 (rectangle-number-line-callback):
15115 * register.el (window-configuration-to-register)
15116 (frame-configuration-to-register):
15117 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15118 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15119 (xselect-convert-to-targets, xselect-convert-to-delete)
15120 (xselect-convert-to-filename, xselect-convert-to-charpos)
15121 (xselect-convert-to-lineno, xselect-convert-to-colno)
15122 (xselect-convert-to-os, xselect-convert-to-host)
15123 (xselect-convert-to-user, xselect-convert-to-class)
15124 (xselect-convert-to-name, xselect-convert-to-integer)
15125 (xselect-convert-to-atom, xselect-convert-to-identity):
15126 * subr.el (declare, ignore, process-kill-without-query)
15127 (text-clone-maintain):
15128 * terminal.el (te-get-char, te-tic-sentinel):
15129 * tool-bar.el (tool-bar-make-keymap):
15130 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15131 * type-break.el (type-break-mode, type-break-noninteractive-query):
15132 * view.el (View-back-to-mark):
15133 * wid-browse.el (widget-browse-action, widget-browse-widget)
15134 (widget-browse-widgets, widget-browse-sexp):
15135 * widget.el (define-widget-keywords):
15136 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15137 Mark unused parameters.
15138
15139 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15140 (align-areas): Remove unused variable `look'.
15141 (align-region): Remove unused variables `real-end' and `pos-list'.
15142
15143 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15144
15145 * bindings.el (mode-line-modified, mode-line-remote):
15146 Mark unused parameters.
15147 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15148
15149 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15150 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15151
15152 * comint.el (comint-history-isearch-pop-state)
15153 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15154 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15155 (comint-substitute-in-file-name): Doc fix.
15156
15157 * completion.el (cmpl-statistics-block): Mark unused parameter.
15158 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15159 (save-completions-to-file, load-completions-from-file):
15160 Remove unused local variable `e'.
15161
15162 * composite.el (compose-chars): Remove unused variable `len'.
15163 (lgstring-insert-glyph): Remove unused variable `g'.
15164 (compose-glyph-string): Remove unused variables `ascent',
15165 `descent', `lbearing' and `rbearing'.
15166 (compose-glyph-string-relative): Remove unused variables
15167 `lbearing', `rbearing' and `wadjust'.
15168 (compose-gstring-for-graphic): Remove unused variables `header',
15169 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15170 (compose-gstring-for-terminal): Remove unused variables `header'
15171 and `nchars'. Use `let', not `let*'.
15172
15173 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15174 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15175 (Custom-buffer-done, custom-buffer-create-internal)
15176 (custom-browse-visibility-action, custom-browse-group-tag-action)
15177 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15178 (widget-magic-mouse-down-action, custom-toggle-parent)
15179 (custom-add-parent-links, custom-toggle-hide-variable)
15180 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15181 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15182 (custom-face-menu-create, custom-variable-menu-create, get)
15183 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15184 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15185 (customize-apropos): Remove unused variable `tests'.
15186 (custom-group-value-create): Remove unused variable `hidden-p'.
15187 (sort-fold-case): Declare.
15188
15189 * cus-theme.el (custom-reset-standard-faces-list)
15190 (custom-reset-standard-variables-list): Declare.
15191 (customize-create-theme, custom-theme-revert, custom-theme-write)
15192 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15193 Mark unused parameters.
15194
15195 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15196
15197 * delim-col.el (delimit-columns-max): Move defvar before first use.
15198
15199 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15200 (describe-char): Don't quote `lambda'. Mark unused parameter.
15201
15202 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15203 (auto-insert): Declare.
15204 (desktop-restore-file-buffer): Rename desktop-* parameters;
15205 mark unused ones.
15206 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15207 (desktop-buffer): Rename desktop-* parameters.
15208
15209 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15210 (dframe-reposition-frame-xemacs, dframe-help-echo)
15211 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15212 Mark unused parameters.
15213
15214 * dired-aux.el (backup-extract-version-start, overwrite-query)
15215 (overwrite-backup-query, rename-regexp-query)
15216 (rename-non-directory-query): Declare.
15217 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15218 (dired-add-entry): Remove unused variable `orig-file-name'.
15219 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15220 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15221 `dired-copy-preserve-time' directly.
15222 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15223 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15224
15225 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15226 (dired-virtual-revert, dired-make-relative-symlink):
15227 Mark unused parameters.
15228 (manual-program): Declare.
15229 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15230 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15231 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15232
15233 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15234
15235 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15236
15237 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15238 Declare.
15239
15240 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15241
15242 * electric.el (Electric-command-loop): Rename parameter
15243 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15244
15245 * expand.el (expand-in-literal): Remove unused variable `here'.
15246
15247 * facemenu.el (facemenu-add-new-color):
15248 Remove unused variable `docstring'.
15249
15250 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15251 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15252 (face-attr-construct): Mark unused parameter. Doc fix.
15253 (read-color): Remove unused variable `hex-string'.
15254
15255 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15256 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15257 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15258 (display-buffer-other-frame): Remove unused variable `old-window'.
15259 (kill-buffer-hook): Declare.
15260 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15261 Mark unused parameters.
15262 (after-find-file): Pass 1 to `auto-save-mode', not t.
15263
15264 * files-x.el (auto-insert): Declare.
15265 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15266
15267 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15268 variable `buf'. Mark unused parameter.
15269 (find-lisp-insert-directory): Mark unused parameter.
15270
15271 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15272 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15273 (format-common-tail): Remove, unused.
15274 (format-deannotate-region): Remove unused variable `loc'.
15275 (format-annotate-region): Remove unused variable `p'.
15276 (format-annotate-single-property-change): Remove unused variables
15277 `default' and `tail'.
15278
15279 * forms.el (read-file-filter): Declare.
15280 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15281
15282 * frame.el (frame-creation-function-alist): Mark unused parameter.
15283 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15284
15285 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15286 Remove unused parameters.
15287 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15288 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15289
15290 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15291 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15292 (hfy-prepare-tag-map): Mark unused parameters.
15293 (htmlfontify-buffer): Use `called-interactively-p'.
15294
15295 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15296 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15297 (ibuffer-do-occur): Mark unused parameters.
15298 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15299 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15300
15301 * ibuffer.el: Don't quote `lambda'.
15302 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15303 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15304 Mark unused parameters.
15305
15306 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15307 (ido-completing-read): Mark unused parameters.
15308 (ido-copy-current-word): Mark unused parameters;
15309 remove unused variable `name'.
15310 (ido-sort-merged-list): Remove unused parameter `dirs'.
15311
15312 * ielm.el (ielm-input-sender): Mark unused parameter.
15313 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15314 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15315 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15316 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15317 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15318
15319 * image-dired.el (image-dired-display-thumbs): Remove unused
15320 variables `curr-file' and `count'.
15321 (image-dired-remove-tag): Remove unused variable `start'.
15322 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15323 variable `curr-file'
15324 (image-dired-rotate-original): Remove unused variable `temp-file'.
15325 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15326 Remove unused variable `file'.
15327 (image-dired-gallery-generate): Remove unused variable `curr'.
15328 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15329
15330 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15331
15332 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15333
15334 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15335
15336 * isearch.el (minibuffer-history-symbol): Declare.
15337 (isearch-edit-string): Remove unused variable `err'.
15338 (isearch-message-prefix, isearch-message-suffix):
15339 Mark unused parameters.
15340
15341 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15342
15343 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15344
15345 * makesum.el (double-column): Remove unused variable `cnt'.
15346
15347 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15348 (ido-ignore-item-temp-list): Declare.
15349
15350 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15351 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15352 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15353 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15354 `mouse-col-delta'.
15355
15356 * mouse-sel.el (mouse-extend-internal):
15357 Remove unused variable `orig-window-frame'.
15358
15359 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15360 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15361 Move declarations before first use.
15362 (pcomplete-opt): Mark unused parameters; doc fix.
15363
15364 * proced.el (proced-revert): Mark unused parameter.
15365 (proced-send-signal): Remove unused variable `err'.
15366
15367 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15368 Rename parameter PREFIX-ARG to ARG.
15369 (ps-basic-plot-string, ps-basic-plot-whitespace):
15370 Mark unused parameters.
15371
15372 * replace.el (replace-count): Define.
15373 (occur-revert-function): Mark unused parameters.
15374 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15375 (isearch-case-fold-search, isearch-string): Declare.
15376 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15377 bind `case-fold-search'. Remove unused variables `beg' and `end',
15378 and simplify.
15379 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15380 COUNT and bind `replace-count'.
15381 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15382 to COUNT.
15383
15384 * savehist.el (print-readably, print-string-length): Declare.
15385
15386 * shadowfile.el (shadow-expand-cluster-in-file-name):
15387 Remove unused variable `cluster'.
15388 (shadow-copy-file): Remove unused variable `i'.
15389 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15390 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15391 (shadow-define-literal-group, shadow-define-regexp-group)
15392 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15393
15394 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15395 (shell): Use `called-interactively-p'.
15396 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15397
15398 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15399 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15400 (delete-backward-char): Remove unused variable `ocol'.
15401 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15402 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15403 (event-apply-hyper-modifier, event-apply-shift-modifier)
15404 (event-apply-control-modifier, event-apply-meta-modifier):
15405 Mark unused parameters.
15406 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15407 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15408
15409 * speedbar.el (speedbar-ignored-directory-expressions)
15410 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15411 (speedbar-find-file, speedbar-dir-follow)
15412 (speedbar-directory-buttons-follow, speedbar-tag-find)
15413 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15414 (speedbar-buffers-line-directory, speedbar-buffer-click):
15415 Mark unused parameters.
15416 (speedbar-tag-file): Remove unused variable `mode'.
15417 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15418
15419 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15420
15421 * talk.el (talk): Remove unused variable `display'.
15422
15423 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15424 (tar-write-region-annotate): Mark unused parameter.
15425
15426 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15427 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15428 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15429 warning by another.
15430
15431 * time-stamp.el (time-stamp-string-preprocess):
15432 Remove unused variable `require-padding'.
15433
15434 * tree-widget.el (widget-glyph-enable): Declare.
15435 (tree-widget-action): Mark unused parameter.
15436
15437 * w32-fns.el (x-get-selection): Mark unused parameter.
15438 (autoload-make-program, generated-autoload-file): Declare.
15439
15440 * wdired.el (wdired-revert): Mark unused parameters.
15441 (wdired-xcase-word): Remove unused variable `err'.
15442
15443 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15444 (whitespace-help-scroll): Remove unused variable `data-help'.
15445
15446 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15447 (widget-image-insert, widget-after-change, default)
15448 (widget-default-format-handler, widget-default-notify)
15449 (widget-default-prompt-value, widget-info-link-action)
15450 (widget-url-link-action, widget-function-link-action)
15451 (widget-variable-link-action, widget-file-link-action)
15452 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15453 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15454 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15455 (widget-insert-button-action, widget-delete-button-action, visibility)
15456 (widget-documentation-link-action, widget-documentation-string-action)
15457 (widget-const-prompt-value, widget-regexp-match, symbol)
15458 (widget-coding-system-prompt-value)
15459 (widget-key-sequence-value-to-external, sexp)
15460 (widget-sexp-value-to-internal, character, vector, cons)
15461 (widget-choice-prompt-value, widget-boolean-prompt-value)
15462 (widget-color--choose-action): Mark unused parameters.
15463 (widget-item-match-inline, widget-choice-match-inline)
15464 (widget-checklist-match, widget-checklist-match-inline)
15465 (widget-group-match): Rename parameter VALUES to VALS.
15466 (widget-field-value-set): Remove unused variable `size'.
15467 (widget-color-action): Remove unused variables `value' and `start'.
15468
15469 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15470 variable `dir'. Doc fix.
15471 (windmove-find-other-window): Don't pass it.
15472
15473 * window.el (count-windows): Mark unused parameter.
15474 (bw-adjust-window): Remove unused variable `err'.
15475
15476 * woman.el (woman-file-name): Remove unused variable `default'.
15477 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15478 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15479 (global-font-lock-mode): Declare.
15480 (woman-decode-region): Mark unused parameter.
15481 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15482
15483 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15484 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15485 (x-dnd-handle-moz-url): Remove unused variable `title'.
15486 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15487
15488 * xml.el (xml-parse-tag, xml-parse-attlist):
15489 Remove unused variable `pos'.
15490
15491 2011-04-19 Glenn Morris <rgm@gnu.org>
15492
15493 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15494 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15495 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15496 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15497 * calendar/cal-html.el (cal-html-insert-minical):
15498 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15499 (calendar-mark-date-pattern):
15500 Prefix "unused" locals.
15501
15502 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15503 optional argument `style'.
15504
15505 * calendar/appt.el (appt-make-list):
15506 * calendar/cal-china.el (calendar-chinese-date-string):
15507 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15508 (diary-hebrew-yahrzeit):
15509 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15510 * calendar/calendar.el (calendar-generate-window):
15511 * calendar/time-date.el (time-to-days):
15512 Remove unused local variables.
15513
15514 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
15515
15516 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15517 glyphless-char-display table.
15518 (tabulated-list-glyphless-char-display): New var.
15519
15520 2011-04-18 Sam Steingold <sds@gnu.org>
15521
15522 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15523 to acknowledgments.
15524
15525 2011-04-17 Glenn Morris <rgm@gnu.org>
15526
15527 * calendar/diary-lib.el (diary-sexp-entry):
15528 * calendar/holidays.el (holiday-sexp):
15529 Set debug-on-error rather than the removed stack-trace-on-error.
15530
15531 2011-04-16 Glenn Morris <rgm@gnu.org>
15532
15533 * progmodes/f90.el: Use lexical-binding.
15534 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15535
15536 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15539 (mail-mode): Setup mailalias completion here instead.
15540 * mail/mailalias.el: Use lexical-binding.
15541 (pattern, mailalias-done): Declare dynamic.
15542 (mail-completion-at-point-function): New function, from mail-complete.
15543 (mail-complete): Use it.
15544 (mail-completion-expand): New function.
15545 (mail-get-names): Use it.
15546 (mail-directory, mail-directory-process, mail-directory-stream):
15547 Don't use `pattern' for lexically bound arg.
15548
15549 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15550
15551 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15552 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15553 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15554
15555 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15556 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15557 (byte-interactive-p): Define them again, for use when inlining
15558 old code.
15559
15560 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
15561
15562 * loadup.el: Use `string-to-number', not `string-to-int'.
15563
15564 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15565
15566 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15567 gud-gdb-complete-command.
15568 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15569 (gud-gdb-completion-at-point): New function.
15570 (gud-gdb-completions): Remove.
15571
15572 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
15573
15574 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15575 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15576 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15577 whether `executable-find' is bound.
15578
15579 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15580
15581 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15582
15583 * minibuffer.el (completion-in-region-mode-predicate)
15584 (completion-in-region-mode--predicate): New vars.
15585 (completion-in-region, completion-in-region--postch)
15586 (completion-in-region-mode): Use them.
15587 (completion--capf-wrapper): Also return the hook function.
15588 (completion-at-point, completion-help-at-point):
15589 Adjust and provide a predicate.
15590
15591 Preserve arg names for advice of subr and lexical functions (bug#8457).
15592 * help-fns.el (help-function-arglist): Consolidate the subr and
15593 new-byte-code cases. Add argument `preserve-names' to extract names
15594 from the docstring when needed.
15595 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15596 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15597 (ad-arglist): Use help-function-arglist's new arg.
15598 (ad-definition-type): Use cond.
15599
15600 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15601
15602 * autorevert.el (auto-revert-handler):
15603 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15604 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15605 Don't quote lambda.
15606
15607 * image-mode.el (image-transform-set-scale):
15608 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15609
15610 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15611
15612 * net/network-stream.el (network-stream-open-starttls): Only do
15613 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15614 Upgrades via gnutls-cli are too slow to be done opportunistically.
15615
15616 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15617
15618 * dframe.el (dframe-current-frame): Remove spurious quote.
15619
15620 2011-04-12 Glenn Morris <rgm@gnu.org>
15621
15622 * calendar/cal-tex.el (cal-tex-end-document):
15623 Try to automatically use latin1 input if needed.
15624
15625 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15626 Don't try to cons a mark onto an empty element.
15627
15628 2011-04-11 Leo Liu <sdl.web@gmail.com>
15629
15630 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15631 buffers.
15632 (ido-kill-buffer-at-head): Support killing virtual buffers.
15633
15634 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15635
15636 * minibuffer.el (completion-show-inline-help): New var.
15637 (completion--do-completion, minibuffer-complete)
15638 (minibuffer-force-complete, minibuffer-complete-word):
15639 Inhibit minibuffer messages if completion-show-inline-help is nil.
15640
15641 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15642 to avoid interference from inline help (Bug#5849).
15643
15644 2011-04-10 Leo Liu <sdl.web@gmail.com>
15645
15646 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15647 Fix typo.
15648
15649 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15650
15651 * image-mode.el (image-toggle-display-image): Signal an error if
15652 not in Image mode.
15653 (image-transform-mode, image-transform-resize)
15654 (image-transform-set-rotation): Doc fix.
15655 (image-transform-set-resize): Delete.
15656 (image-transform-set-scale, image-transform-fit-to-height)
15657 (image-transform-fit-to-width): Handle image-toggle-display-image
15658 and image-transform-resize directly.
15659
15660 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15661
15662 * doc-view.el (doc-view-fit-width-to-window)
15663 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15664 New functions for fitting the shown image to the Emacs window size.
15665 (doc-view-mode-map): Add bindings for the new functions.
15666
15667 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15668
15669 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15670 Fix typo in docstring.
15671
15672 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15673
15674 * files.el (file-size-human-readable): Produce one digit after
15675 decimal, like "ls -lh" does.
15676
15677 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15678 the file size representation.
15679
15680 * simple.el (list-processes): If async subprocesses are not
15681 available, error out with a clear error message.
15682
15683 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15684
15685 * help.el (help-form-show): New function, to be called from C.
15686 Put help-form output in a buffer named differently than *Help*.
15687
15688 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15689
15690 * files.el (file-size-human-readable): New function.
15691
15692 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15693 computing the representation inline. Don't require `cl'.
15694
15695 2011-04-08 Glenn Morris <rgm@gnu.org>
15696
15697 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15698
15699 * net/browse-url.el (browse-url-firefox):
15700 Test system-type, not system-configuration.
15701
15702 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15703 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15704 Use log-edit-empty-buffer-p. (Bug#7598)
15705
15706 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15707 (rlogin-mode-map): Initialize in the defvar.
15708 (rlogin): Use ignore-errors.
15709
15710 * replace.el (occur-mode-map): Some fixes for menu items.
15711
15712 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15713
15714 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15715
15716 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15717
15718 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15719 issuing unused warnings.
15720
15721 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15722 macro directly.
15723
15724 * simple.el: Lisp reimplement of list-processes. Based on an
15725 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15726 (process-menu-mode): New major mode.
15727 (list-processes--refresh, list-processes):
15728 (process-menu-visit-buffer): New functions.
15729
15730 * files.el (save-buffers-kill-emacs): Don't assume any return
15731 value of list-processes, which is undocumented anyway.
15732
15733 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15734
15735 * emacs-lisp/tabulated-list.el: New file.
15736
15737 * emacs-lisp/package.el: Use Tabulated List mode.
15738 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15739 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15740 table format using Tabulated List mode variables.
15741 (package--push): New macro, replacing package-list-maybe-add.
15742 (package-menu--generate): Use package--push. Renamed from
15743 package--generate-package-list.
15744 (package-menu-refresh, list-packages): Use it.
15745 (package-menu--print-info): Rename from package-print-package.
15746 Return insertion data instead of inserting it directly.
15747 (package-menu-describe-package, package-menu-execute):
15748 Use tabulated-list-get-id.
15749 (package-menu-mark-delete, package-menu-mark-install)
15750 (package-menu-mark-unmark, package-menu-backup-unmark)
15751 (package-menu-mark-obsolete-for-deletion):
15752 Use tabulated-list-put-tag.
15753 (package--list-packages, package-menu-revert)
15754 (package-menu-get-package, package-menu-get-version)
15755 (package-menu-sort-by-column): Functions deleted.
15756 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15757 (package-menu--status-predicate, package-menu--version-predicate)
15758 (package-menu--name-predicate)
15759 (package-menu--description-predicate): Handle arguments in the
15760 Tabulated List format.
15761 (package-list-packages-no-fetch): Call list-packages.
15762
15763 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15764
15765 * files.el (after-find-file-from-revert-buffer): Remove variable.
15766 (after-find-file): Don't bind it.
15767 (revert-buffer-in-progress-p): New variable.
15768 (revert-buffer): Bind it.
15769 Pass nil for `after-find-file-from-revert-buffer'.
15770
15771 * saveplace.el (save-place-find-file-hook): Use new variable
15772 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15773
15774 2011-04-06 Glenn Morris <rgm@gnu.org>
15775
15776 * Makefile.in (AUTOGEN_VCS): New variable.
15777 (autoloads): Use $AUTOGEN_VCS.
15778
15779 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15780 * calendar/calendar.el (calendar-mode-map):
15781 Check for toolkit scroll bars. (Bug#8305)
15782
15783 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15784
15785 * minibuffer.el (completion-in-region--postch)
15786 (completion-in-region-mode): Remove unnecessary messages.
15787
15788 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15789
15790 * font-lock.el (font-lock-refresh-defaults):
15791 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15792 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15793
15794 * info.el (Info-directory-list, Info-read-node-name-2)
15795 (Info-split-parameter-string): Doc fixes.
15796 (Info-virtual-nodes): Reflow docstring.
15797 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15798 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15799 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15800 Fix typos in docstrings.
15801 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15802 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15803 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15804 (Info-restore-desktop-buffer): Mark unused parameters.
15805 (Info-directory-find-file, Info-directory-find-node)
15806 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15807 (Info-virtual-index-find-node, Info-apropos-find-file)
15808 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15809 Mark unused parameters; fix typos in docstrings.
15810 (Info-virtual-index): Remove unused local variable `nodename'.
15811
15812 2011-04-05 Deniz Dogan <deniz@dogan.se>
15813
15814 * net/rcirc.el: Update my e-mail address.
15815 (rcirc-mode-map): Remove M-o binding.
15816
15817 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15818
15819 * startup.el (command-line): Save the cursor's theme-face
15820 directly, instead of using face-override-spec.
15821
15822 * custom.el (load-theme): Minor optimization in assigning faces.
15823
15824 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15825
15826 * help-fns.el (describe-variable): Complete all variables having
15827 documentation, including keywords.
15828 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15829
15830 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15831
15832 Convert to lexical-binding.
15833
15834 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15835 (bs--get-marked-string, bs--get-modified-string)
15836 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15837 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15838 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15839
15840 * ehelp.el (electric-help-execute-extended)
15841 (electric-help-ctrl-x-prefix):
15842 * hexl.el (hexl-revert-buffer-function):
15843 * linum.el (linum-after-change, linum-after-scroll):
15844 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15845
15846 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15847
15848 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15849
15850 * epa-dired.el:
15851 * epa-mail.el:
15852 * epa-hook.el:
15853 * epa-file.el:
15854 * epa.el:
15855 * epg.el: Use lexical binding.
15856
15857 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15858
15859 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15860
15861 * textmodes/flyspell.el (flyspell-word): Recognize default
15862 dictionary case for flyspell-mark-duplications-exceptions.
15863 Use regexp matching for languages.
15864 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15865 default dictionary (Bug#7926).
15866
15867 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15868
15869 * emacs-lisp/package.el (package--with-work-buffer):
15870 Recognize https URLs.
15871
15872 * net/network-stream.el: Move from gnus/proto-stream.el.
15873 Change prefix to network-stream throughout.
15874 (open-protocol-stream): Merge into open-network-stream, leaving
15875 open-protocol-stream as an alias. Handle nil BUFFER args.
15876
15877 * subr.el (open-network-stream): Move to net/network-stream.el.
15878
15879 2011-04-02 Glenn Morris <rgm@gnu.org>
15880
15881 * find-dired.el (find-exec-terminator): New option.
15882 (find-ls-option): Test for -ls support.
15883 (find-ls-subdir-switches): Test for -b in find-ls-option.
15884 (find-dired, find-grep-dired): Doc fixes.
15885 (find-dired): Use find-exec-terminator.
15886
15887 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15888 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15889 (find-name-arg): Remove purecopy.
15890
15891 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15892 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15893 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15894 accordingly. Don't add the null-device if not needed.
15895
15896 * files.el (save-some-buffers): Doc fix.
15897
15898 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15899
15900 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15901
15902 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15903
15904 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15905 Use `dolist' rather than `mapcar'.
15906
15907 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15908
15909 Add lexical binding.
15910
15911 * subr.el (apply-partially): Use new closures rather than CL.
15912 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15913 (dolist, dotimes): Use slightly different expansion for lexical code.
15914 (functionp): Move to C.
15915 (letrec): New macro.
15916 (with-wrapper-hook): Use it and apply-partially instead of CL.
15917 (eval-after-load): Preserve lexical-binding.
15918 (save-window-excursion, with-output-to-temp-buffer): Turn them
15919 into macros.
15920
15921 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15922
15923 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15924 than the arglist.
15925 (help-add-fundoc-usage): Don't add `Not documented'.
15926 (help-function-arglist): Handle closures, subroutines, and new
15927 byte-code-functions.
15928 (help-make-usage): Remove leading underscores.
15929 (describe-function-1): Handle closures.
15930 (describe-variable): Use special-variable-p for completion.
15931
15932 * files.el (lexical-binding): Declare safe.
15933
15934 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15935 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15936 (pcase): Add `let' pattern.
15937 Change memoization so it actually works.
15938 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15939 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15940 <let>: New case.
15941
15942 * emacs-lisp/macroexp.el: Use lexical binding.
15943 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15944 Don't convert ' to #' without checking that it's indeed quoting
15945 a lambda.
15946
15947 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15948 Use eval-sexp-add-defvars.
15949 (eval-sexp-add-defvars): New fun.
15950
15951 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15952
15953 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15954 Don't autoload.
15955 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15956 than the internal `byte-compile-lambda'.
15957 (defmethod): Don't hide code under quotes.
15958 (eieio-defmethod): New `code' argument.
15959
15960 * emacs-lisp/eieio-comp.el: Remove.
15961
15962 * emacs-lisp/edebug.el (edebug-eval-defun)
15963 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15964 (edebug-toggle): Avoid `eval'.
15965
15966 * emacs-lisp/disass.el (disassemble-internal): Handle new
15967 `closure' objects.
15968 (disassemble-1): Handle new byte codes.
15969
15970 * emacs-lisp/cl.el (pushnew): Silence warning.
15971
15972 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15973 (cl-byte-compile-throw): Remove.
15974 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15975
15976 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15977 closures.
15978
15979 * emacs-lisp/cconv.el: New file.
15980
15981 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15982 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15983 (byte-compile-initial-macro-environment):
15984 Handle declare-function here.
15985 (byte-compile--lexical-environment): New var.
15986 (byte-stack-ref, byte-stack-set, byte-discardN)
15987 (byte-discardN-preserve-tos): New lap codes.
15988 (byte-interactive-p): Don't use any more.
15989 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15990 New macros.
15991 (byte-compile-lapcode): Use them and handle new lap codes.
15992 (byte-compile-obsolete): Remove.
15993 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15994 (byte-compile-arglist-warn): Check late def of inlinable funs.
15995 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15996 since they should have been expanded by now.
15997 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15998 (byte-compile-from-buffer): Remove unused second arg.
15999 (byte-compile-preprocess): New function.
16000 (byte-compile-toplevel-file-form): New function to distinguish
16001 file-form calls from outside from file-form calls from hunk-handlers.
16002 (byte-compile-file-form): Simplify.
16003 (byte-compile-file-form-defsubst): Remove.
16004 (byte-compile-file-form-defmumble): Simplify now that
16005 byte-compile-lambda always returns a byte-code-function.
16006 (byte-compile): Preprocess.
16007 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16008 Remove, not used any more.
16009 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16010 (byte-compile-make-args-desc): New funs.
16011 (byte-compile-lambda): Handle lexical functions. Always return
16012 a byte-code-function.
16013 (byte-compile-reserved-constants): New var, to make up room for
16014 closed-over variables.
16015 (byte-compile-constants-vector): Obey it.
16016 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16017 (byte-compile-macroexpand-declare-function): New function.
16018 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16019 byte-code-functions.
16020 (byte-compile-form): Check obsolescence here.
16021 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16022 (byte-compile-variable-ref): Remove.
16023 (byte-compile-dynamic-variable-op): New fun.
16024 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16025 (byte-compile-variable-set): New funs.
16026 (byte-compile-discard): Add 2 args.
16027 (byte-compile-stack-ref, byte-compile-stack-set)
16028 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16029 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16030 macroexpand-all instead.
16031 (byte-compile-quote-form): Remove.
16032 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16033 (byte-compile-bind, byte-compile-unbind): New funs.
16034 (byte-compile-let): Handle let* and lexical binding.
16035 (byte-compile-let*): Remove.
16036 (byte-compile-catch, byte-compile-unwind-protect)
16037 (byte-compile-track-mouse, byte-compile-condition-case):
16038 Handle a new :fun-body form, used for lexical scoping.
16039 (byte-compile-save-window-excursion)
16040 (byte-compile-with-output-to-temp-buffer): Remove.
16041 (byte-compile-defun): Simplify.
16042 (byte-compile-stack-adjustment): New fun.
16043 (byte-compile-out): Use it.
16044 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16045
16046 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16047 handler any more.
16048
16049 * emacs-lisp/byte-opt.el: Use lexical binding.
16050 (byte-inline-lapcode): Remove (to bytecomp).
16051 (byte-compile-inline-expand): Pay attention to inlining to/from
16052 lexically bound code.
16053 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16054 any more.
16055 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16056 any more and don't call compiler-macros.
16057 (byte-compile-splice-in-already-compiled-code): Remove.
16058 (byte-code): Don't inline any more.
16059 (disassemble-offset): Receive `bytes' as argument rather than via
16060 dynamic scoping.
16061 (byte-compile-tag-number): Declare before first use.
16062 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16063 `return' even if make-spliceable.
16064 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16065 obsolete interactive-p.
16066 (byte-optimize-lapcode): Optimize new lap-codes.
16067 Don't trip up on new form of `byte-constant' lap code.
16068
16069 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16070
16071 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16072
16073 * custom.el (custom-initialize-default, custom-declare-variable):
16074 Use `defvar'.
16075
16076 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16077 New variables.
16078 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16079 (COMPILE_FIRST): Add macroexp and cconv.
16080 * makefile.w32-in: Mirror changes in Makefile.in.
16081
16082 * vc/cvs-status.el:
16083 * vc/diff-mode.el:
16084 * vc/log-edit.el:
16085 * vc/log-view.el:
16086 * vc/smerge-mode.el:
16087 * textmodes/bibtex-style.el:
16088 * textmodes/css-mode.el:
16089 * startup.el:
16090 * uniquify.el:
16091 * minibuffer.el:
16092 * newcomment.el:
16093 * reveal.el:
16094 * server.el:
16095 * mpc.el:
16096 * emacs-lisp/smie.el:
16097 * doc-view.el:
16098 * dired.el:
16099 * abbrev.el: Use lexical binding.
16100
16101 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16102
16103 * info.el (info-display-manual): New function.
16104
16105 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16106
16107 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16108
16109 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16110
16111 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16112 an entry for that server in rcirc-authinfo. (Bug#8385)
16113
16114 2011-03-31 Glenn Morris <rgm@gnu.org>
16115
16116 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16117
16118 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16119
16120 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16121
16122 * progmodes/python.el (python-default-interpreter)
16123 (python-python-command-args, python-jython-command-args)
16124 (python-which-shell, python-which-args, python-which-bufname)
16125 (python-file-queue, python-comint-output-filter-function)
16126 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16127 variables and functions.
16128
16129 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16130
16131 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16132 (completion-in-region-mode): New minor mode.
16133 (completion-in-region): Use it.
16134 (completion-in-region--data, completion-in-region-mode-map): New vars.
16135 (completion-in-region--postch): New function.
16136 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16137 New vars.
16138 (completion--capf-wrapper): New function.
16139 (completion-at-point): Use it to track well-behavedness of
16140 hook functions.
16141 (completion-help-at-point): New command.
16142
16143 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16144
16145 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16146 syntax class to search for whitespace on a single line
16147 (Message-ID: <4D938140.4030905@redhat.com>).
16148
16149 2011-03-30 Leo Liu <sdl.web@gmail.com>
16150
16151 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16152 New commands.
16153 (edit-abbrevs-map): Bind them here.
16154 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16155
16156 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16157
16158 * allout.el (allout-hide-by-annotation, allout-flag-region):
16159 Reduce possibility of overlay leakage by making them volatile.
16160
16161 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16162 hash is not shared between buffers. Mode initialization is
16163 responsible for giving it a useful starting value.
16164 (allout-item-span): Reduce possibility of overlay leakage by
16165 making them volatile.
16166 (allout-widgets-count-buttons-in-region): Add diagnostic function
16167 for tracking down button overlay leaks.
16168
16169 2011-03-29 Leo Liu <sdl.web@gmail.com>
16170
16171 * ido.el (ido-read-internal): Use the default history var
16172 minibuffer-history if no HISTORY is specified.
16173
16174 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16175
16176 * net/imap.el (imap-shell-open, imap-process-connection-type):
16177 Use imap-process-connection-type for 'shell' streams as well as
16178 Kerberos, SSL, other subprocesses.
16179
16180 2011-03-28 Leo Liu <sdl.web@gmail.com>
16181
16182 * abbrev.el (abbrev-table-empty-p): New function.
16183 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16184 nonempty ones. (Bug#5937)
16185
16186 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16187
16188 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16189
16190 2011-03-27 Leo Liu <sdl.web@gmail.com>
16191
16192 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16193 for foreground and background colors.
16194 (ansi-color-make-color-map): Adapt.
16195
16196 2011-03-25 Leo Liu <sdl.web@gmail.com>
16197
16198 * midnight.el (midnight-time-float): Remove. Note it calculates
16199 the microsecond component incorrectly and seconds-to-time does the
16200 same job.
16201 Remove redundant (require 'timer).
16202
16203 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16204 (ido-completions): Remove unused arguments. (Bug#8329)
16205
16206 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16207
16208 * minibuffer.el (completion--flush-all-sorted-completions):
16209 Remove itself from hook.
16210 (completion-at-point): Let the functions perform the completion
16211 immediately and return nil or t.
16212 * comint.el (comint-dynamic-complete-functions): Now identical to
16213 completion-at-point-functions.
16214 (comint-dynamic-list-input-ring): Remove unused var `index'.
16215 (comint--match-partial-filename, comint--unquote&expand-filename):
16216 New funs, split from comint-match-partial-filename.
16217 (comint-dynamic-complete): Use completion-at-point.
16218 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16219
16220 2011-03-24 Drew Adams <drew.adams@oracle.com>
16221
16222 * thingatpt.el: Support `defun'.
16223
16224 2011-03-23 Leo Liu <sdl.web@gmail.com>
16225
16226 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16227
16228 * help-mode.el (help-mode-finish): Tweak regexp.
16229
16230 2011-03-23 Glenn Morris <rgm@gnu.org>
16231
16232 * eshell/esh-opt.el (eshell-eval-using-options):
16233 Do not bind unused local variable `eshell-option-stub'.
16234
16235 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16236
16237 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16238
16239 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16240 keymap variable in `with-no-warnings' to avoid a warning when the
16241 keymap has been already `defconst'ed.
16242
16243 2011-03-22 Leo Liu <sdl.web@gmail.com>
16244
16245 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16246 encode all chars in abbrevs; otherwise use emacs-mule or
16247 utf-8-emacs. (Bug#8308)
16248
16249 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16250
16251 * simple.el (backward-delete-char-untabify):
16252 Avoid warning about using `delete-backward-char'.
16253
16254 * image.el (image-type-file-name-regexps): Make it variable.
16255 `imagemagick-register-types' modifies it, and the user may want
16256 to add new extensions for known image types.
16257 (imagemagick-register-types): Throw error if not using ImageMagick.
16258
16259 2011-03-22 Leo Liu <sdl.web@gmail.com>
16260
16261 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16262 located before rcirc-prompt-end-marker.
16263 (rcirc-complete): Error if point is not after rcirc prompt.
16264 Handle the case when table is nil.
16265 (rcirc-user-authenticated): Define to fix compiler warning.
16266
16267 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16268
16269 * custom.el (custom--inhibit-theme-enable): Make it affect only
16270 custom-theme-set-variables and custom-theme-set-faces.
16271 (provide-theme): Ignore custom--inhibit-theme-enable.
16272 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16273 (custom-enabling-themes): Delete variable.
16274 (enable-theme): Accept only loaded themes as arguments.
16275 Ignore the special custom-enabled-themes variable.
16276 (custom-enabled-themes): Forbid themes from setting this.
16277 Eliminate use of custom-enabling-themes.
16278 (custom-push-theme): Quote "changed" custom var entry.
16279
16280 2011-03-21 Leo Liu <sdl.web@gmail.com>
16281
16282 * ido.el (ido-read-internal): Add ido-selected to history instead
16283 of user input.
16284
16285 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16286
16287 * subr.el (deferred-action-list, deferred-action-function):
16288 Mark obsolete.
16289
16290 2011-03-21 Leo Liu <sdl.web@gmail.com>
16291
16292 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16293 change on 2011-02-13 (bug#8309).
16294
16295 * minibuffer.el (read-file-name-function): Change default value.
16296 (read-file-name--defaults): Rename from read-file-name-defaults.
16297 (read-file-name-default): Rename from read-file-name.
16298 (read-file-name): Call read-file-name-function.
16299
16300 2011-03-21 Glenn Morris <rgm@gnu.org>
16301
16302 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16303 Doc fixes.
16304
16305 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16306
16307 * cus-theme.el: Add missing provide statement.
16308 (customize-create-theme): Extract theme value correctly.
16309 (custom-theme-visit-theme): Autoload.
16310 (customize-create-theme): Prompt before inserting default faces.
16311
16312 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16313
16314 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16315 units and musical notes.
16316
16317 2011-03-20 Leo Liu <sdl.web@gmail.com>
16318
16319 * ido.el (ido-read-internal): Use completing-read-default.
16320 (ido-completing-read): Fix compatibility with completing-read.
16321
16322 2011-03-20 Christian Ohler <ohler@gnu.org>
16323
16324 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16325 (ert-delete-all-tests): Use `called-interactively-p' rather than
16326 `interactive-p'.
16327 (ert--make-xrefs-region): Respect END.
16328
16329 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16330
16331 * dired-aux.el (dired-create-directory): Signal an error if the
16332 directory already exists (Bug#8246).
16333
16334 * facemenu.el (list-colors-display): Call list-faces-display
16335 inside with-help-window.
16336 (list-colors-print): Use display property to align the final
16337 column, instead of checking window-width.
16338
16339 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16340
16341 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16342 windows-nt systems.
16343 (emerge-protect-metachars): Quote correctly for ms-dos and
16344 windows-nt systems.
16345
16346 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16347
16348 * info.el (info-initialize): Replace all uses of `:' with
16349 path-separator for compatibility with non-Unix systems.
16350 Cache quoting of path-separator. (Bug#8258)
16351
16352 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16353
16354 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16355 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16356 (mouse-avoidance-mode): Fix typos in docstrings.
16357
16358 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16359
16360 * startup.el (package-subdirectory-regexp): Move from package.el.
16361 Omit \\` and \\', and let callers add them.
16362
16363 * emacs-lisp/package.el (package-strip-version)
16364 (package-load-all-descriptors): Add \\` and \\' to
16365 package-subdirectory-regexp before using it.
16366 (package-untar-buffer): New arg DIR; ensure that file untars only
16367 into this expected directory. Remove superfluous delete-region.
16368 (package-unpack): Caller changed.
16369 (package-tar-file-info): Use package-subdirectory-regexp.
16370
16371 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16372
16373 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16374 diff-mode-shared-map (bug#8284).
16375 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16376
16377 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16378
16379 * calendar/time-date.el (format-seconds): Use assoc instead of
16380 assoc-string, since assoc-string doesn't exist in XEmacs.
16381
16382 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16383
16384 * custom.el (custom-known-themes): Reflow docstring.
16385 (custom-theme-load-path): Fix typo in docstring.
16386 (load-theme): Fix typo in error message.
16387 (custom-available-themes, custom-variable-theme-value):
16388 Use `let', not `let*'.
16389
16390 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16391
16392 * calc/README: Mention inclusion of musical notes.
16393
16394 * calc/calc-units.el (calc-lu-quant): Rename from
16395 `calc-logunits-quantity'.
16396 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16397 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16398 (calc-db): Rename from `calc-dblevel'.
16399 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16400 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16401 (calc-np): Rename from `calc-nplevel'.
16402 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16403 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16404 (calc-lu-plus): Rename from `calc-logunits-add'.
16405 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16406 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16407 (calc-lu-minus): Rename from `calc-logunits-sub'.
16408 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16409 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16410 (calc-lu-times): Rename from `calc-logunits-mul'.
16411 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16412 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16413 (calc-lu-divide): Rename from `calc-logunits-div'.
16414 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16415 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16416
16417 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16418 functions being autoloaded.
16419
16420 * calc/calc.el (calc-lu-power-reference): Rename from
16421 `calc-logunits-power-reference'.
16422 (calc-lu-field-reference): Rename from
16423 `calc-logunits-field-reference'.
16424
16425 * calc/calc-help.el (calc-l-prefix-help):
16426 Mention musical note functions.
16427
16428 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16429
16430 * minibuffer.el (completion-all-sorted-completions):
16431 Use :completion-cycle-penalty text property if present.
16432
16433 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16434
16435 * allout.el (allout-yank-processing): Adjust for new rebulleting
16436 regime so bullet being yanked is used without prompting the user
16437 for a choice.
16438
16439 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16440
16441 * startup.el (command-line): Warn the user that _emacs is deprecated.
16442
16443 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16444
16445 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16446 (delphi-verbose, delphi-comment-face, delphi-string-face)
16447 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16448 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16449 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16450 (delphi-new-comment-line, delphi-font-lock-defaults)
16451 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16452 Fix typos in docstrings.
16453
16454 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16455
16456 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16457 Invert the roles of character and string values for INSTEAD, so a
16458 string is used for the more common case of a defaulting prompt.
16459
16460 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16461
16462 * progmodes/ruby-mode.el (ruby-backward-sexp):
16463 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16464 * play/gamegrid.el (gamegrid-make-face):
16465 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16466 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16467 * notifications.el (notifications-notify):
16468 * net/xesam.el (xesam-search-engines):
16469 * net/quickurl.el (quickurl-list-insert):
16470 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16471
16472 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16473
16474 * startup.el (command-line): Update package subdirectory regexp.
16475
16476 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16477
16478 * allout.el (allout-abbreviate-flattened-numbering)
16479 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16480
16481 * subr.el (read-char-choice): Only show the cursor after the prompt,
16482 not after the answer.
16483
16484 2011-03-15 Kevin Ryde <user42@zip.com.au>
16485
16486 * help-fns.el (variable-at-point): Skip leading quotes, if any
16487 (bug#8253).
16488
16489 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16490
16491 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16492 warning message.
16493
16494 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
16495
16496 * shell.el (shell): When called interactively, offer to change the
16497 shell file name on remote hosts.
16498
16499 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16500
16501 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16502 integration for LDAP parameters. The host, base, user or binddn,
16503 and secret tokens can be specified in a netrc file, for instance.
16504 This is optional because an `auth-source' parameter must be
16505 specified in the search attributes.
16506
16507 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
16508
16509 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16510
16511 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16512
16513 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16514 into declaration. Remove redundant and harmful binding.
16515
16516 2011-03-12 Eli Zaretskii <eliz@gnu.org>
16517
16518 * files.el (file-ownership-preserved-p): Pass `integer' as an
16519 explicit 2nd argument to `file-attributes'. If the file's owner
16520 is the Administrators group on Windows, and the current user is
16521 Administrator, consider that a match.
16522
16523 * server.el (server-ensure-safe-dir): Consider server directory
16524 safe on MS-Windows if its owner is the Administrators group while
16525 the current Emacs user is Administrator. Use `=' to compare
16526 numerical UIDs, since they could be integers or floats.
16527
16528 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
16529
16530 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16531
16532 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
16533
16534 Sync with Tramp 2.2.1.
16535
16536 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16537
16538 * net/trampver.el: Update release number.
16539
16540 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16541
16542 * progmodes/compile.el (compilation--previous-directory): Fix up
16543 various nil/dead-marker mismatches (bug#8014).
16544 (compilation-directory-properties, compilation-error-properties):
16545 Don't call it at a position past the one we're about to change.
16546
16547 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16548 Disable obsolescence warnings in the file that declares it.
16549
16550 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16551
16552 * allout-widgets.el (allout-widgets-tally):
16553 Initialize allout-widgets-tally as a hash table rather than nil to
16554 prevent mode-line redisplay warnings. Also, clarify the module
16555 description and fix a comment typo.
16556
16557 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
16558
16559 * help-fns.el (describe-variable): Don't complete keywords.
16560 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16561
16562 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
16563
16564 * emacs-lisp/package.el (package-version-join): Impose a standard
16565 string representation for pre/alpha/beta version lists.
16566 (package-unpack-single): Standardize the directory name by passing
16567 it through package-version-join.
16568 (package-strip-rcs-id): Accept any version string that does not
16569 signal an error in version-to-list.
16570
16571 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
16572
16573 * simple.el (delete-trailing-whitespace): Return nil for the
16574 benefit of `write-file-functions'.
16575
16576 2011-03-10 Glenn Morris <rgm@gnu.org>
16577
16578 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16579
16580 * vc/vc-git.el (vc-git-program): New option.
16581 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16582 (vc-git--call): Use it.
16583
16584 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16585
16586 * cus-edit.el (Custom-newline): If no button at point, look
16587 for a subgroup button at start-of-line. (Bug#2298)
16588
16589 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16590
16591 2011-03-10 Julien Danjou <julien@danjou.info>
16592
16593 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16594 `cursor-type' is nil.
16595
16596 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16597
16598 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16599
16600 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16601
16602 * allout.el: Change so yank of distinctive-bullet items
16603 preserves the existing header prefix, rebulleting it if necessary,
16604 rather than replacing it. This is necessary for proper operation
16605 of cooperative addons like allout-widgets.
16606 (allout-make-topic-prefix, allout-rebullet-heading):
16607 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16608 value as alternate bullet to be used, instead of prompting the user
16609 for a bullet character.
16610
16611 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16612
16613 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16614 Do not use `tramp-file-name-port', because this returns also
16615 `tramp-default-port'.
16616
16617 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16618
16619 * net/rcirc.el (rcirc-handler-001): Remove useless
16620 with-rcirc-process-buffer.
16621 (rcirc-check-auth-status): Swap arguments to string-match.
16622
16623 2011-03-09 Glenn Morris <rgm@gnu.org>
16624
16625 * shell.el (shell-mode):
16626 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16627
16628 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16629 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16630
16631 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16632
16633 * emacs-lisp/package.el (package-refresh-contents)
16634 (package-menu-execute): Use condition-case-no-debug.
16635
16636 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16637
16638 * simple.el (shell-command-to-string): Use `process-file'.
16639
16640 * emacs-lisp/package.el (package-tar-file-info): Handle also
16641 remote files.
16642
16643 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16644 Use `equal' for upload base check.
16645
16646 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16647
16648 * textmodes/texinfo.el (texinfo-environments):
16649 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16650
16651 2011-03-08 Glenn Morris <rgm@gnu.org>
16652
16653 * cus-start.el (cursor-in-non-selected-windows):
16654 Fix :set quoting oddness. (Bug#8192)
16655
16656 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16657 in some setf expressions. (Bug#2159)
16658
16659 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16660
16661 * custom.el (custom-available-themes): Return themes in
16662 alphabetical order.
16663
16664 See ChangeLog.15 for earlier changes.
16665
16666 ;; Local Variables:
16667 ;; coding: utf-8
16668 ;; End:
16669
16670 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16671
16672 This file is part of GNU Emacs.
16673
16674 GNU Emacs is free software: you can redistribute it and/or modify
16675 it under the terms of the GNU General Public License as published by
16676 the Free Software Foundation, either version 3 of the License, or
16677 (at your option) any later version.
16678
16679 GNU Emacs is distributed in the hope that it will be useful,
16680 but WITHOUT ANY WARRANTY; without even the implied warranty of
16681 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16682 GNU General Public License for more details.
16683
16684 You should have received a copy of the GNU General Public License
16685 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.